Show when I2 is unavailable

This commit is contained in:
Gunnar Skjold
2023-12-21 14:50:20 +01:00
parent 859868c99b
commit 378b67a5bd
9 changed files with 54 additions and 52 deletions

View File

@@ -67,7 +67,7 @@ void AmsData::apply(AmsData& other) {
this->reactiveExportPower = other.getReactiveExportPower();
this->l1current = other.getL1Current();
this->l2current = other.getL2Current();
this->l2currentEstimated = other.isL2currentEstimated();
this->l2currentMissing = other.isL2currentMissing();
this->l3current = other.getL3Current();
this->l1voltage = other.getL1Voltage();
this->l2voltage = other.getL2Voltage();
@@ -219,8 +219,8 @@ bool AmsData::isTwoPhase() {
return this->twoPhase;
}
bool AmsData::isL2currentEstimated() {
return this->l2currentEstimated;
bool AmsData::isL2currentMissing() {
return this->l2currentMissing;
}
int8_t AmsData::getLastError() {