예제 #1
0
파일: Section.cs 프로젝트: ufjl0683/Center
        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);
        }
예제 #2
0
파일: Section.cs 프로젝트: ufjl0683/Center
 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
 }