|
@ -438,6 +438,7 @@ class Inverter { |
|
|
if((*timestamp - recordMeas.ts) > INVERTER_OFF_THRES_SEC) { |
|
|
if((*timestamp - recordMeas.ts) > INVERTER_OFF_THRES_SEC) { |
|
|
status = InverterStatus::OFF; |
|
|
status = InverterStatus::OFF; |
|
|
actPowerLimit = 0xffff; // power limit will be read once inverter becomes available
|
|
|
actPowerLimit = 0xffff; // power limit will be read once inverter becomes available
|
|
|
|
|
|
alarmMesIndex = 0; |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
status = InverterStatus::WAS_ON; |
|
|
status = InverterStatus::WAS_ON; |
|
|