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
IdThe id.
version
long?The version.
name
stringThe name.
comment
stringThe comment.
vehicleIdentificationNumber
stringThe vehicle identification number.
engineVehicleIdentificationNumber
stringThe engine vehicle identification number.
pinDevice
bool?Disable automatic device moving.
licensePlate
stringThe license plate.
licenseState
stringState 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
stringThe serial number of the device.
enableMustReprogram
bool?The enable must reprogram.
minor
short?The minor.
major
short?The major.
workTime
WorkTimeThe 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
stringThe Timezone id.
deviceFlags
DeviceFlagsThe device plan.
autoGroups
IList<Group>The auto groups.
customParameters
List<CustomParameter>The custom parameters.
engineType
EngineTypeType 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
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()