Helper_CSP_Subarray_Leaf_Device

This module implements the Helper devices for subarray leaf nodes for testing an integrated TMC

class ska_tmc_simulators.helper_csp_subarray_leaf_device.HelperCspSubarrayLeafDevice(*args: Any, **kwargs: Any)

Bases: HelperSubarrayLeafDevice

A device exposing commands and attributes of the CSP Subarray Leaf Node devices.

init_device() None
class InitCommand(*args: Any, **kwargs: Any)

Bases: InitCommand

A class for the HelperSubarrayDevice’s init_device() “command”.

do() Tuple[ska_tango_base.commands.ResultCode, str]

Stateless hook for device initialisation.

Returns:

ResultCode and message

read_cspSubarrayObsState()

Reads the current observation state of the CSP subarray

Returns:

obs state

read_cspSubarrayAdminMode()

Reads the current observation state of the CSP subarray

Returns:

obs state

SetCspSubarrayLeafNodeObsState(argin: int) None

Trigger a ObsState change

SetCspSubarrayLeafNodeAdminMode(argin: int) None

Trigger a ObsState change

push_obs_state_event(obs_state: int) None

This Method pushes change event for subarray observation state

Args:

obs_state (ObsState): Observation state of subarray