1 #ifndef __PDUMODEL_OUTLET_IDL__ 2 #define __PDUMODEL_OUTLET_IDL__ 4 #include <Nameplate.idl> 5 #include <NumericSensor.idl> 6 #include <StateSensor.idl> 9 #include <OverCurrentProtector.idl> 10 #include <Controller.idl> 26 constant
int ERR_OUTLET_NOT_SWITCHABLE = 1;
27 constant
int ERR_LOAD_SHEDDING_ACTIVE = 2;
28 constant
int ERR_OUTLET_DISABLED = 3;
29 constant
int ERR_OUTLET_NOT_OFF = 4;
31 constant
int ERR_INVALID_PARAM = 1;
61 boolean switchOnInProgress;
64 boolean cycleInProgress;
111 valueobject PowerControlEvent extends
event.UserEvent {
117 valueobject StateChangedEvent extends
idl.Event {
123 valueobject SettingsChangedEvent extends
event.UserEvent {
167 int cyclePowerState();
184 int setSettings(in
Settings settings);
A sensor with numeric readings.
Definition: NumericSensor.idl:12
Numerical usage ratings.
Definition: Nameplate.idl:10
Outlet will be switched off
Definition: Outlet.idl:76
Outlet settings
Definition: Outlet.idl:82
Sensor with discrete readings.
Definition: StateSensor.idl:38
StartupState startupState
Power state on device startup.
Definition: Outlet.idl:84
Outlet LED state
Definition: Outlet.idl:51
sensors::NumericSensor_4_0_2 activeEnergy
Active energy sensor.
Definition: Outlet.idl:103
sensors::NumericSensor_4_0_2 reactivePower
Reactive power sensor.
Definition: Outlet.idl:99
string name
User-defined name.
Definition: Outlet.idl:83
int relayFailCnt
Relay failure count.
Definition: Outlet.idl:20
sensors::NumericSensor_4_0_2 apparentPower
Apparent power sensor.
Definition: Outlet.idl:100
Settings newSettings
Settings after change.
Definition: Outlet.idl:125
boolean usePduCycleDelay
true to use power-cycle delay as defined in PDU settings
Definition: Outlet.idl:85
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:19
PowerState powerState
Current power state of outlet (represented by the control state of the relay, which was set by the la...
Definition: Outlet.idl:60
sensors::StateSensor_4_0_2 outletState
Outlet power state sensor
Definition: Outlet.idl:107
sensors::NumericSensor_4_0_2 voltage
RMS voltage sensor.
Definition: Outlet.idl:93
int cycleDelay
Outlet-specific power-cycle delay
Definition: Outlet.idl:86
Switch off / Power is off.
Definition: Outlet.idl:46
boolean nonCritical
true if outlet is non-critical (for load shedding)
Definition: Outlet.idl:87
sensors::NumericSensor_4_0_2 apparentEnergy
Apparent energy sensor.
Definition: Outlet.idl:104
sensors::NumericSensor_4_0_2 current
RMS current sensor.
Definition: Outlet.idl:94
Outlet state
Definition: Outlet.idl:58
Slave controller interface.
Definition: Controller.idl:21
Basic IDL definitions.
Definition: Event.idl:6
boolean green
true if the green LED is enabled
Definition: Outlet.idl:53
Component nameplate information.
Definition: Nameplate.idl:17
boolean available
powerState is available
Definition: Outlet.idl:59
sensors::NumericSensor_4_0_2 peakCurrent
Peak current sensor.
Definition: Outlet.idl:95
StartupState
Outlet power state on device startup
Definition: Outlet.idl:74
Outlet statistics
Definition: Outlet.idl:18
sensors::NumericSensor_4_0_2 lineFrequency
AC line frequency sensor.
Definition: Outlet.idl:106
boolean cycle
Whether the outlet was cycled.
Definition: Outlet.idl:113
time lastPowerStateChange
Time of last power state change.
Definition: Outlet.idl:70
sensors::NumericSensor_4_0_2 displacementPowerFactor
Displacement power factor sensor.
Definition: Outlet.idl:102
Sensors Model.
Definition: AccumulatingNumericSensor.idl:8
PDU Model.
Definition: Ade.idl:7
sensors::NumericSensor_4_0_2 powerFactor
Power factor sensor.
Definition: Outlet.idl:101
sensors::NumericSensor_4_0_2 maximumCurrent
Maximum current sensor.
Definition: Outlet.idl:96
sensors::NumericSensor_4_0_2 activePower
Active power sensor.
Definition: Outlet.idl:98
Last known power state will be restored.
Definition: Outlet.idl:77
Overcurrent protector interface.
Definition: OverCurrentProtector.idl:21
Outlet will be switched on
Definition: Outlet.idl:75
PowerState
Outlet power state.
Definition: Outlet.idl:45
Inlet interface
Definition: Inlet.idl:17
sensors::NumericSensor_4_0_2 phaseAngle
Phase angle sensor.
Definition: Outlet.idl:105
boolean red
true if the red LED is enabled
Definition: Outlet.idl:52
Outlet sensors
Definition: Outlet.idl:92
boolean blinking
true if the LED is blinking
Definition: Outlet.idl:54
State newState
State after change.
Definition: Outlet.idl:119
Outlet interface
Definition: Outlet.idl:24
int sequenceDelay
Delay in ms after this outlet when switching multiple outlets on.
Definition: Outlet.idl:88
sensors::NumericSensor_4_0_2 unbalancedCurrent
Current unbalance sensor.
Definition: Outlet.idl:97
int relayCycleCnt
Relay switch count.
Definition: Outlet.idl:19