40 lines
1.4 KiB
C#
40 lines
1.4 KiB
C#
using Xylem.Common.Hardware.WaterMeter.Genesis.DataPackages.MeasurementRecords;
|
|
|
|
namespace Xylem.Common.Hardware.WaterMeter.Genesis.GenesisCore.Consts
|
|
{
|
|
/// <summary>
|
|
/// Streaming modes that supported by genesis meter.
|
|
/// Set meter to this Streaming mode means that , the meter pushes mode-specific record to port without any responses
|
|
/// </summary>
|
|
public enum LedMode
|
|
{
|
|
/// <summary>
|
|
/// Test mode with raw record to log.
|
|
/// Should give one <see cref="FlowTestRecord"/>
|
|
/// 3 times <see cref="CalibrationRecord"/> and
|
|
/// one <see cref="BendDetectionRecord"/>
|
|
/// </summary>
|
|
FlowTestAndCalibDataAndBendCorrect = 7,
|
|
/// <summary>
|
|
/// Test mode with raw record to log. Should give one <see cref="FlowTestRecord"/>
|
|
/// 3 times <see cref="CalibrationRecord"/> and repeat this till led mode is switch
|
|
/// </summary>
|
|
FlowTestAndCalibData = 6,
|
|
/// <summary>
|
|
/// Test mode should give <see cref="FlowTestRecord"/> out
|
|
/// </summary>
|
|
FlowTestData = 4,
|
|
/// <summary>
|
|
/// Calibration mode should give <see cref="CalibrationRecord"/> out
|
|
/// </summary>
|
|
CalibData = 3,
|
|
/// <summary>
|
|
/// Deactivate streaming
|
|
/// </summary>
|
|
Off = 0,
|
|
/// <summary>
|
|
/// not set or an new not supported Streaming mode
|
|
/// </summary>
|
|
Unknown = -1
|
|
}
|
|
} |