Table of Contents

Class EwdAvailability

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

false Driver Availability for EWD.

public class EwdAvailability : IEntity
Inheritance
EwdAvailability
Implements
Inherited Members

Constructors

EwdAvailability()

Initializes a new instance of the EwdAvailability class.

public EwdAvailability()

EwdAvailability(int, string?, DateTime?, DateTime?, int?, int?)

Initializes a new instance of the EwdAvailability class.

public EwdAvailability(int timePeriod, string? timeUntilMustRest, DateTime? startDate, DateTime? toDate, int? nightRestBreakCount, int? consecutiveNightRestBreakCount)

Parameters

timePeriod int

The time period for each rule in EWD ruleset.

timeUntilMustRest string

The time that driver can still work until they must rest.

startDate DateTime?

The DateTime for the start of the time period.

toDate DateTime?

The DateTime for the end of the time period.

nightRestBreakCount int?

Count for the nightRestBreak for current time period

consecutiveNightRestBreakCount int?

Count for the consecutiveNightRestBreak for current time period.

Properties

ConsecutiveNightRestBreakCount

Gets or sets the Count for the consecutive night rest break for current timePeriod.

public int? ConsecutiveNightRestBreakCount { get; set; }

Property Value

int?

int

Id

Gets or sets the unique identifier for the specific Entity object in the Geotab system. See Id.

public Id? Id { get; set; }

Property Value

Id

Id

NightRestBreakCount

Gets or sets the count for the nightRestBreak for current time period.

public int? NightRestBreakCount { get; set; }

Property Value

int?

int

Rested

Gets or sets the Count for the consecutive rest duration of the current timePeriod.

public string? Rested { get; set; }

Property Value

string

int

StartDate

Gets or sets the DateTime for the start of the time period.

public DateTime? StartDate { get; set; }

Property Value

DateTime?

DateTime

TimePeriod

Gets or sets the time period for each rule in EWD ruleset in milliseconds.

public int TimePeriod { get; set; }

Property Value

int

int

TimeUntilMustRest

Gets or sets the time that driver can still work until they must rest.

public string? TimeUntilMustRest { get; set; }

Property Value

string

string

ToDate

Gets or sets the DateTime for the end of the time period.

public DateTime? ToDate { get; set; }

Property Value

DateTime?

DateTime

Methods

Clone()

Clone this IEntity.

public IEntity Clone()

Returns

IEntity

The cloned instance.

GetReadOnly()

Gets a read only entity from this one.

public IEntity GetReadOnly()

Returns

IEntity

IEntity