Class State
Represents the state of the board.
public class State : IEquatable<State>
- Inheritance
-
State
- Implements
- Derived
- Inherited Members
Constructors
State(string)
Initializes a new instance of the State class.
public State(string key)
Parameters
key
stringThe unique key.
Exceptions
- ArgumentException
Thrown when
key
is null, empty or whitespace.
Properties
DefectEeprom
Gets a ErrorState representing a defect EEPROM.
public static State DefectEeprom { get; }
Property Value
Key
Gets the key.
public string Key { get; }
Property Value
OK
Gets a OK state.
public static State OK { get; }
Property Value
UnknownFunctionCode
Gets a ErrorState representing an unknown function code.
public static State UnknownFunctionCode { get; }
Property Value
UnknownRelayNumber
Gets a ErrorState for an unknown relay number.
public static State UnknownRelayNumber { get; }
Property Value
Methods
Equals(State)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(State other)
Parameters
other
StateAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.