| Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
    | 
PMC panel. More...
import <Panel.idl;
 
  
| Classes | |
| struct | CircuitCreatedEvent | 
| Event: A new circuit was added.  More... | |
| struct | CircuitDeletedEvent | 
| Event: A circuit was deleted.  More... | |
| struct | PanelSettings | 
| Panel settings.  More... | |
| struct | PanelSettingsChangedEvent | 
| Event: Panel settings have changed.  More... | |
| Public Types | |
| enum | LabelingScheme { SEQUENTIAL , ODD_EVEN } | 
| Mapping of physical circuit positions (0-based) to logical labels.  More... | |
|  Public Types inherited from pdumodel::PowerMeter | |
| enum | Type { ONE_PHASE , SPLIT_PHASE , THREE_PHASE } | 
| Power meter type.  More... | |
| Public Member Functions | |
| PanelSettings | getPanelSettings () | 
| Retrieve the panel settings. | |
| int | setPanelSettings (in PanelSettings settings) | 
| Change the panel settings. | |
| map< int, Circuit > | getCircuits () | 
| Retrieve the list of circuits. | |
| int | createCircuit (out Circuit circuit, in Circuit::Config config, in Circuit.Settings settings) | 
| Create a new circuit. | |
| int | deleteCircuit (in int position) | 
| Delete a circuit. | |
|  Public Member Functions inherited from pdumodel::PowerMeter | |
| Config | getConfig () | 
| Retrieve the power meter configuration. | |
| Sensors | getSensors () | 
| Get the power meter sensors. | |
| vector< Pole > | getPoles () | 
| Get the list of power meter poles. | |
| vector< Controller > | getControllers () | 
| Get the list of sub controllers for this power meter. | |
| Settings | getSettings () | 
| Retrieve the power meter settings. | |
| int | setSettings (in Settings settings) | 
| Change the power meter settings. | |
| EnergyPulseSettings | getEnergyPulseSettings () | 
| Retrieve the energy LED pulse settings. | |
| int | setEnergyPulseSettings (in EnergyPulseSettings settings) | 
| Change the energy LED pulse settings. | |
| Additional Inherited Members | |
|  Public Attributes inherited from pdumodel::PowerMeter | |
| constant int | ERR_INVALID_PARAM = 1 | 
| Invalid parameters. | |
| constant int | ERR_MODBUS_UNIT_IN_USE = 2 | 
| Modbus unit address is already in use. | |
PMC panel.
A panel contains:
| int pdumodel::Panel::createCircuit | ( | out Circuit | circuit, | 
| in Circuit::Config | config, | ||
| in Circuit.Settings | settings ) | 
Create a new circuit.
| circuit | Result: Newly created instance | 
| config | New circuit config | 
| settings | New circuit settings | 
| int pdumodel::Panel::deleteCircuit | ( | in int | position | ) | 
Delete a circuit.
| position | Position of circuit to be deleted | 
| map< int, Circuit > pdumodel::Panel::getCircuits | ( | ) | 
Retrieve the list of circuits.
| PanelSettings pdumodel::Panel::getPanelSettings | ( | ) | 
Retrieve the panel settings.
| int pdumodel::Panel::setPanelSettings | ( | in PanelSettings | settings | ) | 
Change the panel settings.
| settings | New panel settings |