Made basic output of values, slow but starting to be actually functional
This commit is contained in:
parent
6cfdcc13ce
commit
30a39aff3e
9 changed files with 56 additions and 9 deletions
|
|
@ -19,14 +19,16 @@ class Port {
|
|||
|
||||
uint16_t portStartAddress;
|
||||
|
||||
std::vector<std::shared_ptr<PortParameter>> parameters;
|
||||
|
||||
void populateParameters();
|
||||
|
||||
public:
|
||||
Port(std::shared_ptr<modbus_t*> modbus_context, std::mutex *modbus_context_mutex, uint16_t portStartAddress);
|
||||
|
||||
std::vector<std::shared_ptr<PortParameter>> parameters;
|
||||
|
||||
void updateParameters();
|
||||
|
||||
void printParameters();
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue