6#ifndef __PDUMODEL_CONTROLLER_IDL__
7#define __PDUMODEL_CONTROLLER_IDL__
27 constant
int ERR_NOT_SUPPORTED = 1;
Sub controller interface.
@ INLET_CTRL
Inlet controller
@ OUTLET_CTRL
Outlet controller
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.
@ COMMUNICATION_FAILURE
Controller can't be communicated with.
@ INCOMPATIBLE
The characteristics of the controller don't meet the expectations.
@ OK
Communication with controller is known to be working.
@ COMMUNICATION_UNSTABLE
Controller can be communicated with sporadically.
@ UNKNOWN
Communication status is unknown, e.g. after startup.
Common base for all events.
Event: Controller communication status has changed.
Status oldStatus
Status before change.
Status newStatus
Status after change.
Sub controller statistics.
int resetCnt
Controller reset counter.
int subCSumErrCnt
Sub controller CRC error counter.
int timeoutCnt
Main controller timeout counter.
int mainCSumErrCnt
Main controller CRC error counter.
int emResetCnt
Energy meter reset counter.