Power State

class ska_control_model.PowerState(value)

Enumerated type for power state.

Used by components that rely upon a power supply, such as hardware.

NO_SUPPLY = 1

The component is unsupplied with power and cannot be commanded on.

For example, the power mode of a TPM will be NO_SUPPLY if the subrack that powers the TPM is turned off: not only is the TPM off, but it cannot even be turned on (until the subrack has been turned on).

OFF = 2

The component is turned off but can be commanded on.

ON = 4

The component is powered on and running in fully-operational mode.

STANDBY = 3

The component is powered on and running in low-power standby mode.

UNKNOWN = 0

The power mode is not known.

__new__(value)