Class IoxOutputContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The contents of a TextMessage that can be used to control the state of an IOX-OUTPUT.
public class IoxOutputContent : DataToComponentContent, IBinaryPayload
- Inheritance
-
IoxOutputContent
- Implements
- Inherited Members
Constructors
IoxOutputContent()
Initializes a new instance of the IoxOutputContent class and sets relay position to off.
public IoxOutputContent()
IoxOutputContent(bool)
Initializes a new instance of the IoxOutputContent class.
public IoxOutputContent(bool isRelayOn)
Parameters
isRelayOn
boolIs the relay on.
Properties
IsRelayOn
Gets or sets a value indicating whether the relay state. [true] if the relay is on; otherwise, [false].
public bool IsRelayOn { get; set; }
Property Value
Methods
Clone()
Create a copy.
public override IBinaryPayload Clone()
Returns
- IBinaryPayload
The cloned instance.
GetData()
Gets the data for the payload.
protected override byte[] GetData()
Returns
- byte[]
The data.