Added option to substitute missing I2 for Aidon IT meters. Also cleaned up some more UI

This commit is contained in:
Gunnar Skjold
2020-05-04 16:07:23 +02:00
parent dc83853d2e
commit c3c0ca0a1b
15 changed files with 212 additions and 183 deletions

View File

@@ -12,7 +12,7 @@
class AmsData {
public:
AmsData();
AmsData(int meterType, HanReader& hanReader);
AmsData(int meterType, bool substituteMissing, HanReader& hanReader);
void apply(AmsData& other);
@@ -60,7 +60,7 @@ private:
bool threePhase = false;
void extractFromKaifa(HanReader& hanReader, int listSize);
void extractFromAidon(HanReader& hanReader, int listSize);
void extractFromAidon(HanReader& hanReader, int listSize, bool substituteMissing);
void extractFromKamstrup(HanReader& hanReader, int listSize);
};