ska_tmc_cspsubarrayleafnode package
Subpackages
- ska_tmc_cspsubarrayleafnode.commands package
- Submodules
- ska_tmc_cspsubarrayleafnode.commands.abstract_command module
- ska_tmc_cspsubarrayleafnode.commands.on_command module
- ska_tmc_cspsubarrayleafnode.commands.off_command module
- ska_tmc_cspsubarrayleafnode.commands.assign_resources_command module
- ska_tmc_cspsubarrayleafnode.commands.release_all_resources_command module
- Module contents
- ska_tmc_cspsubarrayleafnode.manager package
Submodules
ska_tmc_cspsubarrayleafnode._csp_subarray_leaf_node module
CSP Subarray Leaf node monitors the CSP Subarray and issues control actions during an observation. It also acts as a CSP contact point for Subarray Node for observation execution for TMC.
- class ska_tmc_cspsubarrayleafnode.csp_subarray_leaf_node.CspSubarrayLeafNode(*args: Any, **kwargs: Any)
Bases:
ska_tango_base.ska_tango_base.SKABaseDevice._name
CSP Subarray Leaf node monitors the CSP Subarray and issues control actions during an observation.
- Device Properties
- CspSubarrayFQDN:
Property to provide FQDN of CSP Subarray Device
- Device Attributes
- commandExecuted:
Stores command executed on the device.
- lastDeviceInfoChanged:
Json String representing the last device changed in the internal model.
- cspSubarrayDevName:
Stores CSP Subarray Device name.
- class InitCommand(*args: Any, **kwargs: Any)
Bases:
ska_tango_base.SKABaseDevice.ska_tango_base.SKABaseDevice.InitCommand._name
A class for the TMC CspSubarrayLeafNode’s init_device() method.
- do()
Initializes the attributes and properties of the CspSubarrayLeafNode :return: A tuple containing a return code and a string message indicating status. The message is for information purpose only. :rtype: (ReturnCode, str)
- Off()
This command invokes Off() command on Csp Subarray.
- always_executed_hook()
- create_component_manager()
- delete_device()
- init_command_objects()
Initialises the command handlers for commands supported by this device.
- is_Abort_allowed()
Checks whether Abort command is allowed to be run in current device state
- Returns
True if Abort command is allowed to be run in current device state
- rtype:
boolean
- Raises
DevFailed if this command is not allowed to be run in current –
device state –
- is_AssignResources_allowed()
Checks whether AssignResources command is allowed to be run in current device state. :return: True if AssignResources command is allowed to be run in current device state :rtype: boolean
- is_Configure_allowed()
Checks whether Configure command is allowed to be run in current device state
- Returns
True if Configure command is allowed to be run in current device state
- rtype:
boolean
- is_EndScan_allowed()
Checks whether EndScan command is allowed to be run in current device state. return: True if EndScan command is allowed to be run in current device state. rtype: boolean
- is_End_allowed()
Checks whether End command is allowed to be run in current device state.
- Returns
True if End command is allowed to be run in current device state.
- rtype:
boolean
- is_ObsReset_allowed()
Checks whether ObsReset command is allowed to be run in current device state
- Returns
True if ObsReset command is allowed to be run in current device state
- rtype:
boolean
- is_Off_allowed()
Checks whether Off command is allowed to be run in current device state. :return: True if Off command is allowed to be run in current device state. :rtype: boolean
- is_On_allowed()
Checks whether On command is allowed to be run in current device state. :return: True if On command is allowed to be run in current device state. :rtype: boolean
- is_ReleaseAllResources_allowed()
Checks whether ReleaseResources command is allowed to be run in current device state. :return: True if ReleaseResources command is allowed to be run in current device state. :rtype: boolean
- is_Restart_allowed()
Checks whether Restart command is allowed to be run in current device state
- Returns
True if Restart command is allowed to be run in current device state
- rtype:
boolean
- Raises
DevFailed if this command is not allowed to be run in current –
device state –
- is_Scan_allowed()
Checks whether Scan command is allowed to be run in current device state.
- Returns
True if Scan command is allowed to be run in current device state.
- rtype:
boolean
- read_commandExecuted()
Return the commandExecuted attribute.
- read_cspSubarrayDevName()
Returns the CspSubarrayDevName attribute value.
- read_lastDeviceInfoChanged()
Read method for Last Device info Changed
- update_device_callback(devInfo)
Updates the device callback
- write_cspSubarrayDevName(value)
Set the cspsubarraydevname attribute.
- ska_tmc_cspsubarrayleafnode.csp_subarray_leaf_node.main(args=None, **kwargs)
Runs the CspSubarrayLeafNode Tango device. :param args: Arguments internal to TANGO
- Parameters
kwargs – Arguments internal to TANGO
- Returns
integer. Exit code of the run method.
Module contents
CspSubarrayLeafNode