Station Health Rules
A file to store health transition rules for station.
- class SpsStationHealthRules(*args, **kwargs)
A class to handle transition rules for station.
- property default_thresholds: dict[str, float]
Get the default thresholds for this device.
- Returns:
the default thresholds
- degraded_rule(subrack_healths, tile_healths)
Test whether DEGRADED is valid for the station.
- failed_rule(subrack_healths, tile_healths)
Test whether FAILED is valid for the station.
- healthy_rule(subrack_healths, tile_healths)
Test whether OK is valid for the station.
- unknown_rule(subrack_healths, tile_healths)
Test whether UNKNOWN is valid for the station.