| Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
    | 
Common base interface for any kind of electrical device that is used in the PDU model, such as inlets, OCPs and outlets. More...
 
  
| Public Member Functions | |
| vector< EDevice > | getParents () | 
| Get the list of devices that provide energy to this device.  More... | |
| vector< EDevice > | getChildren () | 
| Get the list of devices that are directly fed by this device.  More... | |
| Waveform | getWaveform () | 
| Get the current voltage and current waveforms for this device.  More... | |
| Waveform | getPoleWaveform (in PowerLine line) | 
| Get the current voltage and current waveforms for a pole of this device.  More... | |
Common base interface for any kind of electrical device that is used in the PDU model, such as inlets, OCPs and outlets.
EDevices form a hierarchy of parent-child relationships. An EDevice is defined to be the parent of another if it "provides energy" to the latter. E.g. an inlet could be the parent of a number of OCPs, wires or outlets.
An EDevice can have multiple parents, e.g. in case of transfer switches which select power from multiple sources.
| vector< EDevice > pdumodel::EDevice::getChildren | ( | ) | 
Get the list of devices that are directly fed by this device.
| vector< EDevice > pdumodel::EDevice::getParents | ( | ) | 
Get the list of devices that provide energy to this device.
Get the current voltage and current waveforms for a pole of this device.
| Waveform pdumodel::EDevice::getWaveform | ( | ) | 
Get the current voltage and current waveforms for this device.