Changeset 176 in tmcsimulator for trunk/src/atmsdriver/ConsoleDriver.java
- Timestamp:
- 10/24/2017 02:07:02 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/ConsoleDriver.java (modified) (3 diffs)
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;
Note: See TracChangeset
for help on using the changeset viewer.
