FwUpdateBuilder: - Update capability check extended

This commit is contained in:
Thomas Wiedebusch
2023-02-20 09:08:06 +01:00
parent 42fe8f1c3a
commit a0eff86d6f
6 changed files with 68 additions and 105 deletions
@@ -115,7 +115,6 @@
<Compile Include="MeterLutUpdate.cs" />
<Compile Include="MeterFwUpdate.cs" />
<Compile Include="MeterFwUpdateCapability.cs" />
<Compile Include="MeterFwUpdateRuler.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="MeterFile.cs" />
<Compile Include="MeterPwdFile.cs" />
@@ -1,53 +0,0 @@
using System;
using System.Collections.Generic;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
{
/// <summary>
/// Definition of releases and update dependencies.
/// </summary>
[Serializable]
public class MeterFwUpdateRuler
{
/// <summary>
/// Name of the release e.g. R1067. referenced as FLEXNETVERSION AppId 0x18
/// </summary>
public String Release;
/// <summary>
/// Region EMEA or NA
/// </summary>
public String Region;
/// <summary>
/// Core version minimum
/// </summary>
public String CoreVersionMin;
/// <summary>
/// Core version maximum
/// </summary>
public String CoreVersionMax;
/// <summary>
/// Version of metrology, as this may not permitted to update, referenced as GENESISFLOW AppId 0x0F,
/// the update capability of the metrology will be flagged by SYSTEM UpgradePermissions Id 0x0E:
/// 0xFF upgrade is permitted, all others the metrology updated is strictly forbidden!
/// </summary>
public String MetrologyVersion;
/// <summary>
/// Radio frequency in MHz referenced a SENSUSRADIO AppId 0x10, Register FrequencyIndicator Id 0x05
/// values: default 433, minimum 433, maximum 868
/// </summary>
public String RadioFrequencyMhz;
/// <summary>
/// Meter size e.g. DN40, DN50, or null if for all sizes
/// </summary>
public List<String> MeterSizes;
/// <summary>
/// Name of person which approves the release
/// </summary>
public String ApproverName;
/// <summary>
/// Date of approval
/// </summary>
public DateTime? ApprovalDate;
}
}