CUST - Register restorer removed unnecessary RadioAlarmMask resets
This commit is contained in:
@@ -81,6 +81,7 @@
|
||||
<Compile Include="FwUpdateCrypt.cs" />
|
||||
<Compile Include="FwUpdateSafe.cs" />
|
||||
<Compile Include="MeterRecovery\RecoveryRegisterItem.cs" />
|
||||
<Compile Include="MeterRecovery\RecoverySettings.cs" />
|
||||
<Compile Include="MeterRecovery\RegisterRecoveryAccess.cs" />
|
||||
<Compile Include="PasswordContainer.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Xylem.ServiceFwUpdate.Common.FwUpdateSafe.MeterRecovery
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class RecoverySettings
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// Null if check in not necessary if is an number check it against the pcbid from meter
|
||||
/// </summary>
|
||||
public String PcbId;
|
||||
|
||||
/// <summary>
|
||||
/// Radio frequency in MHz referenced a SENSUSRADIO AppId 0x10, Register FrequencyIndicator Id 0x05
|
||||
/// values: default 433, minimum 433, maximum 868 or null if region is "NA" or if for all frequencies
|
||||
/// </summary>
|
||||
public Int32? RadioFrequencyMhz;
|
||||
|
||||
/// <summary>
|
||||
/// Null till meter handles regions
|
||||
/// </summary>
|
||||
public String Region;
|
||||
|
||||
/// <summary>
|
||||
/// Release string which is the FLEXNETVERSION
|
||||
/// </summary>
|
||||
public String Release;
|
||||
|
||||
/// <summary>
|
||||
/// User name
|
||||
/// </summary>
|
||||
public String ApproverName;
|
||||
|
||||
/// <summary>
|
||||
/// Null means not approved
|
||||
/// </summary>
|
||||
public DateTimeOffset? ApprovalDate;
|
||||
|
||||
/// <summary>
|
||||
/// List of registers to recover
|
||||
/// </summary>
|
||||
public List<RecoveryRegisterItem> RecoveryRegisters;
|
||||
|
||||
/// <summary>
|
||||
/// File name for this recovery register set
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public String GenerateFileName()
|
||||
{
|
||||
return $"{PcbId}_{Region}_{Release}.recovery";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user