6#ifndef __PDUMODEL_OUTLETGROUP_IDL__
7#define __PDUMODEL_OUTLETGROUP_IDL__
9#include <AccumulatingNumericSensor.idl>
16 constant
int ERR_INVALID_ARGUMENT = 1;
Sensors getSensors()
Retrieve the outlet group sensors.
MetaData getMetaData()
Retrieve the outlet group metadata.
int setAllOutletPowerStates(in Outlet::PowerState pstate)
Switch all member outlets.
int cycleAllOutletPowerStates()
Power-cycle all member outlets.
Settings getSettings()
Retrieve the outlet group settings.
int setSettings(in Settings settings)
Change the outlet group settings.
PowerState
Outlet power state.
A sensor which accumulates numeric readings (e.g.
A sensor with numeric readings.
Common base for all events.
Event: Group switch operation has been invoked.
boolean cycle
Whether a power cycle operation was invoked.
Outlet::PowerState state
Target power state, only valid if not cycling.
Event: Group sensors have changed.
Sensors newSensors
Sensors after change.
Sensors oldSensors
Sensors before change.
sensors::NumericSensor apparentPower
Apparent power sensor.
sensors::AccumulatingNumericSensor apparentEnergy
Apparent energy sensor.
sensors::NumericSensor activePower
Active power sensor.
sensors::AccumulatingNumericSensor activeEnergy
Active energy sensor.
Event: Group settings have been changed.
Settings newSettings
Settings after change.
Settings oldSettings
Settings before change.
string name
User-defined name.
vector< Outlet > members
List of member outlets.