ControllerComponentManager Class
- class ska_mid_cbf_tdc_mcs.controller.controller_component_manager.ControllerComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfComponentManagerA component manager for the CbfController device.
- is_init_sys_param_allowed() bool[source]
Check if the InitSysParam command is allowed
- Returns:
True if the InitSysParam command is allowed, False otherwise
- init_sys_param(argin: str, task_callback: Callable | None = None) tuple[ska_control_model.result_code.ResultCode, str][source]
Submit init_sys_param operation method to task executor queue.
- Parameters:
argin – the Dish ID - VCC ID mapping and k values in a json string.
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- is_on_allowed() bool[source]
Check if the On command is allowed.
- Returns:
True if the On command is allowed, else False.
- on(task_callback: Callable | None = None) tuple[ska_control_model.result_code.ResultCode, str][source]
Submit on operation method to task executor queue.
- Parameters:
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)
- is_off_allowed() bool[source]
Check if the Off command is allowed
- Returns:
True if the Off command is allowed, False otherwise
- off(task_callback: Callable | None = None) tuple[ska_control_model.result_code.ResultCode, str][source]
Submit off operation method to task executor queue.
- Parameters:
task_callback – Callback function to update task status
- Returns:
A tuple containing a return code and a string message indicating status. The message is for information purpose only.
- Return type:
(ResultCode, str)