public abstract class GoDevice extends Device implements VehicleIdentificationNumberAware, LicensableAware
Device.Entity.EntityBuilder<C extends Entity,B extends Entity.EntityBuilder<C,B>>| Modifier and Type | Field and Description |
|---|---|
protected List<Group> |
autoGroups
Gets or sets the messaging status
Group(s). |
A1_PREFIX, A1_PRODUCT_ID, activeFrom, activeTo, comment, CUSTOM_DEVICE_PRODUCT_ID, customFeatures, customProperties, DEFAULT_MAX_NO_LOG_SECONDS, deviceFlags, devicePlanBillingInfo, devicePlans, deviceType, GO_DRIVE_PREFIX, GO_DRIVE_PRODUCT_ID, GO_MAX_PRODUCT_ID, GO_PREFIX_TO_PRODUCT_ID_MAPPING, GO10_PREFIX, GO10_PRODUCT_ID, GO2_PREFIX, GO2_PRODUCT_ID, GO3_PREFIX, GO3_PRODUCT_ID, GO4_PREFIX, GO4_PRODUCT_ID, GO4_V3_PREFIX, GO4_V3_PRODUCT_ID, GO5_PREFIX, GO5_PRODUCT_ID, GO6_PREFIX, GO6_PRODUCT_ID, GO7_PREFIX, GO7_PRODUCT_ID, GO8_PREFIX, GO8_PRODUCT_ID, GO8_PRODUCT_ID_NO_GPS, GO9_PREFIX, GO9_PRODUCT_ID, GO9_PRODUCT_ID_NO_GPS, GO9B_PREFIX, GO9B_PRODUCT_ID, groups, HISTORIC_MAX, HISTORIC_MIN, HISTORIC_SERIAL_NUMBER, ignoreDownloadsUntil, MAX_DATE, maxSecondsBetweenLogs, mediaFiles, MIN_DATE, minSecondsBetweenLogs, OLD_GEOTAB_PRODUCT_ID, productId, serialNumber, timeToDownload, timeZoneId, U1_PREFIX, U1_PRODUCT_ID, UNTRACKED_ASSET_HARDWARE_ID, UNTRACKED_ASSET_PRODUCT_ID, workTime| Constructor and Description |
|---|
GoDevice() |
| Modifier and Type | Method and Description |
|---|---|
static int |
byteToDegrees(short value)
Converts bytes to degrees.
|
static double |
byteToSpeed(short value)
Converts byte to speed.
|
static boolean[] |
checkAndPadAuxArray(boolean[] booleanArray)
Checks the provided array is the correct length and pads it to the correct length if it is not.
|
static double[] |
checkAndPadAuxArray(double[] doubleArray)
Checks the provided array is the correct length and pads it to the correct length if it is not.
|
static boolean[] |
checkAndPadAuxIgnArray(boolean[] booleanArray)
Checks the provided array is the correct length and pads it to the correct length if it is not.
|
static short[] |
checkAndPadChannelArray(short[] shortArray)
Checks the provided array is the correct length and pads it to the correct length if it is not.
|
static short |
degreesToByte(int value)
Converts Degrees to byte.
|
Boolean |
isExternalDevicePowerControlSupported()
Gets returns true if this device supports external device power control.
|
Boolean |
isGarminSupported()
Determines whether garmin is supported on this device.
|
Boolean |
isPinDevice() |
Boolean |
isRFDevice()
Returns true if this device is definitely an rf device.
|
void |
populateDefaults()
Set default values for the
Device instance. |
static short |
speedToByte(double value)
Converts speed to byte.
|
deviceTypeFromProductId, fromProductId, fromSerialNumber, isNoGpsDevice, prefixFromDeviceType, productIdFromSerialNumberaddExtraProperty, getExtraProperties, isSystemEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEngineVehicleIdentificationNumber, getVehicleIdentificationNumber, setEngineVehicleIdentificationNumber, setPinDevice, setVehicleIdentificationNumbergetLicensePlate, getLicenseState, setLicensePlate, setLicenseStateprotected List<Group> autoGroups
Group(s). Drivers with Garmin-equipped vehicles can update their working
status by choosing one from a set of common statuses. This status update is shared with their team. For example,
when drivers finish their work, they can set their statuses to 'Available'. Their dispatcher is notified of this
and can begin to assign work based on both the location and availability of the drivers. Default [Empty].public Boolean isPinDevice()
isPinDevice in interface VehicleIdentificationNumberAwarepublic Boolean isExternalDevicePowerControlSupported()
public static int byteToDegrees(short value)
value - The value.public static double byteToSpeed(short value)
value - The value.public static boolean[] checkAndPadAuxArray(boolean[] booleanArray)
booleanArray - The boolean array.public static double[] checkAndPadAuxArray(double[] doubleArray)
doubleArray - The double array.public static boolean[] checkAndPadAuxIgnArray(boolean[] booleanArray)
booleanArray - The boolean array.public static short[] checkAndPadChannelArray(short[] shortArray)
shortArray - The short array.public static short degreesToByte(int value)
value - The value.public static short speedToByte(double value)
value - The value.public Boolean isGarminSupported()
public Boolean isRFDevice()
public void populateDefaults()
DeviceDevice instance.populateDefaults in class DeviceCopyright © 2023. All rights reserved.