ska_tmc_mccsmasterleafnode package

Subpackages

Submodules

ska_tmc_mccsmasterleafnode._mccs_master_leaf_node module

This module uses the SKA Control Model for health state definitions and SKA Tango Base for the base device class.

class ska_tmc_mccsmasterleafnode.mccs_master_leaf_node.MccsMasterLeafNode(*args: Any, **kwargs: Any)

Bases: SKABaseDevice

MccsMasterLeafNode class acts as a MCCS contact point for Master Node and also to monitor and issue commands to the MCCS Master.

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

Bases: InitCommand

A class for MCCSMasterLeafNode’s init_device() method.

do()

Initializes the attributes and properties of the MccsMasterLeafNode.

Returns:

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

rtype:

(ResultCode, str)

Off() Tuple[List[ska_tango_base.commands.ResultCode], List[str]]

This command invokes Off() command on MCCS Controller.

On() Tuple[List[ska_tango_base.commands.ResultCode], List[str]]

This command invokes On() command on MCCS Controller.

Standby() Tuple[List[ska_tango_base.commands.ResultCode], List[str]]

This command invokes Standby() command on MCCS Controller.

always_executed_hook()
create_component_manager()

Returns Mccs Master Leaf Node component manager object

delete_device()
init_command_objects()

Initialises the command handlers for commands supported by this device.

is_Off_allowed()

Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean

is_On_allowed()

Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean

is_Standby_allowed()

Checks whether this command is allowed to be run in current device state. :return: True if this command is allowed to be run in current device state. :rtype: boolean

read_isSubsystemAvailable()

Returns the MccsMasterLeafNode isSubsystemAvailable attribute.

read_mccsMasterDevName()

Returns the mccsmasterdevname attribute.

update_availablity_callback(availablity)

Change event callback for isSubsystemAvailable

write_mccsMasterDevName(value)

Sets the mccsmasterdevname attribute.

ska_tmc_mccsmasterleafnode.mccs_master_leaf_node.main(args=None, **kwargs)

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

Parameters:

kwargs – Arguments internal to TANGO

Returns:

MccsMasterLeafNode TANGO object.

Module contents

MccsMasterLeafNode