Ejemplo n.º 1
0
 public TrainRunSection(Route route, ServiceIntention train, SectionEdge section)
 {
     RouteId        = route.Id;
     RoutePathId    = section.RoutePath;
     SequenceNumber = section.SequenceNumber;
     if (train.SectionRequirements != null && section.SectionMarker != null)
     {
         SectionRequirement = train.SectionRequirementsDic.ContainsKey(section.SectionMarker)
             ? section.SectionMarker
             : null;
     }
 }
Ejemplo n.º 2
0
 public TrainRun(ServiceIntention train, Route route)
 {
     Train = train;
     Route = route;
 }