6 #ifndef __PDUMODEL_OUTLET_IDL__     7 #define __PDUMODEL_OUTLET_IDL__     9 #include <Nameplate.idl>    10 #include <NumericSensor.idl>    11 #include <StateSensor.idl>    14 #include <OverCurrentProtector.idl>    15 #include <Controller.idl>    31         constant 
int ERR_OUTLET_NOT_SWITCHABLE = 1; 
    32         constant 
int ERR_LOAD_SHEDDING_ACTIVE  = 2; 
    33         constant 
int ERR_OUTLET_DISABLED       = 3; 
    34         constant 
int ERR_OUTLET_NOT_OFF        = 4; 
    36         constant 
int ERR_INVALID_PARAM         = 1; 
   117         valueobject PowerControlEvent extends 
event.UserEvent {
   123         valueobject StateChangedEvent extends 
idl.Event {
   129         valueobject SettingsChangedEvent extends 
event.UserEvent {
   130             Settings oldSettings;               
   139         MetaData getMetaData();
   146         Sensors getSensors();
   164         int setPowerState(in PowerState pstate);
   173         int cyclePowerState();
   180         Settings getSettings();
   190         int setSettings(in Settings settings);
 StartupState startupState
Power state on device startup. 
Definition: Outlet.idl:89
State newState
State after change. 
Definition: Outlet.idl:125
sensors::NumericSensor_4_0_3 powerFactor
Power factor sensor. 
Definition: Outlet.idl:106
boolean nonCritical
true if outlet is non-critical (for load shedding) 
Definition: Outlet.idl:92
PowerState powerState
Current power state of outlet (represented by the control state of the relay, which was set by the la...
Definition: Outlet.idl:65
Outlet sensors 
Definition: Outlet.idl:97
Overcurrent protector interface. 
Definition: OverCurrentProtector.idl:26
sensors::StateSensor_4_0_3 outletState
Outlet power state sensor 
Definition: Outlet.idl:113
boolean switchOnInProgress
true if the outlet is pending to be switched on after the sequencing delay has passed. 
Definition: Outlet.idl:68
Inlet interface 
Definition: Inlet.idl:22
sensors::NumericSensor_4_0_3 voltage
RMS voltage sensor. 
Definition: Outlet.idl:98
sensors::NumericSensor_4_0_3 activeEnergy
Active energy sensor. 
Definition: Outlet.idl:108
boolean green
true if the green LED is enabled 
Definition: Outlet.idl:58
int relayFailCnt
Relay failure count. 
Definition: Outlet.idl:25
Common base interface for any kind of electrical device that is used in the PDU model, such as inlets, OCPs and outlets. 
Definition: EDevice.idl:24
sensors::NumericSensor_4_0_3 reactivePower
Reactive power sensor. 
Definition: Outlet.idl:104
boolean red
true if the red LED is enabled 
Definition: Outlet.idl:57
Outlet will be switched on 
Definition: Outlet.idl:80
Settings newSettings
Settings after change. 
Definition: Outlet.idl:131
Outlet will be switched off 
Definition: Outlet.idl:81
boolean blinking
true if the LED is blinking 
Definition: Outlet.idl:59
sensors::NumericSensor_4_0_3 crestFactor
Crest factor sensor. 
Definition: Outlet.idl:112
boolean cycleInProgress
if a power-cycle is in progress. 
Definition: Outlet.idl:70
boolean available
powerState is available 
Definition: Outlet.idl:64
Outlet state 
Definition: Outlet.idl:63
sensors::NumericSensor_4_0_3 apparentEnergy
Apparent energy sensor. 
Definition: Outlet.idl:109
Switch off / Power is off. 
Definition: Outlet.idl:51
LedState ledState
LED state. 
Definition: Outlet.idl:74
boolean cycle
Whether the outlet was cycled. 
Definition: Outlet.idl:119
sensors::NumericSensor_4_0_3 maximumCurrent
Maximum current sensor. 
Definition: Outlet.idl:101
time lastPowerStateChange
Time of last power state change. 
Definition: Outlet.idl:75
sensors::NumericSensor_4_0_3 lineFrequency
AC line frequency sensor. 
Definition: Outlet.idl:111
Basic IDL definitions. 
Definition: Event.idl:10
sensors::NumericSensor_4_0_3 apparentPower
Apparent power sensor. 
Definition: Outlet.idl:105
sensors::NumericSensor_4_0_3 peakCurrent
Peak current sensor. 
Definition: Outlet.idl:100
sensors::NumericSensor_4_0_3 unbalancedCurrent
Current unbalance sensor. 
Definition: Outlet.idl:102
Component nameplate information. 
Definition: Nameplate.idl:23
sensors::NumericSensor_4_0_3 displacementPowerFactor
Displacement power factor sensor. 
Definition: Outlet.idl:107
boolean usePduCycleDelay
true to use power-cycle delay as defined in PDU settings 
Definition: Outlet.idl:90
int cycleDelay
Outlet-specific power-cycle delay 
Definition: Outlet.idl:91
Last known power state will be restored. 
Definition: Outlet.idl:82
sensors::NumericSensor_4_0_3 activePower
Active power sensor. 
Definition: Outlet.idl:103
Outlet statistics 
Definition: Outlet.idl:23
Slave controller interface. 
Definition: Controller.idl:26
StartupState
Outlet power state on device startup 
Definition: Outlet.idl:79
Outlet settings 
Definition: Outlet.idl:87
PowerState
Outlet power state. 
Definition: Outlet.idl:50
sensors::NumericSensor_4_0_3 current
RMS current sensor. 
Definition: Outlet.idl:99
Sensors Model. 
Definition: AccumulatingNumericSensor.idl:13
PDU Model. 
Definition: Ade.idl:12
sensors::NumericSensor_4_0_3 phaseAngle
Phase angle sensor. 
Definition: Outlet.idl:110
string name
User-defined name. 
Definition: Outlet.idl:88
Outlet interface 
Definition: Outlet.idl:29
int sequenceDelay
Delay in ms after this outlet when switching multiple outlets on. 
Definition: Outlet.idl:93
boolean isLoadShed
true if the outlet is currently switched off due to being non-critical and load shedding being active...
Definition: Outlet.idl:72
A sensor with numeric readings. 
Definition: NumericSensor.idl:17
Numerical usage ratings. 
Definition: Nameplate.idl:15
Sensor with discrete readings. 
Definition: StateSensor.idl:43
Outlet LED state 
Definition: Outlet.idl:56
int relayCycleCnt
Relay switch count. 
Definition: Outlet.idl:24