ControllerComponentManager Class

class ska_mid_cbf_mcs.controller.controller_component_manager.ControllerComponentManager(*args: Any, **kwargs: Any)[source]

Bases: CbfComponentManager

A component manager for the CbfController device.

start_communicating() None[source]

Establish communication with the component, then start monitoring.

stop_communicating() None[source]

Stop communication with the component

on() Tuple[ResultCode, str][source]

Turn on the controller and its subordinate devices

Returns:

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

Return type:

(ResultCode, str)

off() Tuple[ResultCode, str][source]

Turn off the controller and its subordinate devices

Returns:

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

Return type:

(ResultCode, str)

standby() Tuple[ResultCode, str][source]

Turn the controller into low power standby mode

Returns:

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

Return type:

(ResultCode, str)

init_sys_param(params: str) Tuple[ResultCode, str][source]

Validate and save the Dish ID - VCC ID mapping and k values.

Parameters:

argin – the Dish ID - VCC ID mapping and k values in a json string.

Returns:

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

Return type:

(ResultCode, str)