:c
This commit is contained in:
parent
8eb18c12d2
commit
fd6476cd6e
10 changed files with 258 additions and 4 deletions
|
|
@ -6,8 +6,9 @@
|
|||
|
||||
#include "microinverter.h"
|
||||
#include "port.h"
|
||||
#include "sunspec.h"
|
||||
|
||||
Microinverter::Microinverter(std::shared_ptr<class modbus> modbus, int startAddress, long long serialNumber) {
|
||||
Microinverter::Microinverter(std::shared_ptr<class modbus> modbus, int startAddress, long long serialNumber) : sunspec(40000, modbus) {
|
||||
this->modbus = modbus;
|
||||
this->startAddress = startAddress;
|
||||
this->serialNumber = serialNumber;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue