Added CLI
This commit is contained in:
parent
b63bd9ae42
commit
70b27a0c07
8 changed files with 151 additions and 32 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
#include <vector>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
// #include <mutex>
|
||||
|
||||
#include "port.h"
|
||||
|
|
@ -31,11 +32,15 @@ class Microinverter {
|
|||
|
||||
void updatePorts();
|
||||
|
||||
void updatePorts(std::vector<std::string> ¶metersToGet);
|
||||
|
||||
void updatePort(int i);
|
||||
|
||||
Port getPort(int i);
|
||||
|
||||
void printPorts();
|
||||
|
||||
void printPorts(std::vector<std::string> ¶metersToGet);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue