common/Hardware/WaterMeter/Genesis/GenesisFile/MeterFilesEraseRestore.cs
2026-04-23 17:50:07 +02:00

22 lines
768 B
C#

using System;
using System.Collections.Generic;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile
{
/// <summary>
/// Genesis meter files which can be erased before FW-Update and have to be restored after FW-Update.
/// </summary>
public class MeterFilesEraseRestore
{
/// <summary>
/// This defines a name only or a mask with ending wildcard e.g. "1\\upg*"
/// </summary>
public List<String> Erase;
/// <summary>
/// This defines an exact name, the size and eventually a test pattern to write to the file,
/// if the test pattern is null, the FSeek can be used to write a single byte at the end.
/// </summary>
public List<MeterFileRestore> Restore;
}
}