pain
This commit is contained in:
parent
582b1bcc93
commit
79f8ee4944
2 changed files with 20 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ class Microinverter {
|
|||
private:
|
||||
modbus_t *modbus;
|
||||
|
||||
Sunspec sunspec;
|
||||
// Sunspec sunspec;
|
||||
|
||||
int startAddress;
|
||||
|
||||
|
|
@ -43,6 +43,10 @@ class Microinverter {
|
|||
void setStatus(std::vector<std::pair<int, uint16_t>> portsToSet, std::string statusName);
|
||||
|
||||
void setStatusWholeMicroinverter(uint16_t value, std::string statusName);
|
||||
|
||||
float getCurrentPower();
|
||||
|
||||
int getCurrentOnOff();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue