Table of Contents

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

HashSet<int>

The Caterpillar vehicle product ids.

FordProductIds

Gets the Ford product ids.

public static HashSet<int> FordProductIds { get; }

Property Value

HashSet<int>

The Ford vehicle product ids.

GmProductIds

Gets the GM product ids.

public static HashSet<int> GmProductIds { get; }

Property Value

HashSet<int>

The GM vehicle product ids.

LatlonProductIds

Gets the lat-lon product ids.

public static HashSet<int> LatlonProductIds { get; }

Property Value

HashSet<int>

The lat-lon vehicle product ids.

NavistarProductIds

Gets the Navistar product ids.

public static HashSet<int> NavistarProductIds { get; }

Property Value

HashSet<int>

The Navistar vehicle product ids.

OemDeviceTypes

Gets the OEM device types.

public static HashSet<int> OemDeviceTypes { get; }

Property Value

HashSet<int>

The OEM device types.

OrbcommProductIds

Gets the orbcomm product ids.

public static HashSet<int> OrbcommProductIds { get; }

Property Value

HashSet<int>

The orbcomm vehicle product ids.

PsaProductIds

Gets the PSA product ids.

public static HashSet<int> PsaProductIds { get; }

Property Value

HashSet<int>

The PSA vehicle product ids.

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

HashSet<int>

The third-party vehicle device types.

Methods

IsCaterpillarDevice(int)

Check if a product ID is a Caterpillar device.

public static bool IsCaterpillarDevice(int productId)

Parameters

productId int

The 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 int

The 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 int

The 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 int

The 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 int

The 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 int

The 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 int

The 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 string

The 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 int

The 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 int

The product identifier.

Returns

bool

true if [is third party vehicle device] [the specified product identifier]; otherwise, false.