49 lines
1.4 KiB
C#
49 lines
1.4 KiB
C#
namespace Xylem.Common.Hardware.WaterMeter.Genesis.Protocols.RequestProtocol.Consts
|
|
{
|
|
/// <summary>
|
|
/// Acknowledge feedback from meter after communication
|
|
/// </summary>
|
|
public enum RequestAcknowledgeState
|
|
{
|
|
/// <summary>
|
|
/// Acknowledge code for unassigned command
|
|
/// </summary>
|
|
CommandNotAssigned,
|
|
/// <summary>
|
|
/// Will be used initially as the record is not sent
|
|
/// </summary>
|
|
Unsent,
|
|
/// <summary>
|
|
/// Response missing
|
|
/// </summary>
|
|
NoResponse,
|
|
/// <summary>
|
|
/// Response command not match the required command
|
|
/// </summary>
|
|
CommandError,
|
|
/// <summary>
|
|
/// Lost connection (logged out from meter), a re-authorization is required
|
|
/// to access this command and/or register
|
|
/// </summary>
|
|
AuthorizationRequired,
|
|
/// <summary>
|
|
/// Meter error received, a retry may be useful
|
|
/// </summary>
|
|
MeterError,
|
|
/// <summary>
|
|
/// The response record couldn't be decoded
|
|
/// </summary>
|
|
DecodingError,
|
|
/// <summary>
|
|
/// The meter sent a wakeup message instead of the required data
|
|
/// </summary>
|
|
WakeupMessage,
|
|
/// <summary>
|
|
/// Valid meter response record
|
|
/// </summary>
|
|
Ok
|
|
|
|
|
|
}
|
|
}
|