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

73 lines
1.9 KiB
C#

namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisFile.Consts
{
/// <summary>
/// Genesis meter firmware update states
/// </summary>
public enum FwUpdateState
{
/// <summary>
/// FW Update State Idle
/// </summary>
Idle,
/// <summary>
/// FW update single step failed
/// </summary>
StepFailed,
/// <summary>
/// FW update entire process failed
/// </summary>
UpdateFailed,
/// <summary>
/// Start initial FW update
/// </summary>
StartInitial,
/// <summary>
/// Erase test file as this reserves space for update over the air
/// </summary>
EraseTstFile,
/// <summary>
/// Repeat FW update
/// </summary>
RepeatFwUpdate,
/// <summary>
/// Upload (partial-) update files
/// </summary>
UploadFileApps,
/// <summary>
/// Download (partial-) update files
/// </summary>
DownloadFileApps,
/// <summary>
/// Compare (partial-) update files
/// </summary>
CompareFileApps,
/// <summary>
/// Download upgrade control file
/// </summary>
DownloadUpgradeControlFile,
/// <summary>
/// Build upgrade control file
/// </summary>
BuildUpgradeControlFile,
/// <summary>
/// Build Update Files
/// </summary>
BuildFileApps,
/// <summary>
/// Trigger Upgrade
/// </summary>
TriggerUpgrade,
/// <summary>
/// Erase update file
/// </summary>
EraseUpdateFile,
/// <summary>
/// Prepare update, read registers for restorer and store configuration
/// </summary>
PrepareUpdate,
/// <summary>
/// Delimiter for list
/// </summary>
FwUpdateStateListDelimiter
}
}