|
@ -91,12 +91,14 @@ class Display { |
|
|
Inverter<> *iv; |
|
|
Inverter<> *iv; |
|
|
record_t<> *rec; |
|
|
record_t<> *rec; |
|
|
bool allOff = true; |
|
|
bool allOff = true; |
|
|
for (uint8_t i = 0; i < mSys->getNumInverters(); i++) { |
|
|
uint8_t nInv = mSys->getNumInverters(); |
|
|
|
|
|
for (uint8_t i = 0; i < nInv; i++) { |
|
|
iv = mSys->getInverterByPos(i); |
|
|
iv = mSys->getInverterByPos(i); |
|
|
rec = iv->getRecordStruct(RealTimeRunData_Debug); |
|
|
|
|
|
if (iv == NULL) |
|
|
if (iv == NULL) |
|
|
continue; |
|
|
continue; |
|
|
|
|
|
|
|
|
|
|
|
rec = iv->getRecordStruct(RealTimeRunData_Debug); |
|
|
|
|
|
|
|
|
if (iv->isProducing()) |
|
|
if (iv->isProducing()) |
|
|
nrprod++; |
|
|
nrprod++; |
|
|
else |
|
|
else |
|
|