Class ExceptionsSummary
- Namespace
- Geotab.Checkmate.ObjectModel.Exceptions
- Assembly
- Geotab.Checkmate.ObjectModel.dll
[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
DeviceThe Device.
driver
DriverThe Driver.
exceptionRule
RuleThe Rule.
firstIncident
DateTime?The first ExceptionEvent instance of the Rule.
lastIncident
DateTime?The last ExceptionEvent instance of the Rule.
duration
TimeSpanThe duration.
distance
float?The distance.
eventCount
intThe 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
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.