sadge but more worky
This commit is contained in:
parent
32d9dfff98
commit
34313ef4bc
16 changed files with 169 additions and 65 deletions
|
|
@ -17,6 +17,8 @@ class Microinverter {
|
|||
|
||||
int startAddress;
|
||||
|
||||
int statusStartAddress;
|
||||
|
||||
public:
|
||||
Microinverter(std::shared_ptr<class modbus> modbus, int startAddress, long long serialNumber);
|
||||
|
||||
|
|
@ -30,11 +32,15 @@ class Microinverter {
|
|||
|
||||
void updateParameters(std::vector<std::string> ¶metersToGet, bool allParameters);
|
||||
|
||||
void updateStatusParameters();
|
||||
|
||||
void printPorts(std::vector<std::string> ¶metersToGet, bool allParameters, bool shortNames);
|
||||
|
||||
long long getTodayProduction();
|
||||
|
||||
long long getTotalProduction();
|
||||
|
||||
void setStatus(std::vector<std::pair<int, uint16_t>> portsToSet, std::string statusName);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue