ska_tmc_mccssubarrayleafnode package

Subpackages

Submodules

ska_tmc_mccssubarrayleafnode.mccs_subarray_leaf_node module

MCCSSubarrayLeafnode acts as a contact point for the MCCS Subarray Node and also monitors and issues commands to the MCCS Subarray.

class ska_tmc_mccssubarrayleafnode.mccs_subarray_leaf_node.MccsSubarrayLeafNode(*args: Any, **kwargs: Any)

Bases: SKABaseDevice

MCCS Subarray Leaf node acts as a contact point for MCCS Subarray Node and also to monitor and issue commands to the MCCS Subarray.

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

Bases: InitCommand

A class for the TMC MccsSubarrayLeafNode’s init_device() method.

do(*args, **kwargs)

Initializes the attributes and properties of the MccsSubarrayLeafNode.

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

rtype:

(ResultCode, str)

always_executed_hook()
create_component_manager()

Returns Mccs Subarray Leaf Node component manager object

delete_device()
read_isSubsystemAvailable()

Returns the TMC Mccs SubarrayLeafNode isSubsystemAvailable attribute.

read_mccsSubarrayDevName()

Returns the mccssubarraydevname attribute.

read_obsState()

Read method for obsState

update_availablity_callback(availablity)

Change event callback for isSubsystemAvailable

update_mccs_subarray_obs_state_callback(obs_state: ska_tango_base.control_model.ObsState) None

Change event callback for obsState

write_mccsSubarrayDevName(value)

Sets the mccssubarraydevname attribute.

ska_tmc_mccssubarrayleafnode.mccs_subarray_leaf_node.main(args=None, **kwargs)

Runs the MccsSubarrayLeafNode. :param args: Arguments internal to TANGO

Parameters:

kwargs – Arguments internal to TANGO

Returns:

MccsSubarrayLeafNode TANGO object.

Module contents

Init module of MccsSubarrayLeafNode.

class ska_tmc_mccssubarrayleafnode.MccsSubarrayLeafNode(*args: Any, **kwargs: Any)

Bases: SKABaseDevice

MCCS Subarray Leaf node acts as a contact point for MCCS Subarray Node and also to monitor and issue commands to the MCCS Subarray.

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

Bases: InitCommand

A class for the TMC MccsSubarrayLeafNode’s init_device() method.

do(*args, **kwargs)

Initializes the attributes and properties of the MccsSubarrayLeafNode.

Returns:

A tuple containing a return code and a string message indicating status. The message is for information purpose only.

rtype:

(ResultCode, str)

always_executed_hook()
create_component_manager()

Returns Mccs Subarray Leaf Node component manager object

delete_device()
read_isSubsystemAvailable()

Returns the TMC Mccs SubarrayLeafNode isSubsystemAvailable attribute.

read_mccsSubarrayDevName()

Returns the mccssubarraydevname attribute.

read_obsState()

Read method for obsState

update_availablity_callback(availablity)

Change event callback for isSubsystemAvailable

update_mccs_subarray_obs_state_callback(obs_state: ska_tango_base.control_model.ObsState) None

Change event callback for obsState

write_mccsSubarrayDevName(value)

Sets the mccssubarraydevname attribute.