GenesisMeter: - StoreAllConfigurations: - Changed threshold check from decimal 1200 to hexadecimal 0x1200.

This commit is contained in:
Thomas Wiedebusch
2024-05-07 13:25:45 +02:00
parent 1f500bbf95
commit 36b2fd35f4
@@ -2399,6 +2399,9 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
/// <remarks date="2023-Nov-27" author="Thomas Wiedebusch">
/// - Installed FW version taken to enable read back for radio and na2walarms.
/// </remarks>
/// <remarks date="2024-May-07" author="Thomas Wiedebusch">
/// - Changed threshold check from decimal 1200 to hexadecimal 0x1200.
/// </remarks>
public Boolean StoreAllConfigurations()
{
@@ -2444,8 +2447,8 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore
if (!a.Key.IsAvailable)
continue;
// For R1.2.x the read back is corrected
if (InstalledFwVersion < 1200 && (a.Key.AppName == "SENSUSRADIO" || a.Key.AppName == "NA2WALARMS"))
// For R1.2.x the read back is corrected use as hexadecimal value outline
if (InstalledFwVersion < 0x1200 && (a.Key.AppName == "SENSUSRADIO" || a.Key.AppName == "NA2WALARMS"))
{
continue;
}