Legrand / Raritan / Server Technology Xerus™ JSON-RPC API
|
Interface for ADE chips directly connected to main controller. More...
Classes | |
struct | MetaData |
ADE metadata. More... | |
struct | Sample |
Raw sample data for a single channel. More... | |
Public Types | |
typedef map< string, long > | RegisterMap |
Map of ADE register values. More... | |
Public Member Functions | |
MetaData | getMetaData () |
Retrieve the ADE metadata. More... | |
vector< Sample > | getLatestSample () |
Retrieve the latest raw samples. More... | |
RegisterMap | getCalibrationData () |
Retrieve the values of all supported calibration registers. More... | |
int | setCalibrationData (in RegisterMap regs) |
Set new values for some or all calibration registers. More... | |
Interface for ADE chips directly connected to main controller.
typedef map<string, long> pdumodel::Ade::RegisterMap |
RegisterMap pdumodel::Ade::getCalibrationData | ( | ) |
Retrieve the values of all supported calibration registers.
vector< Sample > pdumodel::Ade::getLatestSample | ( | ) |
Retrieve the latest raw samples.
MetaData pdumodel::Ade::getMetaData | ( | ) |
Retrieve the ADE metadata.
int pdumodel::Ade::setCalibrationData | ( | in RegisterMap | regs | ) |
Set new values for some or all calibration registers.
regs | Map of new calibration register values |