Enum
public enum RelayAction

Namespace: SharpMeter.Core.Enums

Remote disconnect relay actions (MP 89).

Fields

NameDescription
CloseAutomatic static Automatically close the relay.
CloseManual static Manually close the relay.
Open static Open the relay.
OutageOpen static Open due to outage condition.
PerformTest static Perform relay self-test.
ResetSwitchBoard static Reset the switch board controller.
SampleChargeCapacitorVoltage static Sample charge capacitor voltage.
UpdateStatus static Update relay status information.

CloseAutomatic

CloseAutomatic = 1

Automatically close the relay.

CloseManual

CloseManual = 0

Manually close the relay.

Open

Open = 2

Open the relay.

OutageOpen

OutageOpen = 3

Open due to outage condition.

PerformTest

PerformTest = 6

Perform relay self-test.

ResetSwitchBoard

ResetSwitchBoard = 7

Reset the switch board controller.

SampleChargeCapacitorVoltage

SampleChargeCapacitorVoltage = 5

Sample charge capacitor voltage.

UpdateStatus

UpdateStatus = 4

Update relay status information.

View Source
/// <summary>
///     Remote disconnect relay actions (MP 89).
/// </summary>
[SuppressMessage("Design", "CA1028:Enum storage should be Int32", Justification = "Wire protocol requires byte for binary serialization.")]
public enum RelayAction : byte
{
    /// <summary>Manually close the relay.</summary>
    CloseManual = 0,
    /// <summary>Automatically close the relay.</summary>
    CloseAutomatic = 1,
    /// <summary>Open the relay.</summary>
    Open = 2,
    /// <summary>Open due to outage condition.</summary>
    OutageOpen = 3,
    /// <summary>Update relay status information.</summary>
    UpdateStatus = 4,
    /// <summary>Sample charge capacitor voltage.</summary>
    SampleChargeCapacitorVoltage = 5,
    /// <summary>Perform relay self-test.</summary>
    PerformTest = 6,
    /// <summary>Reset the switch board controller.</summary>
    ResetSwitchBoard = 7
}
Was this page helpful?