Class DriverRegulation
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Detailed information for Hours of Service regulation for a driver.
public class DriverRegulation : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
DriverRegulation
- Implements
- Inherited Members
Constructors
DriverRegulation()
Initializes a new instance of the DriverRegulation class.
public DriverRegulation()
DriverRegulation(User?, DutyStatusAvailability?, List<DutyStatusViolation>?, List<EwdAvailability>?)
Initializes a new instance of the DriverRegulation class.
public DriverRegulation(User? driver, DutyStatusAvailability? availability, List<DutyStatusViolation>? violations, List<EwdAvailability>? ewdAvailability)
Parameters
driver
UserThe driver.
availability
DutyStatusAvailabilityThe availability for HOS.
violations
List<DutyStatusViolation>The violations.
ewdAvailability
List<EwdAvailability>The availability for EWD.
Properties
Availability
Gets or sets the DutyStatusAvailability.
public DutyStatusAvailability? Availability { get; set; }
Property Value
CurrentDutyStatus
Gets or sets the latest duty status log type DutyStatusLogType affecting availability or violations.
public DutyStatusLogType? CurrentDutyStatus { get; set; }
Property Value
CycleSummaries
Gets or sets the cycle summaries.
public List<CycleSummary>? CycleSummaries { get; set; }
Property Value
- List<CycleSummary>
The list of List<T>.
DaySummaries
Gets or sets the day summaries.
public List<DaySummary>? DaySummaries { get; set; }
Property Value
- List<DaySummary>
The list of List<T>.
Driver
Gets or sets the Driver.
public User? Driver { get; set; }
Property Value
EwdAvailability
Gets or sets the EwdAvailability.
public List<EwdAvailability>? EwdAvailability { get; set; }
Property Value
- List<EwdAvailability>
The list of List<T>.
OffDutyNeeded
Gets or sets when off duty is needed.
public TimeSpan? OffDutyNeeded { get; set; }
Property Value
RestBreakNeeded
Gets or sets when rest break is needed.
public TimeSpan? RestBreakNeeded { get; set; }
Property Value
RulesetsThatCannotChange
Gets or sets rulesets that cannot be changed currently.
public List<UserHosRuleSet>? RulesetsThatCannotChange { get; set; }
Property Value
- List<UserHosRuleSet>
The list of UserHosRuleSet.
Violations
Gets or sets the DutyStatusViolation.
public List<DutyStatusViolation>? Violations { get; set; }
Property Value
- List<DutyStatusViolation>
The list of List<T>.
WorkdaySummaries
Gets or sets the workday summaries.
public List<WorkdaySummary>? WorkdaySummaries { get; set; }
Property Value
- List<WorkdaySummary>
The list of List<T>.
Methods
Clone()
Clones this instance.
public override IEntity Clone()
Returns
- IEntity
The cloned instance.