Starting rework of reading data
This commit is contained in:
parent
22289f25bb
commit
4209d2767e
5 changed files with 21 additions and 15 deletions
|
|
@ -14,8 +14,6 @@ class Dtu {
|
|||
|
||||
std::vector<Microinverter> microinverters;
|
||||
|
||||
bool connected;
|
||||
|
||||
void populateMicroinverters();
|
||||
|
||||
std::pair<Microinverter *, bool> getMicroinverterBySerialNumber(long long serialNumber);
|
||||
|
|
@ -25,6 +23,10 @@ class Dtu {
|
|||
|
||||
bool isConnected();
|
||||
|
||||
bool modbusError();
|
||||
|
||||
std::string modbusErrorMessage();
|
||||
|
||||
// void updateMicroinverters();
|
||||
|
||||
void updateMicroinverters(std::vector<std::string> ¶metersToGet, bool allParameters, std::vector<long long> µinvertersToGet);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue