Controller Interface
Interfaces for SKA controller devices.
- class ControllerInterface[source]
Provides the Tango interface for an SKA controller devices.
- _max_capabilities
Signal for the maximum capabilities of the device.
Write to this signal to signal a change in the maximum capabilities of the device.
- maxCapabilities
The maximum capabilities of the device.
This should be set by subclasses of this interface by writing to
_max_capabilities.
- read_maxCapabilities() list[str] | tuple[list[str], float, AttrQuality][source]
Read the max capabilities of the device.
Subclasses can override this to change the behaviour of the
maxCapabilitiesattribute.
- _available_capabilities
Signal for the maximum capabilities of the device.
Write to this signal to signal a change in the maximum capabilities of the device.
- availableCapabilities
The maximum capabilities of the device.
This should be set by subclasses of this interface by writing to
_max_capabilities.
- read_availableCapabilities() list[str] | tuple[list[str], float, AttrQuality][source]
Read the max capabilities of the device.
Subclasses can override this to change the behaviour of the
availableCapabilitiesattribute.
Initialise the device.
- IsCapabilityAchievable(argin: tuple[list[int], list[str]]) bool
Check if provided capabilities can be achieved by the resource(s).
Subclasses should override
execute_IsCapabilityAchievable()to change the behaviour of this command.- Parameters:
argin –
An array consisting pair of
[nrInstances]: DevLong. Number of instances of the capability.
[Capability types]: DevString. Type of capability.
- Returns:
True or False