Class ThirdPartyHelper
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
This class contains helper methods related to encoding and parsing device serial numbers and hardware IDs.
public static class ThirdPartyHelper
- Inheritance
-
ThirdPartyHelper
- Inherited Members
Properties
CaterpillarProductIds
Gets the Caterpillar product ids.
public static HashSet<int> CaterpillarProductIds { get; }
Property Value
FordProductIds
Gets the Ford product ids.
public static HashSet<int> FordProductIds { get; }
Property Value
GmProductIds
Gets the GM product ids.
public static HashSet<int> GmProductIds { get; }
Property Value
LatlonProductIds
Gets the lat-lon product ids.
public static HashSet<int> LatlonProductIds { get; }
Property Value
NavistarProductIds
Gets the Navistar product ids.
public static HashSet<int> NavistarProductIds { get; }
Property Value
OemDeviceTypes
Gets the OEM device types.
public static HashSet<int> OemDeviceTypes { get; }
Property Value
OrbcommProductIds
Gets the orbcomm product ids.
public static HashSet<int> OrbcommProductIds { get; }
Property Value
PsaProductIds
Gets the PSA product ids.
public static HashSet<int> PsaProductIds { get; }
Property Value
ThirdPartyDeviceTypes
Gets the third-party device types.
public static IReadOnlyDictionary<int, string> ThirdPartyDeviceTypes { get; }
Property Value
- IReadOnlyDictionary<int, string>
The third-party device types.
ThirdPartyVehicleDeviceTypes
Gets the third-party vehicle device types.
public static HashSet<int> ThirdPartyVehicleDeviceTypes { get; }
Property Value
Methods
IsCaterpillarDevice(int)
Check if a product ID is a Caterpillar device.
public static bool IsCaterpillarDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported Caterpillar device.
IsFordDevice(int)
Checks if a product ID is a Ford device.
public static bool IsFordDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported Ford device type, false otherwise.
IsGmDevice(int)
Checks if a product ID is a GM device.
public static bool IsGmDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported GM device type, false otherwise.
IsNavistarDevice(int)
Checks if a product ID is a Navistar device.
public static bool IsNavistarDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported Navistar device type, false otherwise.
IsOemDevice(int)
Checks if a product ID is a supported OEM device type.
public static bool IsOemDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported OEM device type, false otherwise.
IsPsaDevice(int)
Checks if a product ID is a PSA device.
public static bool IsPsaDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported PSA device type, false otherwise.
IsThirdPartyDevice(int)
Checks if a product ID is a supported third-party device type.
public static bool IsThirdPartyDevice(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID is a supported third-party device type, false otherwise.
IsThirdPartyDevice(string)
Checks if a serial number or device prefix is a supported third-party device type.
public static bool IsThirdPartyDevice(string value)
Parameters
value
stringThe serial number or device prefix.
Returns
- bool
True if the serial number or device prefix is a supported third-party device type, false otherwise.
IsThirdPartyDeviceWithNonStandardVin(int)
Check if a product ID allows for a non-standard VIN length.
public static bool IsThirdPartyDeviceWithNonStandardVin(int productId)
Parameters
productId
intThe product ID.
Returns
- bool
True if the product ID allows for a non-standard VIN length.
IsThirdPartyVehicleDevice(int)
Determines whether [is third party vehicle device] [the specified product identifier].
public static bool IsThirdPartyVehicleDevice(int productId)
Parameters
productId
intThe product identifier.