Changeset 158 in tmcsimulator for trunk/src/tmcsim/client/ATMSBatchDriver.java
- Timestamp:
- 10/21/2017 11:28:15 AM (9 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/client/ATMSBatchDriver.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/client/ATMSBatchDriver.java
r157 r158 141 141 System.exit(0); 142 142 } 143 // Initialize the highway model 143 144 incidents = new HashMap<String, List<String>> (); 144 145 highways = new Highways( … … 175 176 long simtime = theCoorInt.getCurrentSimulationTime(); 176 177 currentClock = formatInterval(simtime); 177 long ATMStime = theCoorInt.getATMStime(); 178 Date atmsdate = new Date(ATMStime); 179 currentATMStime = formatter.format(atmsdate); 178 // For Debugging, show the ATMS time 179 // long ATMStime = theCoorInt.getATMStime(); 180 // Date atmsdate = new Date(ATMStime); 181 // currentATMStime = formatter.format(atmsdate); 180 182 try { 181 183 simClock = formatter.parse(currentClock); … … 188 190 } catch (RemoteException ex) 189 191 { 192 System.out.println("Remote Exception reading sim or ATMS clock time"); 190 193 Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 191 194 }
Note: See TracChangeset
for help on using the changeset viewer.
