46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System;
|
|
|
|
namespace Xylem.ServiceFwUpdate.Common.FwUpdateSafe.MeterRecovery
|
|
{
|
|
/// <summary>
|
|
/// Recovery of registers in the field
|
|
/// </summary>
|
|
public class RecoveryRegisterItem
|
|
{
|
|
/// <summary>
|
|
/// Register name, use the latest configuration.json to make sure that the adress will be correct
|
|
/// </summary>
|
|
public String RegisterIdent { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Content to write
|
|
/// </summary>
|
|
public Byte[] WriteValue { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// check if the wirtten value is sett like this
|
|
/// Null or not set if a read back is not needed
|
|
/// </summary>
|
|
public Byte[] ReadbackValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// Mark Update as failed if write was not successful
|
|
/// </summary>
|
|
public Boolean IsCiritcal { get; set; }
|
|
|
|
|
|
/// <summary>
|
|
/// Condition when the register will be overridden
|
|
/// </summary>
|
|
public RegisterRecoveryAccess Access { get; set; }
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|