Table of Contents

Class LogRecordZoneDistance

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

Couples a LogRecord and a Zone objects with a distance between them in kilometers.

public class LogRecordZoneDistance : Entity, IEntity, IComparable, IIdentifiable, IDeviceProvider, IDateTimeProvider
Inheritance
LogRecordZoneDistance
Implements
Inherited Members

Constructors

LogRecordZoneDistance()

Initializes a new instance of the LogRecordZoneDistance class.

public LogRecordZoneDistance()

LogRecordZoneDistance(Id?, Zone?, float?, Device?, DateTime?)

Initializes a new instance of the LogRecordZoneDistance class.

public LogRecordZoneDistance(Id? id, Zone? zone = null, float? distance = null, Device? device = null, DateTime? dateTime = null)

Parameters

id Id

The identifier.

zone Zone

The zone.

distance float?

The distance.

device Device

The device.

dateTime DateTime?

The date time.

Properties

DateTime

Gets or sets the date.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

The DateTime of the event.

Device

Gets or sets the Device.

public Device? Device { get; set; }

Property Value

Device

The <see cref="Device"/>.

Distance

Gets or sets nullable float Distance.

public float? Distance { get; set; }

Property Value

float?

Nullable float Distance.

Zone

Gets or sets Zone.

public Zone? Zone { get; set; }

Property Value

Zone

The zone.

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.

ToString()

Returns a string that represents this instance.

public override string ToString()

Returns

string

A string that represents this instance.