Enum
public enum EmulatorState

Namespace: SharpMeter.Emulator

Represents the current state of the meter emulator state machine.

Fields

NameDescription
Authenticated static Security authentication completed.
Identified static Identify has been received.
Idle static No session established.
LoggedOn static User has logged on.
Negotiated static Baud rate negotiation completed.

Authenticated

Authenticated = 4

Security authentication completed.

Identified

Identified = 1

Identify has been received.

Idle

Idle = 0

No session established.

LoggedOn

LoggedOn = 3

User has logged on.

Negotiated

Negotiated = 2

Baud rate negotiation completed.

View Source
/// <summary>
///     Represents the current state of the meter emulator state machine.
/// </summary>
public enum EmulatorState
{
    /// <summary>No session established.</summary>
    Idle,
    /// <summary>Identify has been received.</summary>
    Identified,
    /// <summary>Baud rate negotiation completed.</summary>
    Negotiated,
    /// <summary>User has logged on.</summary>
    LoggedOn,
    /// <summary>Security authentication completed.</summary>
    Authenticated
}
Was this page helpful?