6#ifndef __PDUMODEL_ADE_IDL__
7#define __PDUMODEL_ADE_IDL__
Interface for ADE chips directly connected to main controller.
MetaData getMetaData()
Retrieve the ADE metadata.
map< string, long > RegisterMap
Map of ADE register values.
int setCalibrationData(in RegisterMap regs)
Set new values for some or all calibration registers.
RegisterMap getCalibrationData()
Retrieve the values of all supported calibration registers.
vector< Sample > getLatestSample()
Retrieve the latest raw samples.
Raw sample data for a single channel.
long wh
Active energy (for this sample)
long vah
Apparent energy (for this sample)