common/Hardware/WaterMeter/Genesis/Applications/Const/MeterAppState.cs
2026-04-23 17:50:07 +02:00

79 lines
2.4 KiB
C#

namespace Xylem.Common.Hardware.WaterMeter.Genesis.Applications.Const
{
/// <summary>
/// Genesis meter application state
/// </summary>
public enum MeterAppState
{
/// <summary>
/// This file application is not installed in the meter
/// </summary>
MeterAppNotInstalled,
/// <summary>
/// Meter version is equal to file version - it is up to date
/// </summary>
MeterAppUpToDate,
/// <summary>
/// Installation of application is required
/// </summary>
MeterAppInstallationRequired,
/// <summary>
/// Meter application is different from file application
/// </summary>
MeterAppVersionOutdated,
/// <summary>
/// CRC does not match even if meter and file application version are
/// shown as being identical!
/// </summary>
InvalidCrc,
/// <summary>
/// Meter applications has to be erased
/// </summary>
MeterAppErasureRequired,
/// <summary>
/// Application successfully downloaded to meter
/// </summary>
MeterAppDownloadSucceeded,
/// <summary>
/// Application download to meter suspicious
/// </summary>
MeterAppDownloadSuspicious,
/// <summary>
/// Application successfully erased from meter
/// </summary>
MeterAppSuccessfulErased,
/// <summary>
/// Application successfully updated in meter
/// </summary>
MeterAppSuccessfulUpdated,
/// <summary>
/// Application download to meter failed
/// </summary>
MeterAppDownloadFailed,
/// <summary>
/// Application download to meter active ongoing
/// </summary>
MeterAppDownloadActive,
/// <summary>
/// This file application is invalid
/// </summary>
FileAppInvalid,
/// <summary>
/// State is unknown because package file not loaded
/// </summary>
Unknown,
/// <summary>
/// Meter application detected but not checked
/// </summary>
MeterAppInstalledUnchecked,
/// <summary>
/// Meter application is not required
/// </summary>
MeterAppNotRequired,
/// <summary>
/// Delimiter for list
/// </summary>
MeterAppStateListDelimiter
}
}