Table of Contents

Class ExceptionsDetail

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

The exception details for reports.

[ReportClass]
public class ExceptionsDetail : ExceptionsActivity, IDeviceProvider, IDriverProvider
Inheritance
ExceptionsDetail
Implements
Inherited Members

Constructors

ExceptionsDetail(ExceptionEvent, double?, double?, bool, float?, float?)

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

public ExceptionsDetail(ExceptionEvent exceptionEvent, double? longitude, double? latitude, bool populateAddress, float? maxSpeed, float? tripDistance)

Parameters

exceptionEvent ExceptionEvent

The exception event.

longitude double?

The longitude.

latitude double?

The latitude.

populateAddress bool

If set to true, address will be retrieved using the latitude and longitude

maxSpeed float?

The max speed.

tripDistance float?

The distance of the trip.

Properties

Duration

Gets the duration in ms.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDuration })]
public override TimeSpan Duration { get; }

Property Value

TimeSpan

The duration in ms.

EndTime

Gets the end time.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailEndTime })]
public DateTime? EndTime { get; }

Property Value

DateTime?

The end time.

ExceptionEvent

Gets the exception event.

public ExceptionEvent ExceptionEvent { get; }

Property Value

ExceptionEvent

The exception event.

ExceptionsInfo

Gets or sets the exceptions info.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailExtraInfo })]
public string? ExceptionsInfo { get; set; }

Property Value

string

The exceptions info.

ExtraExceptionData

Gets or sets the extra exception data.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailDetails })]
public string? ExtraExceptionData { get; set; }

Property Value

string

The extra exception data.

Latitude

Gets the latitude.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailLatitude })]
public double? Latitude { get; }

Property Value

double?

The latitude.

LegacyExceptionsInfo

Gets or sets the legacy exceptions info.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.LegacyExceptionDetailExtraInfo })]
public string? LegacyExceptionsInfo { get; set; }

Property Value

string

The legacy exceptions info.

Location

Gets or sets the location.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailLocation })]
public AddressLookupData? Location { get; set; }

Property Value

AddressLookupData

The location.

Longitude

Gets the longitude.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailLongitude })]
public double? Longitude { get; }

Property Value

double?

The longitude.

MaxRoadSpeedLimit

Gets or sets the max road speed limit.

public double? MaxRoadSpeedLimit { get; set; }

Property Value

double?

The max road speed limit.

MaxRoadSpeedLimitEstimated

Gets or sets the max road speed limit is estimated.

public bool? MaxRoadSpeedLimitEstimated { get; set; }

Property Value

bool?

The max road speed limit is estimated.

MaxSpeed

Gets or sets the max speed.

public float? MaxSpeed { get; set; }

Property Value

float?

The max speed.

MaxTruckRoadSpeedLimit

Gets or sets the max truck road speed limit.

public double? MaxTruckRoadSpeedLimit { get; set; }

Property Value

double?

The max truck road speed limit.

StartTime

Gets the start time.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionDetailStartTime })]
public DateTime? StartTime { get; }

Property Value

DateTime?

The start time.

Status

Gets or sets the state of ExceptionEvent(s).

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionStatus })]
public string? Status { get; set; }

Property Value

string

ExceptionEventState

TripDistance

Gets the trip distance when the exception occurs.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionTripDistance }, IsSpeedOrDistance = true)]
public float? TripDistance { get; }

Property Value

float?

The trip distance when the exception occurs.