<descriptiondescription="CSP.LMC Common Class for the CSPMaster TANGO Device."title="CSP.LMC Common CspMaster"sourcePath="/home/softir/src/ska-git/csp-lmc/csp-lmc-common/pogo"language="PythonHL"filestogenerate="XMI file,Code files,Protected Regions"license="GPL"copyright="INAF - SKA Telescope"hasMandatoryProperty="false"hasConcreteProperty="true"hasAbstractCommand="false"hasAbstractAttribute="false">
<devicePropertiesname="SkaLevel"description="Indication of importance of the device in the SKA hierarchy 
to support drill-down navigation: 1..6, with 1 highest.
Default is 4, making provision for 
EltMaster, EltAlarms, EltTelState = 1
SubEltMaster = 2
Subarray, Capability = 2/3
Others = 4 (or 5 or 6)">
<devicePropertiesname="GroupDefinitions"description="Each string in the list is a JSON serialised dict defining the ``group_name``,
``devices`` and ``subgroups`` in the group. A TANGO Group object is created
for each item in the list, according to the hierarchy defined. This provides
easy access to the managed devices in bulk, or individually.

The general format of the list is as follows, with optional ``devices`` and
``subgroups`` keys:
 [ {``group_name``: ``<name>``,
 ``devices``: [``<dev name>``, ...]},
 {``group_name``: ``<name>``,
 ``devices``: [``<dev name>``, ``<dev name>``, ...],
 ``subgroups`` : [{<nested group>},
 {<nested group>}, ...]},
 ...
 ]

For example, a hierarchy of racks, servers and switches:
 [ {``group_name``: ``servers``,
 ``devices``: [``elt/server/1``, ``elt/server/2``,
 ``elt/server/3``, ``elt/server/4``]},
 {``group_name``: ``switches``,
 ``devices``: [``elt/switch/A``, ``elt/switch/B``]},
 {``group_name``: ``pdus``,
 ``devices``: [``elt/pdu/rackA``, ``elt/pdu/rackB``]},
 {``group_name``: ``racks``,
 ``subgroups``: [
 {``group_name``: ``rackA``,
 ``devices``: [``elt/server/1``, ``elt/server/2``,
 ``elt/switch/A``, ``elt/pdu/rackA``]},
 {``group_name``: ``rackB``,
 ``devices``: [``elt/server/3``, ``elt/server/4``,
 ``elt/switch/B``, ``elt/pdu/rackB``],
 ``subgroups``: []}
 ]} ]">
<devicePropertiesname="LoggingTargetsDefault"description="Default logging targets at device startup.
Each item has the format: target_type::target_name.
To log to stdout, use 'console::cout'.
To log to syslog, use 'syslog::<address>',
 where <address> is a file path,
 for example 'syslog::/var/run/rsyslog/dev/log'.
To log to a file, use 'file::<path>',
 where <path> is a file path,
 for example 'file::/tmp/my_dev.log'.">
<commandsname="State"description="This command gets the device state (stored in its device_state data member) and returns it to the caller."execMethod="dev_state"displayLevel="OPERATOR"polledPeriod="0">
<propertiesdescription="Alarm message when the Standby command fails with error(s)."label="Standby execution alarm message"unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>
<propertiesdescription="Current logging level for this device - initialises to LoggingLevelDefault on startup"label=""unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>
<propertiesdescription="Maximum number of instances of each capability type, e.g. 'CORRELATOR:512', 'PSS-BEAMS:4'."label=""unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>
<propertiesdescription="A list of available number of instances of each capability type, e.g. `CORRELATOR:512`, `PSS-BEAMS:4`."label=""unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>
<propertiesdescription="List of devices that completed the task"label="List of devices that completed the task"unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>
<propertiesdescription="Current logging targets for this device - 
initialises to LoggingTargetsDefault on startup"label=""unit=""standardUnit=""displayUnit=""format=""maxValue=""minValue=""maxAlarm=""minAlarm=""maxWarning=""minWarning=""deltaTime=""deltaValue=""/>