Indicator for estimated I2. Also fix on charts

This commit is contained in:
Gunnar Skjold
2023-12-04 11:59:18 +01:00
parent ddd08e25df
commit a30cd76354
11 changed files with 40 additions and 25 deletions

View File

@@ -68,6 +68,7 @@ public:
bool isThreePhase();
bool isTwoPhase();
bool isL2currentEstimated();
int8_t getLastError();
void setLastError(int8_t);
@@ -85,7 +86,7 @@ protected:
float l1activeExportPower = 0, l2activeExportPower = 0, l3activeExportPower = 0;
float powerFactor = 0, l1PowerFactor = 0, l2PowerFactor = 0, l3PowerFactor = 0;
double activeImportCounter = 0, reactiveImportCounter = 0, activeExportCounter = 0, reactiveExportCounter = 0;
bool threePhase = false, twoPhase = false, counterEstimated = false;
bool threePhase = false, twoPhase = false, counterEstimated = false, l2currentEstimated = false;
int8_t lastError = 0x00;
uint8_t lastErrorCount = 0;