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
idIdThe id.
versionlong?The version.
namestringThe name.
commentstringThe comment.
vehicleIdentificationNumberstringThe vehicle identification number.
engineVehicleIdentificationNumberstringThe engine vehicle identification number.
pinDevicebool?Disable automatic device moving.
licensePlatestringThe license plate.
licenseStatestringState of the license.
productIdint?The product id.
timeToDownloadTimeSpan?The time to download.
ignoreDownloadsUntilDateTime?The ignore downloads until.
hardwareIdint?The hardware id.
serialNumberstringThe serial number of the device.
enableMustReprogrambool?The enable must reprogram.
minorshort?The minor.
majorshort?The major.
workTimeWorkTimeThe work time.
isAuxInvertedArraybool[]The is aux inverted array.
maxSecondsBetweenLogsfloat?The max number of seconds between receiving logs from the device. If exceeded, data is considered missing. Must be at least 200s.
groupsIList<Group>The groups.
timeZoneIdstringThe Timezone id.
deviceFlagsDeviceFlagsThe device plan.
autoGroupsIList<Group>The auto groups.
customParametersList<CustomParameter>The custom parameters.
engineTypeEngineTypeType of the engine.
minAccidentSpeeddouble?The min accident speed.
isSpeedIndicatorbool?The is speed indicator.
speedingOndouble?The speeding on.
speedingOffdouble?The speeding off.
gpsOffDelayint?The GPS off delay.
disableBuzzerbool?The disable buzzer.
parameterVersionuint?The parameter version.
ensureHotStartbool?The ensure hot start.
enableSpeedWarningbool?The enable speed warning.
enableBeepOnIdlebool?The enable beep on idle.
idleMinutesint?The idle minutes.
deltaSpeeddouble?The delta speed.
deltaMinSpeeddouble?The delta min speed.
deltaHeadingint?The delta heading.
deltaHeadingMinSpeeddouble?The delta heading min speed.
deltaHeadingHsint?The delta heading hs.
deltaHeadingMinSpeedHsdouble?The delta heading min speed hs.
deltaDistanceint?The delta distance.
harshBreakdouble?The harsh break.
isHarshBrakeWarningOnbool?The is harsh brake warning on.
enableAuxWarningArraybool[]The enable aux warning array.
auxWarningSpeedArraydouble[]The aux warning speed array.
isAuxIgnTriggerArraybool[]The is aux ign trigger array.
enableControlExternalRelaybool?The enable control external relay.
externalDeviceShutDownDelayint?The external device shut down delay.
immobilizeUnitbool?The immobilize unit.
immobilizeArmingint?The immobilize arming.
isAidedGpsEnabledbool?The is aided GPS enabled.
isRfUploadOnWhenMovingbool?The is rf upload on when moving.
channelCountbyte?The channel count.
channelArrayshort[]The channel20 array.
frequencyOffsetbyte?The frequency offset.
rfParameterVersionshort?The rf parameter version.
activeToDateTime?Date after which device becomes archived.
activeFromDateTime?Date after which device becomes active.
devicePlanBillingInfoIReadOnlyList<DevicePlanBillingInfo>The device plan billing information.
goTalkLanguageGoTalkLanguage?The language to be used by any attached GoTalk.
fuelTankCapacitydouble?The capacity of all usable fuel tanks in litres.
disableSleeperBerthbool?Hide the Sleeper Berth option
parameterVersionOnDeviceuint?The parameter version that is currently stored on the Device.
autoHosHosOption?Represents automatic generation of DutyStatusLogs for a Device
customPropertiesList<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
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
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
DeltaHeading
Gets or sets the delta heading. Default [48].
[DeviceParameter]
public int? DeltaHeading { get; set; }
Property Value
DeltaHeadingHS
Gets or sets the delta heading HS. Default [14].
[DeviceParameter]
public int? DeltaHeadingHS { get; set; }
Property Value
DeltaHeadingMinSpeed
Gets or sets the delta heading min speed in km/h. Default [14].
[DeviceParameter]
public double? DeltaHeadingMinSpeed { get; set; }
Property Value
DeltaHeadingMinSpeedHS
Gets or sets the delta heading min speed HS in km/h. Default [72].
[DeviceParameter]
public double? DeltaHeadingMinSpeedHS { get; set; }
Property Value
DeltaMinSpeed
Gets or sets the delta min speed in km/h. Default [50].
[DeviceParameter]
public double? DeltaMinSpeed { get; set; }
Property Value
DeltaSpeed
Gets or sets the delta speed in km/h. Default [9].
[DeviceParameter]
public double? DeltaSpeed { get; set; }
Property Value
EnableAuxWarning
Gets or sets an array that can get/set the EnableAuxWarnings for the vehicle.
[DeviceParameter]
public bool[]? EnableAuxWarning { get; set; }
Property Value
EnableControlExternalRelay
Gets or sets the EnableControlExternalRelay value for the vehicle.
[DeviceParameter]
public bool? EnableControlExternalRelay { get; set; }
Property Value
ExternalDeviceShutDownDelay
Gets or sets the External Device ShutDown Delay value for the vehicle.
[DeviceParameter]
public int? ExternalDeviceShutDownDelay { get; set; }
Property Value
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
HarshBreak
Gets or sets the harsh break. Default [17].
[DeviceParameter]
public double? HarshBreak { get; set; }
Property Value
ImmobilizeArming
Gets or sets the immobilize arming.
[DeviceParameter]
public int? ImmobilizeArming { get; set; }
Property Value
ImmobilizeUnit
Gets or sets a value indicating whether [immobilize unit].
[DeviceParameter]
public bool? ImmobilizeUnit { get; set; }
Property Value
IsAidedGpsEnabled
Gets or sets a value indicating whether this instance is aided GPS enabled.
[DeviceParameter]
public bool? IsAidedGpsEnabled { get; set; }
Property Value
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
IsRfUploadOnWhenMoving
Gets or sets the IsRfUploadOnWhenMoving value for the vehicle.
[DeviceParameter]
public bool? IsRfUploadOnWhenMoving { get; set; }
Property Value
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
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()