Release for adding short names
This commit is contained in:
parent
a0d06edf7b
commit
25fef43d66
10 changed files with 49 additions and 37 deletions
|
|
@ -20,12 +20,12 @@ void Microinverter::updatePorts(std::vector<std::string> ¶metersToGet, bool
|
|||
}
|
||||
}
|
||||
|
||||
void Microinverter::printPorts(std::vector<std::string> ¶metersToGet, bool allParameters) {
|
||||
void Microinverter::printPorts(std::vector<std::string> ¶metersToGet, bool allParameters, bool shortNames) {
|
||||
std::cout << "Microinverter: " << this->serialNumber << std::endl;
|
||||
|
||||
std::vector<Port>::iterator portsIterator = this->ports.begin();
|
||||
while (portsIterator != this->ports.end()) {
|
||||
portsIterator->printParameters(parametersToGet, allParameters);
|
||||
portsIterator->printParameters(parametersToGet, allParameters, shortNames);
|
||||
std::cout << std::endl;
|
||||
portsIterator++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue