MeterStatus

The state of a power meter handler. Allows signaling various kinds of low and high level issues.

Entries

Link copied to clipboard

The meter has not been initialized yet (invoke init() to initialize).

Link copied to clipboard

The meter has been initialized successfully (invoke start() to start).

Link copied to clipboard

The meter has been initialized, is active, and currently online.

Link copied to clipboard

The meter has been initialized, is active, and currently offline.

Link copied to clipboard

The meter has started shutting down.

Link copied to clipboard

The shutdown routine has been executed successfully.

Link copied to clipboard

The meter / handler has failed.

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val stopped: Boolean = false

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.