Class LiveCompletionMapConfig
- Namespace
- Geotab.Checkmate.ObjectModel
- Assembly
- Geotab.Checkmate.ObjectModel.dll
Route completion Live Map configuration which is a wrapper around all config time windows of a Group.
public class LiveCompletionMapConfig : Entity, IEntity, IComparable, IIdentifiable
- Inheritance
-
LiveCompletionMapConfig
- Implements
- Inherited Members
Constructors
LiveCompletionMapConfig()
Initializes a new instance of the LiveCompletionMapConfig class.
public LiveCompletionMapConfig()
LiveCompletionMapConfig(Id?, Id, in DateTime, ICollection<LiveCompletionTimeWindow>)
Initializes a new instance of the LiveCompletionMapConfig class.
public LiveCompletionMapConfig(Id? id, Id ruleId, in DateTime resetDateTime, ICollection<LiveCompletionTimeWindow> timeWindows)
Parameters
id
IdThe Id.
ruleId
IdThe Route Completion Rule ID
resetDateTime
DateTimeReset date and time of the configuration
timeWindows
ICollection<LiveCompletionTimeWindow>Collection of timw windows creating this config
Properties
ResetDateTime
Gets or sets the reset date and time of the configuration
public DateTime ResetDateTime { get; set; }
Property Value
RuleId
Gets or sets the Route Completion Rule Id
public Id RuleId { get; set; }
Property Value
TimeWindows
Gets or sets a list of LiveCompletionTimeWindow
public ICollection<LiveCompletionTimeWindow> TimeWindows { get; set; }
Property Value
Methods
Clone()
Creates a new object that is a copy of the current instance.
public override IEntity Clone()
Returns
- IEntity
A new object that is a copy of this instance.
ValidateWindowsSequence()
Validates whether the sequence value of TimeWindows are cohesive or not.
public bool ValidateWindowsSequence()