Table of Contents

Class ColdChainSetpointSetContent

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

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

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

Constructors

ColdChainSetpointSetContent()

Initializes a new instance of the ColdChainSetpointSetContent class.

public ColdChainSetpointSetContent()

ColdChainSetpointSetContent(int, int, int)

Initializes a new instance of the ColdChainSetpointSetContent class.

public ColdChainSetpointSetContent(int channelNumber, int temperatureZone, int temperature)

Parameters

channelNumber int

Channel number of IOX device.

temperatureZone int

Temperature Zone to adjust setpoint on IOX device.

temperature int

The temperature to set the setpoint to.

Properties

Temperature

Gets or sets the setpoint temperature (°C) that is to be set.

public int? Temperature { get; set; }

Property Value

int?

int

TemperatureZone

Gets or sets the Temperature Zone that is to be set.

public int? TemperatureZone { get; set; }

Property Value

int?

int

Methods

Clone()

Create a copy.

public override IBinaryPayload Clone()

Returns

IBinaryPayload

IBinaryPayload

GenerateEncodedMessage(int, int, int)

Generates base 64 byte encoded message for adjusting the setpoint temperature

public static byte[] GenerateEncodedMessage(int temperatureZone, int temperature, int controllerProtocol)

Parameters

temperatureZone int

Temperature Zone to adjust setpoint on IOX device.

temperature int

The temperature to set the setpoint to.

controllerProtocol int

Controller protocol for the refrigeration unit.

Returns

byte[]

Array of byte