Table of Contents

Class ColdChainFaultClearContent

Namespace
Geotab.Checkmate.ObjectModel
Assembly
Geotab.Checkmate.ObjectModel.dll

Generates message content to trigger the clearing of a fault code on a cooling unit (e.g. reefer). For more details on how the data is sent to the device, see MimeContentBase.

public class ColdChainFaultClearContent : ColdChainContent, IBinaryPayload
Inheritance
ColdChainFaultClearContent
Implements
Inherited Members

Constructors

ColdChainFaultClearContent()

Initializes a new instance of the ColdChainFaultClearContent class.

public ColdChainFaultClearContent()

ColdChainFaultClearContent(int, int?)

Initializes a new instance of the ColdChainFaultClearContent class.

public ColdChainFaultClearContent(int channelNumber, int? faultCode)

Parameters

channelNumber int

Channel number of IOX device.

faultCode int?

Fault code to clear on IOX device.

Properties

FaultCode

Gets or sets the Fault Code that is to be cleared.

public int? FaultCode { get; set; }

Property Value

int?

int

Methods

Clone()

Create a copy.

public override IBinaryPayload Clone()

Returns

IBinaryPayload

IBinaryPayload

GenerateEncodedMessage(int?, int)

Generates base 64 byte encoded message for clearing faults

public static byte[] GenerateEncodedMessage(int? faultCode, int controllerProtocol)

Parameters

faultCode int?

Fault code to clear on IOX device.

controllerProtocol int

Controller protocol for the refrigeration unit.

Returns

byte[]

Array of byte

GetAlarmCode(int?, int)

Gets alarm code based on fault code and controller protocol.

public static int GetAlarmCode(int? faultCode, int controllerProtocol)

Parameters

faultCode int?

Fault code to clear on IOX device.

controllerProtocol int

Controller protocol for the refrigeration unit.

Returns

int

int