6#ifndef __PDUMODEL_CONTROLLER_IDL__
7#define __PDUMODEL_CONTROLLER_IDL__
Sub controller interface.
@ METER_CTRL
General metering controller
@ INLET_CTRL
Inlet controller
@ OUTLET_CTRL
Outlet controller
constant int ERR_NOT_SUPPORTED
Operation not supported.
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.
@ FIRMWARE_UPDATE
A controller firmware update is in progress.
@ 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.