Table of Contents

Class DataLog

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

Represents an estimate location for any data implementing IDateTimeProvider interface based on previous/next LogRecord and the DateTime.

public class DataLog : LogRecordInterpolated, IEntity, IComparable, IIdentifiable, IDateTimeProvider, IDeviceProvider, ILastActive
Inheritance
DataLog
Implements
Inherited Members

Constructors

DataLog(IDateTimeProvider, LogRecord?, LogRecord)

Initializes a new instance of the DataLog class.Initializes a new instance of the DataLog class.

public DataLog(IDateTimeProvider data, LogRecord? prevRecord, LogRecord nextRecord)

Parameters

data IDateTimeProvider

The data.

prevRecord LogRecord

The prev record.

nextRecord LogRecord

The next record.

Methods

Add(IDateTimeProvider)

Adds an unique instance of data to the GetData() collection.

public void Add(IDateTimeProvider dataRecord)

Parameters

dataRecord IDateTimeProvider

The instance to be added.

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.

GetData()

Gets Data of type IDateTimeProvider at this DataLog.

public List<IDateTimeProvider> GetData()

Returns

List<IDateTimeProvider>

The list of IDateTimeProvider.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.