Antenna Health Model
An implementation of a health model for an antenna.
- class AntennaHealthModel(component_state_callback, thresholds=None)
A health model for an antenna.
- __init__(component_state_callback, thresholds=None)
Initialise a new instance.
- evaluate_health()
Compute overall health of the station.
The overall health is based on the fault and communication status of the station overall, together with the health of the FieldStation, antennas and tiles that it manages.
This implementation simply sets the health of the station to the health of its least healthy component.
- Return type:
- Returns:
an overall health of the station
- fieldstation_health_changed(fieldstation_health)
Handle a change in FieldStation health.
- Parameters:
fieldstation_health (
Optional
[HealthState
]) – the health state of the FieldStation- Return type:
- tile_adc_rms_changed(tile_adc_rms)
Handle a change in tile adc reading.
- tile_health_changed(tile_health)
Handle a change in tile health.
- Parameters:
tile_health (
Optional
[HealthState
]) – the health state of the tile- Return type: