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;
107 valueobject PowerControlEvent extends
event.UserEvent {
113 valueobject StateChangedEvent extends idl.Event {
119 valueobject SettingsChangedEvent extends
event.UserEvent {
120 Settings oldSettings;
129 MetaData getMetaData();
136 Sensors getSensors();
155 int setPowerState(in PowerState pstate);
165 int cyclePowerState();
172 Settings getSettings();
182 int setSettings(in Settings settings);
Slave controller interface.
Definition: Controller.idl:21
Numerical usage ratings.
Definition: Nameplate.idl:10
string name
User-defined name.
Definition: Outlet.idl:81
boolean green
true if the green LED is enabled
Definition: Outlet.idl:53
sensors NumericSensor_4_0_1 lineFrequency
AC line frequency sensor.
Definition: Outlet.idl:102
Outlet sensors
Definition: Outlet.idl:90
boolean cycle
Whether the outlet was cycled.
Definition: Outlet.idl:109
int relayFailCnt
Relay failure count.
Definition: Outlet.idl:20
sensors NumericSensor_4_0_1 maximumCurrent
Maximum current sensor.
Definition: Outlet.idl:94
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
sensors NumericSensor_4_0_1 current
RMS current sensor.
Definition: Outlet.idl:92
sensors NumericSensor_4_0_1 activeEnergy
Active energy sensor.
Definition: Outlet.idl:99
Outlet interface
Definition: Outlet.idl:24
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
time lastPowerStateChange
Time of last power state change.
Definition: Outlet.idl:68
Outlet LED state
Definition: Outlet.idl:51
int sequenceDelay
Delay in ms after this outlet when switching multiple outlets on.
Definition: Outlet.idl:86
sensors NumericSensor_4_0_1 powerFactor
Power factor sensor.
Definition: Outlet.idl:98
Outlet will be switched off
Definition: Outlet.idl:74
Outlet state
Definition: Outlet.idl:58
Overcurrent protector interface.
Definition: OverCurrentProtector.idl:21
Component nameplate information.
Definition: Nameplate.idl:17
Outlet statistics
Definition: Outlet.idl:18
sensors NumericSensor_4_0_1 peakCurrent
Peak current sensor.
Definition: Outlet.idl:93
sensors NumericSensor_4_0_1 phaseAngle
Phase angle sensor.
Definition: Outlet.idl:101
sensors StateSensor_4_0_1 outletState
Outlet power state sensor
Definition: Outlet.idl:103
Switch off / Power is off.
Definition: Outlet.idl:46
State newState
State after change.
Definition: Outlet.idl:115
StartupState startupState
Power state on device startup.
Definition: Outlet.idl:82
Last known power state will be restored.
Definition: Outlet.idl:75
Settings newSettings
Settings after change.
Definition: Outlet.idl:121
Outlet settings
Definition: Outlet.idl:80
sensors NumericSensor_4_0_1 activePower
Active power sensor.
Definition: Outlet.idl:96
boolean usePduCycleDelay
true to use power-cycle delay as defined in PDU settings
Definition: Outlet.idl:83
boolean red
true if the red LED is enabled
Definition: Outlet.idl:52
boolean available
powerState is available
Definition: Outlet.idl:59
boolean blinking
true if the LED is blinking
Definition: Outlet.idl:54
sensors NumericSensor_4_0_1 apparentEnergy
Apparent energy sensor.
Definition: Outlet.idl:100
sensors NumericSensor_4_0_1 voltage
RMS voltage sensor.
Definition: Outlet.idl:91
Outlet will be switched on
Definition: Outlet.idl:73
sensors NumericSensor_4_0_1 apparentPower
Apparent power sensor.
Definition: Outlet.idl:97
int cycleDelay
Outlet-specific power-cycle delay
Definition: Outlet.idl:84
PowerState
Outlet power state.
Definition: Outlet.idl:45
boolean nonCritical
true if outlet is non-critical (for load shedding)
Definition: Outlet.idl:85
StartupState
Outlet power state on device startup
Definition: Outlet.idl:72
Inlet interface
Definition: Inlet.idl:17
sensors NumericSensor_4_0_1 unbalancedCurrent
Current unbalance sensor.
Definition: Outlet.idl:95
int relayCycleCnt
Relay switch count.
Definition: Outlet.idl:19