Future Module
This module defines new classes which will eventually replace deprecated classes.
- class ska_control_model.future.AdminMode(value)
Python enumerated type for device admin mode.
An admin mode represents user intent as to how the component under control will be used.
- ENGINEERING = 1
Used by the Telescope Operations team to indicate that a subarray or device is reserved for engineering activities. In this context, the term “engineering activities” is used in a very broad sense - it may include commissioning, testing, and maintenance. The intention is to indicate that the subarray/device should not be used for scientific observations. A device may reject commands when in
ENGINEERINGmode and may follow different health aggregation rules, but otherwise its behaviour should be unchanged.
- ONLINE = 0
Used by the Telescope Operations team to indicate that a subarray or device is ready to be used for scientific observations or other core purposes.
- class ska_control_model.future.ControlMode(value)
Python enumerated type for control mode.
Most use cases related to controlMode come from the low-level components that monitor and control hardware devices. However, where needed, controlMode can be implemented at the higher levels of the control system (including the subarray).
- MONITOR_AND_CONTROL = 2
When set in this mode, the Tango device shall perform its monitoring and controlling functions, i.e. shall monitor and control the underlying component/device(s).
- MONITOR_NO_CONTROL = 1
When set in this mode, the Tango device shall perform its monitoring functions, and shall not perform its control functionality, i.e. shall not accept requests to change device configuration and execute commands on the device.
- NO_MONITOR_NO_CONTROL = 0
When set in this mode, the Tango device does not perform its monitor and control functions, i.e. shall not monitor and control the underlying component/device(s).