Controller Device
This module contains the ska_sat_lmc Controller device prototype.
- class SatController(*args, **kwargs)
An implementation of a controller Tango device for SatLMC.
- class InitCommand(*args, **kwargs)
A class for
SatController
’s Init command.The
do()
method below is called duringSatController
’s initialisation.- do(*args, **kwargs)
Initialise the attributes and properties.
- Parameters:
- Return type:
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- create_component_manager()
Create and return a component manager for this device.
- Return type:
- Returns:
a component manager for this device.
- health_changed(health)
Call this method whenever the HealthModel’s health state changes.
Responsible for updating the tango side of things i.e. making sure the attribute is up to date, and events are pushed.
- Parameters:
health (
HealthState
) – the new health value- Return type: