Adapted to interface changes

pull/1091/head
Andreas Horrer 2024-04-13 16:43:35 +02:00
rodzic ac70a7808b
commit 25108bd290
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ namespace
{ {
{ {
"ERROR_FLAGS", "ERROR_FLAGS",
Translate::Type::BitToString, Translate::MapType::BitToString,
AlwaysTrigger, MaskBits(0xffff), AlwaysTrigger, MaskBits(0xffff),
"OK", "OK",
{ {
@ -67,7 +67,7 @@ namespace
"The total heat energy consumption recorded by this meter.", "The total heat energy consumption recorded by this meter.",
DEFAULT_PRINT_PROPERTIES, DEFAULT_PRINT_PROPERTIES,
Quantity::Energy, Quantity::Energy,
VifScaling::Auto, VifScaling::Auto, DifSignedness::Signed,
FieldMatcher::build() FieldMatcher::build()
.set(MeasurementType::Instantaneous) .set(MeasurementType::Instantaneous)
.set(VIFRange::AnyEnergyVIF) .set(VIFRange::AnyEnergyVIF)
@ -78,7 +78,7 @@ namespace
"The total heating media volume recorded by this meter.", "The total heating media volume recorded by this meter.",
DEFAULT_PRINT_PROPERTIES, DEFAULT_PRINT_PROPERTIES,
Quantity::Volume, Quantity::Volume,
VifScaling::Auto, VifScaling::Auto, DifSignedness::Signed,
FieldMatcher::build() FieldMatcher::build()
.set(MeasurementType::Instantaneous) .set(MeasurementType::Instantaneous)
.set(VIFRange::Volume) .set(VIFRange::Volume)
@ -99,7 +99,7 @@ namespace
"The total energy consumption recorded at the last day of the previous year.", "The total energy consumption recorded at the last day of the previous year.",
DEFAULT_PRINT_PROPERTIES, DEFAULT_PRINT_PROPERTIES,
Quantity::Energy, Quantity::Energy,
VifScaling::Auto, VifScaling::Auto, DifSignedness::Signed,
FieldMatcher::build() FieldMatcher::build()
.set(MeasurementType::Instantaneous) .set(MeasurementType::Instantaneous)
.set(StorageNr(1)) .set(StorageNr(1))