Enum
public enum GetRequestType

Namespace: SharpMeter.Dlms.Enums

DLMS GET request sub-types.

Fields

NameDescription
Next static GET with next block — block transfer continuation.
Normal static Normal GET request — single attribute read.
WithList static GET with list — multiple attribute read.

Next

Next = 2

GET with next block — block transfer continuation.

Normal

Normal = 1

Normal GET request — single attribute read.

WithList

WithList = 3

GET with list — multiple attribute read.

View Source
/// <summary>
///     DLMS GET request sub-types.
/// </summary>
[SuppressMessage("Design", "CA1028:Enum storage should be Int32", Justification = "Wire protocol requires byte-sized values.")]
[SuppressMessage("Design", "CA1008:Enums should have zero value", Justification = "Protocol enum where 0 is not a valid request type.")]
public enum GetRequestType : byte
{
    /// <summary>Normal GET request — single attribute read.</summary>
    Normal = 1,
    /// <summary>GET with next block — block transfer continuation.</summary>
    Next = 2,
    /// <summary>GET with list — multiple attribute read.</summary>
    WithList = 3
}
Was this page helpful?