Class ColdChainContent
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Generates message content to trigger changes on a cooling unit (e.g. reefer). For more details on how the data is sent to the device, see MimeContentBase.
public abstract class ColdChainContent : MimeContentBase, IBinaryPayload
- Inheritance
-
ColdChainContent
- Implements
- Derived
- Inherited Members
Constructors
ColdChainContent(MessageContentType, int)
Initializes a new instance of the ColdChainContent class.
protected ColdChainContent(MessageContentType messageContentType, int channelNumber)
Parameters
messageContentType
MessageContentTypeMessage content type for this content type.
channelNumber
intChannel number of IOX device.
Properties
ComponentType
Gets the component type of the message.
public override int ComponentType { get; }
Property Value
ControllerProtocol
Gets or sets the controller protocol value.
public int? ControllerProtocol { get; set; }
Property Value
MimeType
Gets or sets the media type of content contained in the data field. Free string, Maximum 255 characters.
public override string? MimeType { get; set; }
Property Value
Payload
Gets method to get raw binary. NOTE: The endianness of IDs and other numbers inside of the payload are reversed to keep the C# format.
public byte[] Payload { get; }
Property Value
- byte[]
byte buffer.
Methods
Clone()
Create a copy.
public abstract IBinaryPayload Clone()