SKA ObsDevice¶
SKAObsDevice
A generic base device for Observations for SKA. It inherits SKABaseDevice class. Any device implementing an obsMode will inherit from SKAObsDevice instead of just SKABaseDevice.
-
class
ska_tango_base.
SKAObsDevice
(*args, **kwargs)¶ A generic base device for Observations for SKA.
-
class
InitCommand
(target, state_model, logger=None)¶ A class for the SKAObsDevice’s init_device() “command”.
-
do
()¶ Stateless hook for device initialisation.
Returns: A tuple containing a return code and a string message indicating status. The message is for information purpose only. Return type: (ResultCode, str)
-
-
always_executed_hook
()¶ Method that is always executed before any device command gets executed.
Returns: None
-
configurationDelayExpected
¶ Used by autodoc_mock_imports.
-
configurationProgress
¶ Used by autodoc_mock_imports.
-
delete_device
()¶ Method to cleanup when device is stopped.
Returns: None
-
obsMode
¶ Used by autodoc_mock_imports.
-
obsState
¶ Used by autodoc_mock_imports.
-
read_configurationDelayExpected
()¶ Reads expected Configuration Delay in seconds
-
read_configurationProgress
()¶ Reads percentage configuration progress of the device
-
read_obsMode
()¶ Reads Observation Mode of the device
-
read_obsState
()¶ Reads Observation State of the device
-
class