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
byteThe value.
Returns
- int
The angle.
ByteToSpeed(byte)
Converts byte to speed.
public static double ByteToSpeed(byte value)
Parameters
value
byteThe value.
Returns
- double
The speed in km/h.
DegreesToByte(int)
Converts Degrees to byte.
public static byte DegreesToByte(int value)
Parameters
value
intThe value.
Returns
- byte
The byte representation of the direction.
SpeedToByte(double)
Converts speed to byte.
public static byte SpeedToByte(double value)
Parameters
value
doubleThe value.
Returns
- byte
The byte encoded representation of the speed.