Heritable Admin Mode Mixin
Mixin to provide a heritable admin mode for an SKA Tango device.
- class ska_tango_base.future.HeritableAdminModeMixin[source]
Bases:
CallbackSchedulerMixin,BaseInterface- ParentTRL
Device property.
Tango resource locator of parent. If not set, or an empty string, the device is considered to not have a parent and
adminModeinheritance is not possible.
- ParentConnectionTimeout
Device property.
Seconds until lack of contact from parent results in an alarm.
Create adminMode inheritor.
- parentConnectionStatus
Attribute reporting the connection status to the parent.
- adminMode: attribute_from_signal
Overridden admin mode attribute with additional INHERIT set point.
- write_adminMode(setpoint: AdminMode | InheritType) None[source]
Set the Admin Mode of the device.
- Parameters:
setpoint – The value to set it to
- Raises:
tango.DevFailed – When trying to set INHERIT with no ParentTRL