Table of Contents

Class FlashMemoryContent

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

Message content to flash memory.

public class FlashMemoryContent : DataToComponentContent, IBinaryPayload
Inheritance
FlashMemoryContent
Implements
Inherited Members

Constructors

FlashMemoryContent()

Initializes a new instance of the FlashMemoryContent class. Message content to flash memory on a device.

public FlashMemoryContent()

FlashMemoryContent(int?, int)

Initializes a new instance of the FlashMemoryContent class. Message content to flash memory on a device.

public FlashMemoryContent(int? hardwareId, int flashArea)

Parameters

hardwareId int?

The hardware ID of the device.

flashArea int

The area to flash.

Properties

FlashArea

Gets or sets the area to flash.

public int FlashArea { get; set; }

Property Value

int

The flash area.

HardwareId

Gets or sets the hardware ID for the device.

public int? HardwareId { get; set; }

Property Value

int?

The hardware ID.

Methods

Clone()

Create a copy.

public override IBinaryPayload Clone()

Returns

IBinaryPayload

a clone

GetData()

Gets the data for the payload. Payload structure: [Instruction Byte (1 byte) | Hardware ID (4 bytes) | Flash Area (4 bytes) | Reserved (2 bytes)]

protected override byte[] GetData()

Returns

byte[]

the payload