Table of Contents

Class ByteConversionHelper

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

The DateTimeUtils class.

public static class ByteConversionHelper
Inheritance
ByteConversionHelper
Inherited Members

Methods

ByteToDegrees(byte)

Converts bytes to degrees.

public static int ByteToDegrees(byte value)

Parameters

value byte

The value.

Returns

int

The angle.

ByteToSpeed(byte)

Converts byte to speed.

public static double ByteToSpeed(byte value)

Parameters

value byte

The value.

Returns

double

The speed in km/h.

DegreesToByte(int)

Converts Degrees to byte.

public static byte DegreesToByte(int value)

Parameters

value int

The value.

Returns

byte

The byte representation of the direction.

SpeedToByte(double)

Converts speed to byte.

public static byte SpeedToByte(double value)

Parameters

value double

The value.

Returns

byte

The byte encoded representation of the speed.