Exemple #1
0
        public Section(Line line,string lineid,string sectionId,string sectionName,string direction,int startMileage, int endMileage,int maxSpeed,int minSpeed  )
        {
            this.line = line;
              this.lineid = lineid;
              this.sectionId = sectionId;
              this.sectionName = sectionName;
              this.direction = direction;
              this.startMileage = startMileage;
              this.endMileage = endMileage;
              this.maxSpeed = maxSpeed;
              this.minSpeed = minSpeed;

              LoadSectionTravelTimeWeight();
              hisTravelTime = new HisTravelTimeManager(this.sectionId);
        }
Exemple #2
0
 public Section(Line line,string lineid,string sectionId,string sectionName,string direction,int startMileage, int endMileage,int maxSpeed,int minSpeed ,int unit,int threshold )
 {
     this.line = line;
       this.lineid = lineid;
       this.sectionId = sectionId;
       this.sectionName = sectionName;
       this.direction = direction;
       this.startMileage = startMileage;
       this.endMileage = endMileage;
       this.maxSpeed = maxSpeed;
       this.minSpeed = minSpeed;
       this.unit = unit;
       this.threshold = threshold;
     #if !DEBUG
       LoadSectionTravelTimeWeight();
       hisTravelTime = new HisTravelTimeManager(this.sectionId);
     #endif
 }