Class UntrackedAsset
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
An untracked asset that is used in MyGeotab without a serial number. This is used for extensibility and is based on the Device object.
public class UntrackedAsset : Device, IEntity, IComparable, IIdentifiable, IVersion, IGroupLinked, ITimeZoneIdProvider, IDefaultable, ICustomizable<Device>, IMediaFiles, IInstanceSizeEstimate, IOdometerProvider, IOdometerAdjustmentProvider, IEngineHoursProvider, IEngineHoursAdjustmentProvider, ILicensable, IVehicleIdentificationNumber, IAutoGroupsProvider
- Inheritance
-
UntrackedAsset
- Implements
- Inherited Members
Constructors
UntrackedAsset()
Initializes a new instance of the UntrackedAsset class.
public UntrackedAsset()
UntrackedAsset(Id?, long?, string?, string?, int?, TimeSpan?, DateTime?, int?, string?, WorkTime?, float?, IList<Group>?, string?, DeviceFlags?, DateTime?, DateTime?, IReadOnlyList<DevicePlanBillingInfo>?, string?, string?, string?, string?, double?, float?, double?, double?, int?, bool, List<PropertyValue<Device>>?, IList<MediaFile>?, IList<Group>?)
Initializes a new instance of the UntrackedAsset class.
public UntrackedAsset(Id? id, long? version, string? name, string? comment, int? productId, TimeSpan? timeToDownload, DateTime? ignoreDownloadsUntil, int? hardwareId, string? serialNumber, WorkTime? workTime, float? maxSecondsBetweenLogs, IList<Group>? groups, string? timeZoneId, DeviceFlags? deviceFlags, DateTime? activeTo, DateTime? activeFrom, IReadOnlyList<DevicePlanBillingInfo>? devicePlanBillingInfo, string? vehicleIdentificationNumber, string? engineVehicleIdentificationNumber, string? licensePlate, string? licenseState, double? odometer, float? odometerFactor, double? odometerOffset, double? engineHours, int? engineHoursOffset, bool pinDevice, List<PropertyValue<Device>>? customProperties, IList<MediaFile>? mediaFiles = null, IList<Group>? autoGroups = null)
Parameters
id
IdThe Id.
version
long?The version.
name
stringThe name.
comment
stringThe comment.
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.
workTime
WorkTimeA WorkTime object.
maxSecondsBetweenLogs
float?The max number of seconds between receiving logs from the device. If exceeded, data is considered missing. Must be a positive value.
groups
IList<Group>The collection of Group(s) this CustomDevice belongs to.
timeZoneId
stringThe Timezone Id.
deviceFlags
DeviceFlagsThe DevicePlan this device is on.
activeTo
DateTime?Date after which device becomes archived.
activeFrom
DateTime?Date after which device becomes active.
devicePlanBillingInfo
IReadOnlyList<DevicePlanBillingInfo>The device plan billing information.
vehicleIdentificationNumber
stringThe device identification number.
engineVehicleIdentificationNumber
stringThe device identification number from engine.
licensePlate
stringThe license plate.
licenseState
stringState of the license.
odometer
double?The odometer.
odometerFactor
float?The odometer factor.
odometerOffset
double?The odometer offset.
engineHours
double?The engine hours.
engineHoursOffset
int?The engine hours offset.
pinDevice
boolDisable automatic device moving.
customProperties
List<PropertyValue<Device>>The custom properties and its associated PropertyValue<T>s for this device.
mediaFiles
IList<MediaFile>The list of MediaFile of MediaType Image for the photos of this asset.
autoGroups
IList<Group>
Properties
AutoGroups
Gets or sets the messaging status Group(s). Drivers with Garmin-equipped vehicles can update their working status by choosing one from a set of common statuses. This status update is shared with their team. For example, when drivers finish their work, they can set their statuses to 'Available'. Their dispatcher is notified of this and can begin to assign work based on both the location and availability of the drivers. Default [Empty].
public IList<Group>? AutoGroups { get; set; }
Property Value
EngineHourOffset
Gets or sets the offset to be applied engine hours data reported by the engine computer. Default [0].
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceProgrammingEngineHourOffset })]
public int? EngineHourOffset { get; set; }
Property Value
EngineHours
Gets or sets the Engine Hours for the device. Default [0].
public double? EngineHours { get; set; }
Property Value
EngineVehicleIdentificationNumber
Gets or sets the Engine Vehicle Identification Number from the engine of the vehicle associated with the device.
public string? EngineVehicleIdentificationNumber { get; set; }
Property Value
LicensePlate
Gets or sets the vehicle license plate details of the vehicle associated with the device. Maximum length [50] Default [""].
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceLicensePlate })]
public string? LicensePlate { get; set; }
Property Value
LicenseState
Gets or sets the state or province of the vehicle associated with the device. Maximum length [50] Default [""].
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceLicenseState })]
public string? LicenseState { get; set; }
Property Value
Odometer
Gets or sets the Odometer for the device.
public double? Odometer { get; set; }
Property Value
OdometerFactor
Gets or sets a value used to correct the odometer value received from the engine. Default [1].
public float? OdometerFactor { get; set; }
Property Value
OdometerOffset
Gets or sets the offset to be applied odometer reported by the engine computer. Default [0].
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceProgrammingOdometerOffset })]
public double? OdometerOffset { get; set; }
Property Value
PinDevice
Gets or sets a toggle that determines whether or not a device is under automatic vehicle management. Default [true].
public bool? PinDevice { get; set; }
Property Value
VehicleIdentificationNumber
Gets or sets the Vehicle Identification Number (VIN) of the vehicle associated with the device. Maximum length [50] Default [""].
[ExcelColumnHeader(new ReportHeading[] { ReportHeading.DeviceVIN })]
public string? VehicleIdentificationNumber { 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()