- Timestamp:
- 10/24/2017 02:07:02 PM (9 years ago)
- Location:
- trunk/src
- Files:
-
- 4 edited
-
atmsdriver/ConsoleDriver.java (modified) (3 diffs)
-
atmsdriver/model/Highways.java (modified) (1 diff)
-
atmsdriver/model/LoopDetector.java (modified) (2 diffs)
-
tmcsim/application.properties (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/ConsoleDriver.java
r161 r176 423 423 public static enum DOTCOLOR { 424 424 425 RED(1 0,10),426 YELLOW(3 0,20), // speed = 26425 RED(1, 0.06f), 426 YELLOW(3,0.059f), // speed = 26 427 427 GREEN(0,0); 428 428 … … 431 431 432 432 private int vol; /* volume */ 433 private int occ; /* occupancy */434 435 private DOTCOLOR(int v, int o)433 private float occ; /* occupancy */ 434 435 private DOTCOLOR(int v, float o) 436 436 { 437 437 vol = v; … … 451 451 return vol; 452 452 } 453 public int occupancy()453 public float occupancy() 454 454 { 455 455 return occ; -
trunk/src/atmsdriver/model/Highways.java
r170 r176 222 222 throw new SimulationException(SimulationException.BINDING); 223 223 } 224 updateSequences(); 224 225 } 225 226 -
trunk/src/atmsdriver/model/LoopDetector.java
r118 r176 23 23 /* dynamic data */ 24 24 public int vol; 25 public int occ;25 public float occ; 26 26 private int spd; 27 27 … … 83 83 * @param spd speed 84 84 */ 85 public void updateLoop(int vol, int occ, int spd)85 public void updateLoop(int vol, float occ, int spd) 86 86 { 87 87 this.vol = vol; -
trunk/src/tmcsim/application.properties
r174 r176 1 #Tue, 24 Oct 2017 1 1:31:18 -07001 #Tue, 24 Oct 2017 14:59:28 -0700 2 2 3 Application.revision=17 33 Application.revision=174 4 4 5 Application.buildnumber=5 35 Application.buildnumber=57
Note: See TracChangeset
for help on using the changeset viewer.
