Changeset 190 in tmcsimulator for trunk/src/atmsdriver/model/Station.java
- Timestamp:
- 10/29/2017 10:51:53 PM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/atmsdriver/model/Station.java (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/atmsdriver/model/Station.java
r186 r190 22 22 23 23 /* Static Station meta data */ 24 final public int line Num;24 final public int lineID; 25 25 final public int ldsID; // double check 26 26 final public int drop; … … 36 36 37 37 /* Constructor */ 38 public Station(int line Num, int ldsID, int drop,38 public Station(int lineID, int ldsID, int drop, 39 39 String location, List<LoopDetector> loops, int hwy, 40 40 DIRECTION direction, double postmile) 41 41 { 42 this.line Num = lineNum;42 this.lineID = lineID; 43 43 this.ldsID = ldsID; 44 44 this.drop = drop; … … 186 186 { 187 187 // UPDATE LOOP WITH VALUES 188 int speed = 0; 189 loop.updateLoop(dotColor.volume(), dotColor.occupancy(), speed); 188 loop.updateLoop(dotColor.volume(), dotColor.occupancy()); 190 189 } 191 190 } … … 253 252 254 253 Element lineNumElement = theDoc.createElement(XML_TAGS.LINE_NUM.tag); 255 lineNumElement.appendChild(theDoc.createTextNode(String.valueOf(this.line Num)));254 lineNumElement.appendChild(theDoc.createTextNode(String.valueOf(this.lineID))); 256 255 stationElement.appendChild(lineNumElement); 257 256
Note: See TracChangeset
for help on using the changeset viewer.
