using System; using System.Collections.Generic; namespace Xylem.ServiceFwUpdate.Common.FwUpdateSafe.MeterRecovery { /// /// /// [Serializable] public class RecoverySettings { /// /// Null if check in not necessary if is an number check it against the pcbid from meter /// public String PcbId; /// /// 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 /// public Int32? RadioFrequencyMhz; /// /// Null till meter handles regions /// public String Region; /// /// Release string which is the FLEXNETVERSION /// public String Release; /// /// User name /// public String ApproverName; /// /// Null means not approved /// public DateTimeOffset? ApprovalDate; /// /// List of registers to recover /// public List RecoveryRegisters; /// /// File name for this recovery register set /// /// public String GenerateFileName() { return $"{PcbId}_{Region}_{Release}.recovery"; } } }