6 #ifndef __PDUMODEL_CIRCUIT_IDL__
7 #define __PDUMODEL_CIRCUIT_IDL__
9 #include <NumericSensor.idl>
11 #include <UserEvent.idl>
23 constant
int ERR_INVALID_PARAM = 1;
24 constant
int ERR_METER_CHANNEL_BUSY = 2;
BCM circuit.
Definition: Circuit.idl:21
int setSettings(in Settings settings)
Change the circuit settings.
Sensors getSensors()
Retrieve the circuit sensors.
Type
Circuit type.
Definition: Circuit.idl:27
@ ONE_PHASE_LL
One-phase line-line.
Definition: Circuit.idl:29
@ ONE_PHASE_LLN
One-phase line-line-neutral.
Definition: Circuit.idl:30
@ ONE_PHASE_LN
One-phase line-neutral.
Definition: Circuit.idl:28
Settings getSettings()
Get the circuit settings.
Config getConfig()
Retrieve the circuit configuration.
vector< Pole > getPoles()
Retrieve the list of circuit poles.
A sensor with numeric readings.
Definition: NumericSensor.idl:17
PDU Model.
Definition: Ade.idl:12
Sensors Model.
Definition: AccumulatingNumericSensor.idl:13
Circuit configuration.
Definition: Circuit.idl:35
Type type
Circuit type.
Definition: Circuit.idl:37
int position
Circuit position of first pole.
Definition: Circuit.idl:36
Circuit pole settings.
Definition: Circuit.idl:77
int meterChannel
Meter channel index; -1 for unmetered poles.
Definition: Circuit.idl:79
pdumodel::PowerLine line
Power line.
Definition: Circuit.idl:78
Circuit sensors.
Definition: Circuit.idl:48
sensors::NumericSensor activeEnergy
Active energy sensor.
Definition: Circuit.idl:56
sensors::NumericSensor powerFactor
Power factor sensor.
Definition: Circuit.idl:53
sensors::NumericSensor crestFactor
Crest factor sensor.
Definition: Circuit.idl:58
sensors::NumericSensor reactivePower
Reactive power sensor.
Definition: Circuit.idl:51
sensors::NumericSensor activePowerDemand
Active power demand.
Definition: Circuit.idl:59
sensors::NumericSensor current
RMS current sensor.
Definition: Circuit.idl:49
sensors::NumericSensor displacementPowerFactor
Displacement power factor.
Definition: Circuit.idl:55
sensors::NumericSensor unbalancedCurrent
Current unbalance sensor.
Definition: Circuit.idl:57
sensors::NumericSensor phaseAngle
Phase angle sensor.
Definition: Circuit.idl:54
sensors::NumericSensor apparentPower
Apparent power sensor.
Definition: Circuit.idl:52
sensors::NumericSensor activePower
Active power sensor.
Definition: Circuit.idl:50
Event: Circuit settings have changed.
Definition: Circuit.idl:91
Settings oldSettings
Settings before change.
Definition: Circuit.idl:92
Settings newSettings
Settings after change.
Definition: Circuit.idl:93
Circuit settings.
Definition: Circuit.idl:83
string name
Circuit name.
Definition: Circuit.idl:84
vector< PoleSettings > poleSettings
Pole settings (excluding Neutral)
Definition: Circuit.idl:87
int rating
Circuit current rating.
Definition: Circuit.idl:85
int ctRating
Current transformer rating.
Definition: Circuit.idl:86