Table of Contents

Class CustomDevice

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

A custom telematics device that is used in MyGeotab. This is used for extensibility and is based on the Device object.

public class CustomDevice : Device, IEntity, IComparable, IIdentifiable, IVersion, IGroupLinked, ITimeZoneIdProvider, IDefaultable, ICustomizable<Device>, IMediaFiles, IInstanceSizeEstimate, IAutoGroupsProvider
Inheritance
CustomDevice
Implements
Derived
Inherited Members

Constructors

CustomDevice()

Initializes a new instance of the CustomDevice class.

public CustomDevice()

CustomDevice(CustomDevice)

Initializes a new instance of the CustomDevice class.

protected CustomDevice(CustomDevice customDevice)

Parameters

customDevice CustomDevice

The go vehicle.

CustomDevice(Id?, long?, string?, string?, int?, TimeSpan?, DateTime?, int?, string?, WorkTime?, float?, IList<Group>?, string?, DeviceFlags?, DateTime?, DateTime?, IReadOnlyList<DevicePlanBillingInfo>?, List<PropertyValue<Device>>?, IList<Group>?)

Initializes a new instance of the CustomDevice class.

public CustomDevice(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, List<PropertyValue<Device>>? customProperties, IList<Group>? autoGroups = null)

Parameters

id Id

The Id.

version long?

The version.

name string

The name.

comment string

The comment.

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.

workTime WorkTime

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

The Timezone Id.

deviceFlags DeviceFlags

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

customProperties List<PropertyValue<Device>>

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

autoGroups IList<Group>

The collection of auto Group(s) this Device belongs to.

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

IList<Group>

IList<T>

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.