ska_tmc_sdpmasterleafnode.commands package
Submodules
ska_tmc_sdpmasterleafnode.commands.sdp_mln_command module
SDP Master Leaf Node Base Command Class for SDP Master Leaf Node
- class ska_tmc_sdpmasterleafnode.commands.sdp_mln_command.SdpMLNCommand(*args: Any, **kwargs: Any)
Bases:
TmcLeafNodeCommand
Abstract command class for all SdpMasterLeafNode
- check_unresponsive()
Checks whether the device is unresponsive
- do(argin: Optional[Any] = None)
- Abstract Method from TmcLeafNodeCommand is
defined here but not utilized by this Class.
- Parameters:
argin (_type_, optional) – Accepts argument if required.
None. (Defaults to) –
- do_low(argin: Optional[Any] = None)
- Abstract Method from TmcLeafNodeCommand is
defined here but not utilized by this Class.
- Parameters:
argin (_type_, optional) – Accepts argument if required.
None. (Defaults to) –
- do_mid(argin: Optional[Any] = None)
- Abstract Method from TmcLeafNodeCommand is
defined here but not utilized by this Class.
- Parameters:
argin (_type_, optional) – Accepts argument if required.
None. (Defaults to) –
- init_adapter() Tuple[ska_tango_base.commands.ResultCode, str]
- init_adapter_low()
- init_adapter_mid()
- update_task_status(**kwargs)
Abstract Method from TmcLeafNodeCommand is defined here but not utilized by this Class.
ska_tmc_sdpmasterleafnode.commands.disable_command module
Disable command class for SdpMasterLeafNode.
- class ska_tmc_sdpmasterleafnode.commands.disable_command.Disable(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s Disable() command.
Disable command on SdpMasterLeafNode invokes disable command on Sdp Master device.
- disable(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Disable command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Disable command on Sdp Master.
ska_tmc_sdpmasterleafnode.commands.off_command module
Off command class for SdpMasterLeafNode.
- class ska_tmc_sdpmasterleafnode.commands.off_command.Off(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s Off() command.
Off command on SdpMasterLeafNode enables the telescope to perform further operations and observations. It Invokes Off command on Sdp Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Off command on Sdp Master.
- off(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Off command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
ska_tmc_sdpmasterleafnode.commands.on_command module
On command class for SdpMasterLeafNode.
- class ska_tmc_sdpmasterleafnode.commands.on_command.On(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s On() command.
On command on SdpmasterLeafNode enables the telescope to perform further operations and observations. It Invokes On command on Sdp Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke On command on Sdp Master.
- on(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the On command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
ska_tmc_sdpmasterleafnode.commands.standby_command module
Standby command class for SdpMaster Leaf Node
- class ska_tmc_sdpmasterleafnode.commands.standby_command.Standby(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SDP MasterLeafNode’s Standby() command.
Standby command on SDP MasterLeafNode invokes Standby command on SDP Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Standby command on Sdp Master.
- standby(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Standby command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
Module contents
Init module for SDP Master Leaf Node
- class ska_tmc_sdpmasterleafnode.commands.Disable(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s Disable() command.
Disable command on SdpMasterLeafNode invokes disable command on Sdp Master device.
- disable(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Disable command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Disable command on Sdp Master.
- class ska_tmc_sdpmasterleafnode.commands.Off(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s Off() command.
Off command on SdpMasterLeafNode enables the telescope to perform further operations and observations. It Invokes Off command on Sdp Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Off command on Sdp Master.
- off(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Off command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
- class ska_tmc_sdpmasterleafnode.commands.On(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SdpMasterLeafNode’s On() command.
On command on SdpmasterLeafNode enables the telescope to perform further operations and observations. It Invokes On command on Sdp Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke On command on Sdp Master.
- on(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the On command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None
- class ska_tmc_sdpmasterleafnode.commands.Standby(*args: Any, **kwargs: Any)
Bases:
SdpMLNCommand
A class for SDP MasterLeafNode’s Standby() command.
Standby command on SDP MasterLeafNode invokes Standby command on SDP Master device.
- do(argin: Optional[Any] = None) Tuple[ska_tango_base.commands.ResultCode, str]
Method to invoke Standby command on Sdp Master.
- standby(logger: Logger, task_callback: ska_tango_base.base.TaskCallbackType, task_abort_event: Optional[Event] = None) None
A method to invoke the Standby command. It sets the task_callback status according to command progress.
- Parameters:
logger (logging.Logger) – logger
task_callback (TaskCallbackType) – Update task state, defaults to None
task_abort_event (Event, optional) – Check for abort, defaults to None