GenesisMeter: - communication error marks application as undetected to avoid accidentally FW update
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
using Logic.ProductionToProductMapper.Cordonel;
|
||||
using Newtonsoft.Json;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore;
|
||||
using Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile;
|
||||
using Xylem.Common.Hardware.WaterMeter.WaterMeterCore;
|
||||
@@ -398,6 +399,9 @@ namespace Xylem.Common.Ui.GenesisToolBox
|
||||
{
|
||||
var versionString = app.IsInstalled ? $"V: {app.StrVersion} - CRC: 0x{app.Crc:X4}" :
|
||||
"App NOT Installed";
|
||||
if (app.Status == MeterAppState.Unknown)
|
||||
versionString = "COMMUNICATION ERROR";
|
||||
|
||||
LogText($"AppId: 0x{app.AppId:X2} - {versionString} - " + $"AppName: {app.AppName}");
|
||||
|
||||
if (app.IsInstalled)
|
||||
|
||||
Reference in New Issue
Block a user