Class SerialIoxContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
The contents of a TextMessage containing data to give to a third-party IOX Add-On over an RS232.
The SerialIoxContent is a 'dumb pipe' type of message. Whatever data is put in the data property will be delivered, as is, to the system on the other end of the IOX-RS232.
public class SerialIoxContent : DataToComponentContent, IBinaryPayload
- Inheritance
-
SerialIoxContent
- Implements
- Inherited Members
Constructors
SerialIoxContent()
Initializes a new instance of the SerialIoxContent class.
public SerialIoxContent()
SerialIoxContent(int, byte[])
Initializes a new instance of the SerialIoxContent class.
public SerialIoxContent(int channel, byte[] data)
Parameters
Properties
Channel
Gets or sets the channel the IoxAddOn is communicating over. 0 means the Add-On is not attached.
public int? Channel { get; set; }
Property Value
Data
Gets or sets the data to send to the IoxAddOn. Up to 235 bytes can be sent.
public byte[]? Data { 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.