Removed multithreading for now, corrected connected
This commit is contained in:
parent
089c7a77b5
commit
e0135b6753
4 changed files with 34 additions and 20 deletions
|
|
@ -17,6 +17,8 @@ class Dtu {
|
|||
|
||||
std::vector<Microinverter> microinverters;
|
||||
|
||||
bool connected;
|
||||
|
||||
void populateMicroinverters();
|
||||
|
||||
std::pair<bool, Microinverter*> getMicroinverterBySerialNumber(long serialNumber);
|
||||
|
|
@ -24,6 +26,8 @@ class Dtu {
|
|||
public:
|
||||
Dtu(const char *ip_address, int port);
|
||||
|
||||
bool isConnected();
|
||||
|
||||
void updateMicroinverters();
|
||||
|
||||
void printMicroinverters();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue