Central Node¶
Central Node is a coordinator of the complete M&C system. Central Node implements the standard set of state and mode attributes defined by the SKA Control Model.
-
class
tmcprototype.centralnode.src.centralnode.central_node.
CentralNode
(*args, **kwargs)¶ Central Node is a coordinator of the complete M&C system.
-
AssignResources
(argin)¶ AssignResources command invokes the AssignResources command on lower level devices.
-
CentralAlarmHandler
¶ Used by autodoc_mock_imports.
-
CspMasterLeafNodeFQDN
¶ Used by autodoc_mock_imports.
-
DishLeafNodePrefix
¶ Used by autodoc_mock_imports.
-
class
InitCommand
(*args, **kwargs)¶ A class for the TMC CentralNode’s init_device() method.
-
do
()¶ Initializes the attributes and properties of the Central Node.
Returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. Return type: (ReturnCode, str) Raises: DevFailed if error occurs while initializing the CentralNode device or if error occurs while creating device proxy for any of the devices like SubarrayNode, DishLeafNode, CSPMasterLeafNode or SDPMasterLeafNode.
-
-
NumDishes
¶ Used by autodoc_mock_imports.
-
ReleaseResources
(argin)¶ Release all the resources assigned to the given Subarray.
-
SdpMasterLeafNodeFQDN
¶ Used by autodoc_mock_imports.
-
StandByTelescope
()¶ This command invokes SetStandbyLPMode() command on DishLeafNode, StandBy() command on CspMasterLeafNode and SdpMasterLeafNode and Off() command on SubarrayNode and sets CentralNode into OFF state.
-
StartUpTelescope
()¶ This command invokes SetOperateMode() command on DishLeadNode, On() command on CspMasterLeafNode, SdpMasterLeafNode and SubarrayNode and sets the Central Node into ON state.
-
StowAntennas
(argin)¶ This command stows the specified receptors.
-
TMAlarmHandler
¶ Used by autodoc_mock_imports.
-
TMMidSubarrayNodes
¶ Used by autodoc_mock_imports.
-
activityMessage
¶ Used by autodoc_mock_imports.
-
always_executed_hook
()¶ Internal construct of TANGO.
-
delete_device
()¶ Internal construct of TANGO.
-
init_command_objects
()¶ Initialises the command handlers for commands supported by this device.
-
is_AssignResources_allowed
()¶ Checks whether this command is allowed to be run in current device state.
Returns: True if this command is allowed to be run in current device state Return type: boolean Raises: DevFailed if this command is not allowed to be run in current device state
-
is_ReleaseResources_allowed
()¶ Checks whether this command is allowed to be run in current device state.
Returns: True if this command is allowed to be run in current device state. Return type: boolean Raises: DevFailed if this command is not allowed to be run in current device state
-
is_StandByTelescope_allowed
()¶ Checks whether this command is allowed to be run in current device state.
Returns: True if this command is allowed to be run in current device state. Return type: boolean Raises: DevFailed if this command is not allowed to be run in current device state.
-
is_StartUpTelescope_allowed
()¶ Checks whether this command is allowed to be run in current device state.
Returns: True if this command is allowed to be run in current device state. Return type: boolean Raises: DevFailed if this command is not allowed to be run in current device state.
-
is_StowAntennas_allowed
()¶ Checks whether this command is allowed to be run in current device state.
Returns: True if this command is allowed to be run in current device state. Return type: boolean Raises: DevFailed if this command is not allowed to be run in current device state.
-
read_activityMessage
()¶ Internal construct of TANGO. Returns activity message.
-
read_subarray1HealthState
()¶ Internal construct of TANGO. Returns Subarray1 health state.
-
read_subarray2HealthState
()¶ Internal construct of TANGO. Returns Subarray2 health state.
-
read_subarray3HealthState
()¶ Internal construct of TANGO. Returns Subarray3 health state.
-
read_telescopeHealthState
()¶ Internal construct of TANGO. Returns the Telescope health state.
-
subarray1HealthState
¶ Used by autodoc_mock_imports.
-
subarray2HealthState
¶ Used by autodoc_mock_imports.
-
subarray3HealthState
¶ Used by autodoc_mock_imports.
-
telescopeHealthState
¶ Used by autodoc_mock_imports.
-
write_activityMessage
(value)¶ Internal construct of TANGO. Sets the activity message.
-
-
tmcprototype.centralnode.src.centralnode.central_node.
main
(args=None, **kwargs)¶ Runs the CentralNode. :param args: Arguments internal to TANGO
Parameters: kwargs – Arguments internal to TANGO Returns: CentralNode TANGO object.
-
tmcprototype.centralnode.src.centralnode.central_node.
AssignResources
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
DeviceData
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
ObsStateAggregator
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
ReleaseResources
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
StandByTelescope
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
StartUpTelescope
¶ Used by autodoc_mock_imports.
-
tmcprototype.centralnode.src.centralnode.central_node.
StowAntennas
¶ Used by autodoc_mock_imports.