Changeset 448 in tmcsimulator for trunk/src/tmcsim/cadsimulator/Coordinator.java
- Timestamp:
- 07/16/2019 06:34:33 AM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/tmcsim/cadsimulator/Coordinator.java (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/tmcsim/cadsimulator/Coordinator.java
r440 r448 100 100 private String kSimClockFilename; 101 101 /** 102 * Name of output file for CAD comments103 */ 104 private static final String LOG_FILE_NAME = "CADcomments.log";102 * The name of file where CADcommentLog is written 103 */ 104 private String kCADcommentLog; 105 105 /** 106 106 * Error logger. … … 131 131 * initializeSimulation. 132 132 * @param simTimeFilename name of the file where the simulation clock time is written 133 * @throws RemoteException 134 */ 135 public Coordinator(CADSimulatorState model, String simTimeFilename) throws RemoteException 133 * @param commentLogname name of file where CADcommentLog is written 134 * @throws RemoteException 135 */ 136 public Coordinator(CADSimulatorState model, String simTimeFilename, String commentLogname) throws RemoteException 136 137 { 137 138 super(); 138 139 cadModel = model; 139 140 kSimClockFilename = simTimeFilename; 141 kCADcommentLog = commentLogname; 140 142 clientList = new LinkedList<CADClientInterface>(); 141 143 cadData = new CADData(); … … 768 770 try 769 771 { 770 PrintWriter writer = new PrintWriter(new FileWriter( LOG_FILE_NAME));772 PrintWriter writer = new PrintWriter(new FileWriter(kCADcommentLog)); 771 773 writer.print(output); 772 774 writer.close();
Note: See TracChangeset
for help on using the changeset viewer.
