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
Properties
FaultCode
Gets or sets the Fault Code that is to be cleared.
public int? FaultCode { get; set; }
Property Value
Methods
Clone()
Create a copy.
public override IBinaryPayload Clone()
Returns
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
intController protocol for the refrigeration unit.
Returns
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
intController protocol for the refrigeration unit.