Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
A three-phase power meter (PMC). More...
Classes | |
struct | Config |
Power meter configuration. More... | |
struct | EnergyPulseSettings |
Energy LED pulse settings. More... | |
struct | EnergyPulseSettingsChangedEvent |
Event: Energy LED pulse settings have changed. More... | |
struct | Sensors |
Power meter sensors. More... | |
struct | Settings |
Power meter settings. More... | |
struct | SettingsChangedEvent |
Event: Power meter settings have changed. More... | |
Public Types | |
enum | Type { ONE_PHASE , SPLIT_PHASE , THREE_PHASE } |
Power meter type. More... | |
Public Member Functions | |
Config | getConfig () |
Retrieve the power meter configuration. More... | |
Sensors | getSensors () |
Get the power meter sensors. More... | |
vector< Pole > | getPoles () |
Get the list of power meter poles. More... | |
vector< Controller > | getControllers () |
Get the list of sub controllers for this power meter. More... | |
Settings | getSettings () |
Retrieve the power meter settings. More... | |
int | setSettings (in Settings settings) |
Change the power meter settings. More... | |
EnergyPulseSettings | getEnergyPulseSettings () |
Retrieve the energy LED pulse settings. More... | |
int | setEnergyPulseSettings (in EnergyPulseSettings settings) |
Change the energy LED pulse settings. More... | |
Public Attributes | |
constant int | ERR_INVALID_PARAM = 1 |
Invalid parameters. More... | |
constant int | ERR_MODBUS_UNIT_IN_USE = 2 |
Modbus unit address is already in use. More... | |
A three-phase power meter (PMC).
Definition at line 23 of file PowerMeter.idl.
Power meter type.
Enumerator | |
---|---|
ONE_PHASE | Single-phase meter (A) |
SPLIT_PHASE | Split-phase meter (A, B) |
THREE_PHASE | Three-phase meter (A, B, C) |
Definition at line 29 of file PowerMeter.idl.
Config pdumodel::PowerMeter::getConfig | ( | ) |
Retrieve the power meter configuration.
vector< Controller > pdumodel::PowerMeter::getControllers | ( | ) |
Get the list of sub controllers for this power meter.
EnergyPulseSettings pdumodel::PowerMeter::getEnergyPulseSettings | ( | ) |
Retrieve the energy LED pulse settings.
vector< Pole > pdumodel::PowerMeter::getPoles | ( | ) |
Get the list of power meter poles.
Sensors pdumodel::PowerMeter::getSensors | ( | ) |
Get the power meter sensors.
Settings pdumodel::PowerMeter::getSettings | ( | ) |
Retrieve the power meter settings.
int pdumodel::PowerMeter::setEnergyPulseSettings | ( | in EnergyPulseSettings | settings | ) |
Change the energy LED pulse settings.
settings | New settings |
int pdumodel::PowerMeter::setSettings | ( | in Settings | settings | ) |
Change the power meter settings.
settings | New settings |
constant int pdumodel::PowerMeter::ERR_INVALID_PARAM = 1 |
Invalid parameters.
Definition at line 25 of file PowerMeter.idl.
constant int pdumodel::PowerMeter::ERR_MODBUS_UNIT_IN_USE = 2 |
Modbus unit address is already in use.
Definition at line 26 of file PowerMeter.idl.