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
intChannel number of IOX device.
temperatureZone
intTemperature Zone to adjust setpoint on IOX device.
temperature
intThe 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
TemperatureZone
Gets or sets the Temperature Zone that is to be set.
public int? TemperatureZone { get; set; }
Property Value
Methods
Clone()
Create a copy.
public override IBinaryPayload Clone()
Returns
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
intTemperature Zone to adjust setpoint on IOX device.
temperature
intThe temperature to set the setpoint to.
controllerProtocol
intController protocol for the refrigeration unit.