From 25108bd29085dd5e63a3c37496ec6d98c341a240 Mon Sep 17 00:00:00 2001 From: Andreas Horrer Date: Sat, 13 Apr 2024 16:43:35 +0200 Subject: [PATCH] Adapted to interface changes --- src/driver_itronheat.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/driver_itronheat.cc b/src/driver_itronheat.cc index c175917..01df39d 100644 --- a/src/driver_itronheat.cc +++ b/src/driver_itronheat.cc @@ -53,7 +53,7 @@ namespace { { "ERROR_FLAGS", - Translate::Type::BitToString, + Translate::MapType::BitToString, AlwaysTrigger, MaskBits(0xffff), "OK", { @@ -67,7 +67,7 @@ namespace "The total heat energy consumption recorded by this meter.", DEFAULT_PRINT_PROPERTIES, Quantity::Energy, - VifScaling::Auto, + VifScaling::Auto, DifSignedness::Signed, FieldMatcher::build() .set(MeasurementType::Instantaneous) .set(VIFRange::AnyEnergyVIF) @@ -78,7 +78,7 @@ namespace "The total heating media volume recorded by this meter.", DEFAULT_PRINT_PROPERTIES, Quantity::Volume, - VifScaling::Auto, + VifScaling::Auto, DifSignedness::Signed, FieldMatcher::build() .set(MeasurementType::Instantaneous) .set(VIFRange::Volume) @@ -99,7 +99,7 @@ namespace "The total energy consumption recorded at the last day of the previous year.", DEFAULT_PRINT_PROPERTIES, Quantity::Energy, - VifScaling::Auto, + VifScaling::Auto, DifSignedness::Signed, FieldMatcher::build() .set(MeasurementType::Instantaneous) .set(StorageNr(1))