Files
2026-04-23 17:50:07 +02:00

38 lines
1.2 KiB
C#

using System;
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.Consts
{
/// <summary>
/// Alarm messages
/// </summary>
[Flags]
public enum Alarm
{
// ReSharper disable InconsistentNaming
#pragma warning disable CS1591
REBOOT = 1 << 0, //Bit 0
LOW_BATTERY = 1 << 1, //Bit 1
//Bit 2
//Bit 3
EMPTY_PIPE = 1 << 4, //Bit 4
//Bit 5
REVERSE_FLOW = 1 << 6, //Bit 6
SUSPECT_LEAK = 1 << 7, //Bit 7
BROKEN_PIPE = 1 << 8, //Bit 8
LOW_PRESSURE = 1 << 9, //Bit 9
HIGH_PRESSURE = 1 << 10, //Bit 10
LOW_TEMPERATURE = 1 << 11, //Bit 11
HIGH_TEMPERATURE = 1 << 12, //Bit 12
RADIO_ERROR = 1 << 13, //Bit 13
METROLOGY_PARAMS = 1 << 14, //Bit 14
METROLOGY_MEASURE = 1 << 15, //Bit 15
ALL = 0x7FFFFFFF //enum is defined as Int32
#pragma warning restore CS1591
// ReSharper restore InconsistentNaming
}
}