ControllerComponentManager Class
- class ska_mid_cbf_mcs.controller.controller_component_manager.ControllerComponentManager(*args: Any, **kwargs: Any)[source]
Bases:
CbfComponentManagerA component manager for the CbfController device.
- start_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any) None[source]
Thread for start_communicating operation.
- stop_communicating(*args: Any, admin_mode: AdminMode, **kwargs: Any) None[source]
Thread for stop_communicating operation.
- init_sys_param(sys_params: str, task_callback: Callable | None = None, task_abort_event: Event | None = None) None[source]
Validate and save the Dish ID - VCC ID mapping and k values.
- Parameters:
sys_params – the Dish ID - VCC ID mapping and k values in a json string.
task_callback – Callback function to update task status
task_abort_event – Event to signal task abort.
- set_resource_admin_mode(admin_mode_params: str, task_callback: Callable | None = None, task_abort_event: Event | None = None) None[source]
Validate and save the resource id and admin mode.
- Parameters:
admin_mode_params – the resource id and admin mode in a json string.
task_callback – Callback function to update task status
task_abort_event – Event to signal task abort.
- on(task_callback: Callable | None = None, task_abort_event: Event | None = None) None[source]
Turn on the controller and its subordinate devices. This command will succeed and set controller operational state to ON if at least 1 LRU is successfully powered ON.
- Parameters:
task_callback – Callback function to update task status.
task_abort_event – Event to signal task abort.
- off(task_callback: Callable | None = None, task_abort_event: Event | None = None) None[source]
Turn off the controller and its subordinate devices. This command will succeed and set controller operational state to OFF only if the entire subordinate system is returned to OFF state.
- Parameters:
task_callback – Callback function to update task status
task_abort_event – Event to signal task abort.