Changeset 120 in tmcsimulator for trunk/src/tmcsim
- Timestamp:
- 10/14/2017 12:53:52 PM (9 years ago)
- Location:
- trunk/src/tmcsim
- Files:
-
- 1 edited
- 1 moved
-
application.properties (modified) (1 diff)
-
client/ATMSBatchDriver.java (moved) (moved from trunk/src/tmcsim/client/ATMSDriverClient.java) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/application.properties
r118 r120 1 #Sat, 14 Oct 2017 1 2:09:29 -07001 #Sat, 14 Oct 2017 13:43:49 -0700 2 2 3 Application.revision=11 43 Application.revision=119 4 4 5 5 Application.buildnumber=52 -
trunk/src/tmcsim/client/ATMSBatchDriver.java
r112 r120 43 43 * @author jdalbey 44 44 */ 45 public class ATMS DriverClientextends UnicastRemoteObject implements45 public class ATMSBatchDriver extends UnicastRemoteObject implements 46 46 CADClientInterface 47 47 { … … 114 114 * file containing configuration data. 115 115 */ 116 public ATMS DriverClient(String propertiesFile) throws SimulationException,116 public ATMSBatchDriver(String propertiesFile) throws SimulationException, 117 117 RemoteException 118 118 { … … 149 149 simClock = formatter.parse(currentClock); 150 150 } catch (ParseException ex) { 151 Logger.getLogger(ATMS DriverClient.class.getName()).log(Level.SEVERE, null, ex);151 Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 152 152 System.out.println("Invalid simulation clock time found in ATMSDriverClient"); 153 153 System.exit(-1); … … 156 156 } catch (RemoteException ex) 157 157 { 158 Logger.getLogger(ATMS DriverClient.class.getName()).log(Level.SEVERE, null, ex);158 Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 159 159 } 160 160 // If we have any events left to process … … 168 168 eventTime = formatter.parse(eventTimeField); 169 169 } catch (ParseException ex) { 170 Logger.getLogger(ATMS DriverClient.class.getName()).log(Level.WARNING, null, ex);170 Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.WARNING, null, ex); 171 171 System.out.println("Unable to parse event time: " + nextEvent + " skipping."); 172 172 eventQueue.remove(); … … 220 220 } 221 221 } catch (FileNotFoundException ex) { 222 Logger.getLogger(ATMS DriverClient.class.getName()).log(Level.SEVERE, null, ex);222 Logger.getLogger(ATMSBatchDriver.class.getName()).log(Level.SEVERE, null, ex); 223 223 } 224 224 } … … 344 344 { 345 345 UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName()); 346 new ATMS DriverClient(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + CONFIG_FILE_NAME);346 new ATMSBatchDriver(System.getProperty("CONFIG_DIR") + System.getProperty("file.separator") + CONFIG_FILE_NAME); 347 347 348 348 } catch (Exception e)
Note: See TracChangeset
for help on using the changeset viewer.
