Raritan / Server Technology Xerus™ PDU JSON-RPC API
|
A three-phase power meter (PMC). More...
import"PowerMeter.idl";
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. | |
constant int | ERR_MODBUS_UNIT_IN_USE = 2 |
Modbus unit address is already in use. | |
A three-phase power meter (PMC).
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 |