Table of Contents

Class ExceptionsSummary

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

false The Exceptions summary class.

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

Constructors

ExceptionsSummary(Device?, Driver?, Rule?, DateTime?, DateTime?, in TimeSpan, float?, int, float?)

Initializes a new instance of the ExceptionsSummary class.The constructor.

public ExceptionsSummary(Device? device, Driver? driver, Rule? exceptionRule, DateTime? firstIncident, DateTime? lastIncident, in TimeSpan duration, float? distance, int eventCount, float? tripDistance = null)

Parameters

device Device

The Device.

driver Driver

The Driver.

exceptionRule Rule

The Rule.

firstIncident DateTime?

The first ExceptionEvent instance of the Rule.

lastIncident DateTime?

The last ExceptionEvent instance of the Rule.

duration TimeSpan

The duration.

distance float?

The distance.

eventCount int

The event count for the Rule.

tripDistance float?

The total trip distance.

Properties

Duration

Gets the duration.

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

Property Value

TimeSpan

The duration.

FirstIncident

Gets the first ExceptionEvent instance of the Rule.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionSummaryFirstIncident })]
public DateTime? FirstIncident { get; }

Property Value

DateTime?

The first ExceptionEvent instance of the Rule.

IncidentCount

Gets the event count for the Rule.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionSummaryIncidentCount })]
public int IncidentCount { get; }

Property Value

int

The event count for the Rule.

LastIncident

Gets the last ExceptionEvent instance of the Rule.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionSummaryLastIncident })]
public DateTime? LastIncident { get; }

Property Value

DateTime?

The last ExceptionEvent instance of the Rule.

TripDistance

Gets or sets the total trip distance of the Rule.

[ExcelColumnHeader(new ReportHeading[] { ReportHeading.ExceptionSummaryTripDistance })]
public float? TripDistance { get; set; }

Property Value

float?

The sum trip distance.