6 #ifndef __PDUMODEL_CONTROLLER_IDL__
7 #define __PDUMODEL_CONTROLLER_IDL__
27 constant
int ERR_NOT_SUPPORTED = 1;
Sub controller interface.
Definition: Controller.idl:26
Type
Sub controller type.
Definition: Controller.idl:40
@ INLET_CTRL
Inlet controller
Definition: Controller.idl:42
@ OUTLET_CTRL
Outlet controller
Definition: Controller.idl:41
CtrlStatistic getStatistics()
Retrieve statistics.
MetaData getMetaData()
Retrieve the sub controller metadata.
int reset()
Reset this sub controller.
Status getCommunicationStatus()
Retrieve the current status of communication with controller.
Status
Communication status.
Definition: Controller.idl:30
@ COMMUNICATION_FAILURE
Controller can't be communicated with.
Definition: Controller.idl:33
@ INCOMPATIBLE
The characteristics of the controller don't meet the expectations.
Definition: Controller.idl:35
@ OK
Communication with controller is known to be working.
Definition: Controller.idl:31
@ COMMUNICATION_UNSTABLE
Controller can be communicated with sporadically.
Definition: Controller.idl:32
@ UNKNOWN
Communication status is unknown, e.g. after startup.
Definition: Controller.idl:34
Basic IDL definitions.
Definition: Event.idl:10
PDU Model.
Definition: Ade.idl:12
Common base for all events.
Definition: Event.idl:13
Event: Controller communication status has changed.
Definition: Controller.idl:61
Status oldStatus
Status before change.
Definition: Controller.idl:62
Status newStatus
Status after change.
Definition: Controller.idl:63
Sub controller statistics.
Definition: Controller.idl:17
int resetCnt
Controller reset counter.
Definition: Controller.idl:21
int subCSumErrCnt
Sub controller CRC error counter.
Definition: Controller.idl:19
int timeoutCnt
Main controller timeout counter.
Definition: Controller.idl:20
int mainCSumErrCnt
Main controller CRC error counter.
Definition: Controller.idl:18
int emResetCnt
Energy meter reset counter.
Definition: Controller.idl:22