Component Manager Configurator
- class ska_csp_lmc_common.manager.manager_configuration.ComponentManagerConfiguration(dev_name: str, logger: Logger | None = None)
Bases:
object
Class to store the device properties of the controlling TANGO Device to pass to the ComponentManager.
- __init__(dev_name: str, logger: Logger | None = None) None
Initialize the class with the name of the device. The device name is needed to retrieve the device properties from the TANGO DB.
- Parameters:
dev_name – the device name for which the device properties list is retrieved from the TANGO DB
logger – a logger for this instance
- get_device_properties() Dict[str, str]
Retrieve the list of the Tango properties of the device registered within the TANGO DB.
Format the information as a dictionary where each entry is the property name and the value is the property value (as a string).
- Returns:
A dictionary with the property name and the associated value.
- add_attributes() None
Add the device properties as attribute of the class.