laatzen/ServiceFwUpdate/Common/FwUpdateSafe/MeterRecovery/RecoverySettings.cs
Roland Drabesch b1adcd0d7f base classes and fake function created
wait for file format aproval
2022-04-29 09:58:45 +02:00

39 lines
1.3 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Xylem.ServiceFwUpdate.Common.FwUpdateSafe.MeterRecovery
{
public class RecoverySettings
{
/// <summary>
/// Null if check in not necessary if is an number check it agianst the pcbid from meter
/// </summary>
public int? PrecondidtionCheckPcbID { get; set; }
/// <summary>
/// Null if check in not necessary if is an number check it agianst the radio FRQ
/// </summary>
public int? PrecondidtionCheckRadioFrq { get; set; }
/// <summary>
/// Null till meter handels regions
/// </summary>
public string PrecondidtionCheckRegion { get; set; } = null;
/// <summary>
/// Null till meter handels regions
/// </summary>
public string PrecondidtionCheckFlexnetVersion { get; set; }
/// <summary>
/// List of registers to recover
/// </summary>
public List<RecoveryRegisterItem> RecoveryRegisters { get; set; }
public string GenerateFileName()
{
return $"{PrecondidtionCheckPcbID}_{PrecondidtionCheckRadioFrq}_{PrecondidtionCheckRegion}_{PrecondidtionCheckFlexnetVersion}.config";
}
}
}