Merge branch 'Dev_ProdUiCord'
This commit is contained in:
@@ -426,12 +426,16 @@ namespace Xylem.Common.Hardware.WaterMeter.Genesis.MockGenesis
|
||||
/// Mock reading all applications from a predefined package description file instead from the Meter.
|
||||
/// </summary>
|
||||
/// <remarks date="2024-Dec-01" author="Thomas Wiedebusch">
|
||||
/// - Initial
|
||||
/// - Initial.
|
||||
/// </remarks>
|
||||
/// <remarks date="2025-Jun-19" author="Thomas Wiedebusch">
|
||||
/// - Avoid overwriting of list combined with valid register dictionary.
|
||||
/// </remarks>
|
||||
protected override void ReadMeterFirmwareAndAssignRegisters()
|
||||
{
|
||||
// Avoid overwriting of list if this already exits
|
||||
if (MeterAppListVersion.Any() && MeterAppListVersion.All(f => f.Status != MeterAppState.Unknown))
|
||||
if (MeterAppListVersion.Any() && MeterAppListVersion.All(f => f.Status != MeterAppState.Unknown) &&
|
||||
ConfigRegister.MeterRegisterDic.Count != 0)
|
||||
{
|
||||
Logger.Warn($"Slot:{Slot} - Trying to overwride installed FW. Skipping generation of new " +
|
||||
"App list and meter register dictionary");
|
||||
|
||||
+417
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user