Enum
public enum MeterMode

Namespace: SharpMeter.Core.Enums

Meter operational modes.

Fields

NameDescription
DemandOnly static Demand-only mode.
DemandPlusLoadProfile static Demand plus load profile recording.
TimeOfUse static Time-of-use mode.

DemandOnly

DemandOnly = 0

Demand-only mode.

DemandPlusLoadProfile

DemandPlusLoadProfile = 1

Demand plus load profile recording.

TimeOfUse

TimeOfUse = 2

Time-of-use mode.

View Source
/// <summary>
///     Meter operational modes.
/// </summary>
[SuppressMessage("Design", "CA1028:Enum storage should be Int32", Justification = "Wire protocol requires byte for binary serialization.")]
public enum MeterMode : byte
{
    /// <summary>Demand-only mode.</summary>
    DemandOnly = 0,
    /// <summary>Demand plus load profile recording.</summary>
    DemandPlusLoadProfile = 1,
    /// <summary>Time-of-use mode.</summary>
    TimeOfUse = 2
}
Was this page helpful?