Raritan / Server Technology Xerus™ PDU JSON-RPC API
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
pdumodel::PowerMeter Interface Reference

A three-phase power meter (PMC). More...

import"PowerMeter.idl";

Inheritance diagram for pdumodel::PowerMeter:
pdumodel::Panel

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< PolegetPoles ()
 Get the list of power meter poles. More...
 
vector< ControllergetControllers ()
 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.
 

Detailed Description

A three-phase power meter (PMC).

Member Enumeration Documentation

◆ Type

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)

Member Function Documentation

◆ getConfig()

Config pdumodel::PowerMeter::getConfig ( )

Retrieve the power meter configuration.

Returns
Power meter configuration

◆ getControllers()

vector<Controller> pdumodel::PowerMeter::getControllers ( )

Get the list of sub controllers for this power meter.

Returns
List of controllers

◆ getEnergyPulseSettings()

EnergyPulseSettings pdumodel::PowerMeter::getEnergyPulseSettings ( )

Retrieve the energy LED pulse settings.

Returns
Energy LED pulse settings

◆ getPoles()

vector<Pole> pdumodel::PowerMeter::getPoles ( )

Get the list of power meter poles.

Returns
List of power meter poles (A, B, C, N, PE)

◆ getSensors()

Sensors pdumodel::PowerMeter::getSensors ( )

Get the power meter sensors.

Returns
Power meter sensors

◆ getSettings()

Settings pdumodel::PowerMeter::getSettings ( )

Retrieve the power meter settings.

Returns
Power meter settings

◆ setEnergyPulseSettings()

int pdumodel::PowerMeter::setEnergyPulseSettings ( in EnergyPulseSettings  settings)

Change the energy LED pulse settings.

Parameters
settingsNew settings
Returns
0 if OK
1 if any parameters are invalid

◆ setSettings()

int pdumodel::PowerMeter::setSettings ( in Settings  settings)

Change the power meter settings.

Parameters
settingsNew settings
Returns
0 if OK
1 if any parameters are invalid
2 if the Modbus unit address is already in use

The documentation for this interface was generated from the following file: