ska_tmc_cspmasterleafnode package
Submodules
ska_tmc_cspmasterleafnode._csp_master_leaf_node module
CSP Master Leaf node acts as a CSP contact point for Master Node and also to monitor and issue commands to the CSP Master.
- class ska_tmc_cspmasterleafnode.csp_master_leaf_node.CspMasterLeafNode(*args: Any, **kwargs: Any)
Bases:
ska_tango_base.ska_tango_base.SKABaseDevice._name
CSP Master Leaf node acts as a CSP contact point for Master Node and also to monitor and issue commands to the CSP Master.
- class InitCommand(*args: Any, **kwargs: Any)
Bases:
ska_tango_base.SKABaseDevice.ska_tango_base.SKABaseDevice.InitCommand._name
A class for the TMC CspMasterLeafNode’s init_device() method.
- do()
Initializes the attributes and properties of the CspMasterLeafNode.
- Returns
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- rtype:
(ResultCode, str)
- Off()
This command invokes Off() command on Csp Master.
- always_executed_hook()
- create_component_manager()
- cspMasterDevName
- delete_device()
- init_command_objects()
Initialises the command handlers for commands supported by this device.
- is_Off_allowed()
Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean
- is_On_allowed()
Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean
- is_Standby_allowed()
Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean
- read_commandExecuted()
Return the commandExecuted attribute.
- ska_tmc_cspmasterleafnode.csp_master_leaf_node.main(args=None, **kwargs)
Runs the CspMasterLeafNodeMid. :param args: Arguments internal to TANGO
- Parameters
kwargs – Arguments internal to TANGO
- Returns
CspMasterLeafNodeMid TANGO object.
Module contents
CspMasterLeafNode