Table of Contents

Class TachographDataFile

Namespace
Geotab.Checkmate.ObjectModel.Tachograph.Files
Assembly
Geotab.Checkmate.ObjectModel.dll

The entity which describes the tachograph data file.

Notes: Although possible, it is not recommended to directly introduce new entities of this type with the Add API call. New entities are created through other means in the application (i.e. scheduled remote downloads from the Tachograph).
public class TachographDataFile : EntityWithVersion, IEntity, IComparable, IIdentifiable, IVersion, IDateTimeProvider, IDeviceProvider, IDriverProvider
Inheritance
TachographDataFile
Implements
Inherited Members

Constructors

TachographDataFile()

Initializes a new instance of the TachographDataFile class.

public TachographDataFile()

TachographDataFile(Id?, Driver?, Device?, byte[]?, int?, string?, DateTime?, in DateTime?, in DateTime?, in DateTime?, string?, string?, int?, string?, string?, string?, string?, string?, int?, string?, bool?)

Initializes a new instance of the TachographDataFile class.

public TachographDataFile(Id? id, Driver? driver, Device? device, byte[]? binaryData, int? origin, string? originDescription, DateTime? dateTime, in DateTime? timestamp, in DateTime? timestampStart, in DateTime? timestampEnd, string? fileName, string? summary, int? signature, string? fileNameTgd, string? fileNameDdd, string? fileNameV1B, string? warnings, string? errors, int? processingStatus, string? lockGaps, bool? archived)

Parameters

id Id

The Id

driver Driver

The driver.

device Device

The vehicle.

binaryData byte[]

The file binary data.

origin int?

The origin of the file.

originDescription string

The description of the origin of the file.

dateTime DateTime?

The date on which the file was uploaded.

timestamp DateTime?

The date on which the file was generated by a tachograph or reader.

timestampStart DateTime?

The minimum date containing all data.

timestampEnd DateTime?

The most recent date with activity.

fileName string

The file name.

summary string

The summary.

signature int?

The signature.

fileNameTgd string

The TGD file name.

fileNameDdd string

The DDD file name.

fileNameV1B string

The V1B file name.

warnings string

The string with the warnings found in the download, the download is correct for the administration.

errors string

The string with the errors found in the download, the download is NOT valid and will have to be repeated.

processingStatus int?

The processing status.

lockGaps string

The string value of file gaps.

archived bool?

The boolean value of archived.

Properties

Archived

Gets or sets the value that indicates whether it's archived.

public bool? Archived { get; set; }

Property Value

bool?

Gaps

BinaryData

Gets or sets the associated binary data object.

public byte[]? BinaryData { get; set; }

Property Value

byte[]

Array byte byte

DateTime

Gets or sets the date on which the file was uploaded.

public DateTime? DateTime { get; set; }

Property Value

DateTime?

DateAdded

Device

Gets or sets the Device related with the file data.

public Device? Device { get; set; }

Property Value

Device

Device

Driver

Gets or sets the Driver related with the file data.

public Driver? Driver { get; set; }

Property Value

Driver

Driver

Errors

Gets or sets the string with the errors found in the download, the download is NOT valid and will have to be repeated.

public string? Errors { get; set; }

Property Value

string

Errors

FileName

Gets or sets the file name.

public string? FileName { get; set; }

Property Value

string

FileName

FileNameDdd

Gets or sets the DDD file name.

public string? FileNameDdd { get; set; }

Property Value

string

FileNameDdd

FileNameTgd

Gets or sets the TGD file name.

public string? FileNameTgd { get; set; }

Property Value

string

FileNameTgd

FileNameV1B

Gets or sets the V1B file name.

public string? FileNameV1B { get; set; }

Property Value

string

FileNameV1B

LockGaps

Gets or sets the value that contains file gaps.

public string? LockGaps { get; set; }

Property Value

string

Gaps

Origin

Gets or sets the origin of the file.

public int? Origin { get; set; }

Property Value

int?

Origin

OriginDescription

Gets or sets the description of the origin of the file.

public string? OriginDescription { get; set; }

Property Value

string

OriginDescription

ProcessingStatus

Gets or sets the int code for the processing status.

public int? ProcessingStatus { get; set; }

Property Value

int?

int

Signature

Gets or sets the signature.

public int? Signature { get; set; }

Property Value

int?

Signature

Summary

Gets or sets the summary about the information of the file.

public string? Summary { get; set; }

Property Value

string

Summary

Timestamp

Gets or sets the date on which the file was generated by a tachograph or reader.

public DateTime? Timestamp { get; set; }

Property Value

DateTime?

Timestamp

TimestampEnd

Gets or sets the most recent date with activity.

public DateTime? TimestampEnd { get; set; }

Property Value

DateTime?

TimestampEnd

TimestampStart

Gets or sets the minimum date containing all data.

public DateTime? TimestampStart { get; set; }

Property Value

DateTime?

TimestampStart

UploadDateTime

Gets or sets the date on which the file was uploaded.

public DateTime? UploadDateTime { get; set; }

Property Value

DateTime?

DateAdded

Warnings

Gets or sets the string with the warnings found in the download, the download is correct for the administration.

public string? Warnings { get; set; }

Property Value

string

Warnings

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.

GetFileNameFromFileFormatOrDefault(TachographFileFormat?)

Get FileName from TachographFileFormat or TGD as default.

public string GetFileNameFromFileFormatOrDefault(TachographFileFormat? tachographFileFormat)

Parameters

tachographFileFormat TachographFileFormat?

The file format to get the file name from.

Returns

string

Get Filename from a Tachograph file format or default File format TGD.