mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-05-02 06:26:13 +00:00
Merge branch 'master' into dev-v2.1.0
This commit is contained in:
@@ -160,19 +160,19 @@ float AmsData::getL3PowerFactor() {
|
|||||||
return this->l3PowerFactor;
|
return this->l3PowerFactor;
|
||||||
}
|
}
|
||||||
|
|
||||||
float AmsData::getActiveImportCounter() {
|
double AmsData::getActiveImportCounter() {
|
||||||
return this->activeImportCounter;
|
return this->activeImportCounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
float AmsData::getReactiveImportCounter() {
|
double AmsData::getReactiveImportCounter() {
|
||||||
return this->reactiveImportCounter;
|
return this->reactiveImportCounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
float AmsData::getActiveExportCounter() {
|
double AmsData::getActiveExportCounter() {
|
||||||
return this->activeExportCounter;
|
return this->activeExportCounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
float AmsData::getReactiveExportCounter() {
|
double AmsData::getReactiveExportCounter() {
|
||||||
return this->reactiveExportCounter;
|
return this->reactiveExportCounter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -53,10 +53,10 @@ public:
|
|||||||
float getL2PowerFactor();
|
float getL2PowerFactor();
|
||||||
float getL3PowerFactor();
|
float getL3PowerFactor();
|
||||||
|
|
||||||
float getActiveImportCounter();
|
double getActiveImportCounter();
|
||||||
float getReactiveImportCounter();
|
double getReactiveImportCounter();
|
||||||
float getActiveExportCounter();
|
double getActiveExportCounter();
|
||||||
float getReactiveExportCounter();
|
double getReactiveExportCounter();
|
||||||
|
|
||||||
bool isThreePhase();
|
bool isThreePhase();
|
||||||
bool isTwoPhase();
|
bool isTwoPhase();
|
||||||
@@ -71,7 +71,7 @@ protected:
|
|||||||
uint16_t activeImportPower = 0, reactiveImportPower = 0, activeExportPower = 0, reactiveExportPower = 0;
|
uint16_t activeImportPower = 0, reactiveImportPower = 0, activeExportPower = 0, reactiveExportPower = 0;
|
||||||
float l1voltage = 0, l2voltage = 0, l3voltage = 0, l1current = 0, l2current = 0, l3current = 0;
|
float l1voltage = 0, l2voltage = 0, l3voltage = 0, l1current = 0, l2current = 0, l3current = 0;
|
||||||
float powerFactor = 0, l1PowerFactor = 0, l2PowerFactor = 0, l3PowerFactor = 0;
|
float powerFactor = 0, l1PowerFactor = 0, l2PowerFactor = 0, l3PowerFactor = 0;
|
||||||
float activeImportCounter = 0, reactiveImportCounter = 0, activeExportCounter = 0, reactiveExportCounter = 0;
|
double activeImportCounter = 0, reactiveImportCounter = 0, activeExportCounter = 0, reactiveExportCounter = 0;
|
||||||
bool threePhase = false, twoPhase = false, counterEstimated = false;
|
bool threePhase = false, twoPhase = false, counterEstimated = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user