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
IdThe Id
driver
DriverThe driver.
device
DeviceThe vehicle.
binaryData
byte[]The file binary data.
origin
int?The origin of the file.
originDescription
stringThe 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
stringThe file name.
summary
stringThe summary.
signature
int?The signature.
fileNameTgd
stringThe TGD file name.
fileNameDdd
stringThe DDD file name.
fileNameV1B
stringThe V1B file name.
warnings
stringThe string with the warnings found in the download, the download is correct for the administration.
errors
stringThe 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
stringThe 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
BinaryData
Gets or sets the associated binary data object.
public byte[]? BinaryData { get; set; }
Property Value
DateTime
Gets or sets the date on which the file was uploaded.
public DateTime? DateTime { get; set; }
Property Value
Device
Gets or sets the Device related with the file data.
public Device? Device { get; set; }
Property Value
Driver
Gets or sets the Driver related with the file data.
public Driver? Driver { get; set; }
Property Value
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
FileName
Gets or sets the file name.
public string? FileName { get; set; }
Property Value
FileNameDdd
Gets or sets the DDD file name.
public string? FileNameDdd { get; set; }
Property Value
FileNameTgd
Gets or sets the TGD file name.
public string? FileNameTgd { get; set; }
Property Value
FileNameV1B
Gets or sets the V1B file name.
public string? FileNameV1B { get; set; }
Property Value
LockGaps
Gets or sets the value that contains file gaps.
public string? LockGaps { get; set; }
Property Value
Origin
Gets or sets the origin of the file.
public int? Origin { get; set; }
Property Value
OriginDescription
Gets or sets the description of the origin of the file.
public string? OriginDescription { get; set; }
Property Value
ProcessingStatus
Gets or sets the int code for the processing status.
public int? ProcessingStatus { get; set; }
Property Value
Signature
Gets or sets the signature.
public int? Signature { get; set; }
Property Value
Summary
Gets or sets the summary about the information of the file.
public string? Summary { get; set; }
Property Value
Timestamp
Gets or sets the date on which the file was generated by a tachograph or reader.
public DateTime? Timestamp { get; set; }
Property Value
TimestampEnd
Gets or sets the most recent date with activity.
public DateTime? TimestampEnd { get; set; }
Property Value
TimestampStart
Gets or sets the minimum date containing all data.
public DateTime? TimestampStart { get; set; }
Property Value
UploadDateTime
Gets or sets the date on which the file was uploaded.
public DateTime? UploadDateTime { get; set; }
Property Value
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
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.