Table of Contents

Class GoLegacy

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

A legacy Geotab device is any GO device prior to Go5. Additional properties can be seen in GoDevice.

public class GoLegacy : GoDevice, IEntity, IComparable, IIdentifiable, IVersion, IGroupLinked, ITimeZoneIdProvider, IDefaultable, ICustomizable<Device>, IMediaFiles, IInstanceSizeEstimate, IVehicleIdentificationNumber, ILicensable, IAutoGroupsProvider, IFuelProvider, IOdometerProvider, IEngineHoursProvider, IHOSDevice, IRfChannels, IDigitalAuxiliaries
Inheritance
GoLegacy
Implements
Inherited Members

Constructors

GoLegacy()

Initializes a new instance of the GoLegacy class.

public GoLegacy()

GoLegacy(Id?, long?, string?, string?, string?, string?, bool?, string?, string?, int?, TimeSpan?, DateTime?, int?, string?, bool?, short?, short?, WorkTime?, bool[]?, float?, IList<Group>?, string?, DeviceFlags?, IList<Group>?, List<CustomParameter>?, EngineType?, double?, bool?, double?, double?, int?, bool?, uint?, bool?, bool?, bool?, int?, double?, double?, int?, double?, int?, double?, int?, double?, bool?, bool[], double[]?, bool[]?, bool?, int?, bool?, int?, bool?, bool?, byte?, short[]?, byte?, short?, DateTime?, DateTime?, IReadOnlyList<DevicePlanBillingInfo>?, GoTalkLanguage?, double?, bool?, uint?, HosOption?, List<PropertyValue<Device>>?)

Initializes a new instance of the GoLegacy class.

public GoLegacy(Id? id, long? version, string? name, string? comment, string? vehicleIdentificationNumber, string? engineVehicleIdentificationNumber, bool? pinDevice, string? licensePlate, string? licenseState, int? productId, TimeSpan? timeToDownload, DateTime? ignoreDownloadsUntil, int? hardwareId, string? serialNumber, bool? enableMustReprogram, short? minor, short? major, WorkTime? workTime, bool[]? isAuxInvertedArray, float? maxSecondsBetweenLogs, IList<Group>? groups, string? timeZoneId, DeviceFlags? deviceFlags, IList<Group>? autoGroups, List<CustomParameter>? customParameters, EngineType? engineType, double? minAccidentSpeed, bool? isSpeedIndicator, double? speedingOn, double? speedingOff, int? gpsOffDelay, bool? disableBuzzer, uint? parameterVersion, bool? ensureHotStart, bool? enableSpeedWarning, bool? enableBeepOnIdle, int? idleMinutes, double? deltaSpeed, double? deltaMinSpeed, int? deltaHeading, double? deltaHeadingMinSpeed, int? deltaHeadingHs, double? deltaHeadingMinSpeedHs, int? deltaDistance, double? harshBreak, bool? isHarshBrakeWarningOn, bool[] enableAuxWarningArray, double[]? auxWarningSpeedArray, bool[]? isAuxIgnTriggerArray, bool? enableControlExternalRelay, int? externalDeviceShutDownDelay, bool? immobilizeUnit, int? immobilizeArming, bool? isAidedGpsEnabled, bool? isRfUploadOnWhenMoving, byte? channelCount, short[]? channelArray, byte? frequencyOffset, short? rfParameterVersion, DateTime? activeTo, DateTime? activeFrom, IReadOnlyList<DevicePlanBillingInfo>? devicePlanBillingInfo, GoTalkLanguage? goTalkLanguage, double? fuelTankCapacity, bool? disableSleeperBerth, uint? parameterVersionOnDevice, HosOption? autoHos, List<PropertyValue<Device>>? customProperties)

Parameters

id Id

The id.

version long?

The version.

name string

The name.

comment string

The comment.

vehicleIdentificationNumber string

The vehicle identification number.

engineVehicleIdentificationNumber string

The engine vehicle identification number.

pinDevice bool?

Disable automatic device moving.

licensePlate string

The license plate.

licenseState string

State of the license.

productId int?

The product id.

timeToDownload TimeSpan?

The time to download.

ignoreDownloadsUntil DateTime?

The ignore downloads until.

hardwareId int?

The hardware id.

serialNumber string

The serial number of the device.

enableMustReprogram bool?

The enable must reprogram.

minor short?

The minor.

major short?

The major.

workTime WorkTime

The work time.

isAuxInvertedArray bool[]

The is aux inverted array.

maxSecondsBetweenLogs float?

The max number of seconds between receiving logs from the device. If exceeded, data is considered missing. Must be at least 200s.

groups IList<Group>

The groups.

timeZoneId string

The Timezone id.

deviceFlags DeviceFlags

The device plan.

autoGroups IList<Group>

The auto groups.

customParameters List<CustomParameter>

The custom parameters.

engineType EngineType

Type of the engine.

minAccidentSpeed double?

The min accident speed.

isSpeedIndicator bool?

The is speed indicator.

speedingOn double?

The speeding on.

speedingOff double?

The speeding off.

gpsOffDelay int?

The GPS off delay.

disableBuzzer bool?

The disable buzzer.

parameterVersion uint?

The parameter version.

ensureHotStart bool?

The ensure hot start.

enableSpeedWarning bool?

The enable speed warning.

enableBeepOnIdle bool?

The enable beep on idle.

idleMinutes int?

The idle minutes.

deltaSpeed double?

The delta speed.

deltaMinSpeed double?

The delta min speed.

deltaHeading int?

The delta heading.

deltaHeadingMinSpeed double?

The delta heading min speed.

deltaHeadingHs int?

The delta heading hs.

deltaHeadingMinSpeedHs double?

The delta heading min speed hs.

deltaDistance int?

The delta distance.

harshBreak double?

The harsh break.

isHarshBrakeWarningOn bool?

The is harsh brake warning on.

enableAuxWarningArray bool[]

The enable aux warning array.

auxWarningSpeedArray double[]

The aux warning speed array.

isAuxIgnTriggerArray bool[]

The is aux ign trigger array.

enableControlExternalRelay bool?

The enable control external relay.

externalDeviceShutDownDelay int?

The external device shut down delay.

immobilizeUnit bool?

The immobilize unit.

immobilizeArming int?

The immobilize arming.

isAidedGpsEnabled bool?

The is aided GPS enabled.

isRfUploadOnWhenMoving bool?

The is rf upload on when moving.

channelCount byte?

The channel count.

channelArray short[]

The channel20 array.

frequencyOffset byte?

The frequency offset.

rfParameterVersion short?

The rf parameter version.

activeTo DateTime?

Date after which device becomes archived.

activeFrom DateTime?

Date after which device becomes active.

devicePlanBillingInfo IReadOnlyList<DevicePlanBillingInfo>

The device plan billing information.

goTalkLanguage GoTalkLanguage?

The language to be used by any attached GoTalk.

fuelTankCapacity double?

The capacity of all usable fuel tanks in litres.

disableSleeperBerth bool?

Hide the Sleeper Berth option

parameterVersionOnDevice uint?

The parameter version that is currently stored on the Device.

autoHos HosOption?

Represents automatic generation of DutyStatusLogs for a Device

customProperties List<PropertyValue<Device>>

The custom properties and its associated PropertyValue<T>s for this device.

Properties

AuxWarningSpeed

Gets or sets an array that can get/set the AuxWarningSpeeds for the vehicle.

[DeviceParameter]
public double[]? AuxWarningSpeed { get; set; }

Property Value

double[]

Array

Channel

Gets or sets exposes the radio channels as an array of 20 bytes.

public short[]? Channel { get; set; }

Property Value

short[]

array of short.

ChannelCount

Gets or sets the channel count.

public byte? ChannelCount { get; set; }

Property Value

byte?

byte

DeltaDistance

Gets or sets the distance to be used (in meters) to generate a log. A log will be reported each time the this distance has been exceeded. Default [1000].

public int? DeltaDistance { get; set; }

Property Value

int?

int

DeltaHeading

Gets or sets the delta heading. Default [48].

[DeviceParameter]
public int? DeltaHeading { get; set; }

Property Value

int?

int

DeltaHeadingHS

Gets or sets the delta heading HS. Default [14].

[DeviceParameter]
public int? DeltaHeadingHS { get; set; }

Property Value

int?

int

DeltaHeadingMinSpeed

Gets or sets the delta heading min speed in km/h. Default [14].

[DeviceParameter]
public double? DeltaHeadingMinSpeed { get; set; }

Property Value

double?

double

DeltaHeadingMinSpeedHS

Gets or sets the delta heading min speed HS in km/h. Default [72].

[DeviceParameter]
public double? DeltaHeadingMinSpeedHS { get; set; }

Property Value

double?

double

DeltaMinSpeed

Gets or sets the delta min speed in km/h. Default [50].

[DeviceParameter]
public double? DeltaMinSpeed { get; set; }

Property Value

double?

double

DeltaSpeed

Gets or sets the delta speed in km/h. Default [9].

[DeviceParameter]
public double? DeltaSpeed { get; set; }

Property Value

double?

double

EnableAuxWarning

Gets or sets an array that can get/set the EnableAuxWarnings for the vehicle.

[DeviceParameter]
public bool[]? EnableAuxWarning { get; set; }

Property Value

bool[]

Array

EnableControlExternalRelay

Gets or sets the EnableControlExternalRelay value for the vehicle.

[DeviceParameter]
public bool? EnableControlExternalRelay { get; set; }

Property Value

bool?

bool

ExternalDeviceShutDownDelay

Gets or sets the External Device ShutDown Delay value for the vehicle.

[DeviceParameter]
public int? ExternalDeviceShutDownDelay { get; set; }

Property Value

int?

int

FrequencyOffset

Gets or sets the FrequencyOffset used on the device radio. The default is 1 and should not be changed. Only has an effect on Channel Set 0 - which consists of channels 0 to 15.

public byte? FrequencyOffset { get; set; }

Property Value

byte?

byte

HarshBreak

Gets or sets the harsh break. Default [17].

[DeviceParameter]
public double? HarshBreak { get; set; }

Property Value

double?

double

ImmobilizeArming

Gets or sets the immobilize arming.

[DeviceParameter]
public int? ImmobilizeArming { get; set; }

Property Value

int?

int

ImmobilizeUnit

Gets or sets a value indicating whether [immobilize unit].

[DeviceParameter]
public bool? ImmobilizeUnit { get; set; }

Property Value

bool?

bool

IsAidedGpsEnabled

Gets or sets a value indicating whether this instance is aided GPS enabled.

[DeviceParameter]
public bool? IsAidedGpsEnabled { get; set; }

Property Value

bool?

bool

IsAuxIgnTrigger

Gets or sets an array that can get/set the IsAuxIgnTriggers for the vehicle.

[DeviceParameter]
public bool[]? IsAuxIgnTrigger { get; set; }

Property Value

bool[]

array of bool.

IsAuxInverted

Gets or sets an array of values indicating if a corresponding Aux signal should be inverted on importing the device data.

public bool[]? IsAuxInverted { get; set; }

Property Value

bool[]

array of bool.

IsHarshBrakeWarningOn

Gets or sets whether to send warning on harsh brake.

[DeviceParameter]
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceProgrammingHarshBrakeWarning })]
public bool? IsHarshBrakeWarningOn { get; set; }

Property Value

bool?

bool

IsRfUploadOnWhenMoving

Gets or sets the IsRfUploadOnWhenMoving value for the vehicle.

[DeviceParameter]
public bool? IsRfUploadOnWhenMoving { get; set; }

Property Value

bool?

bool

RfParameterVersion

Gets or sets the version of this set of rf channels. Each time a change is made, increment this value until it rolls over.

public short? RfParameterVersion { get; set; }

Property Value

short?

short

Methods

Clone()

Creates a new object that is a copy of the current instance.

public override IEntity Clone()

Returns

IEntity

A new object that is a copy of this instance.

PopulateDefaults()

Populate non-required empty (null) properties with default values.

public override void PopulateDefaults()