Changeset 101 in tmcsimulator for trunk/src


Ignore:
Timestamp:
10/11/2017 04:36:47 PM (9 years ago)
Author:
jtorres
Message:

ATMSDriver: added local configuration for ATMSDriver (for when the FEPSimulator is being run locally). This included adding a new config file: turnk/config/atms_driver_config_local.properties

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/atmsdriver/model/Highways.java

    r95 r101  
    1818import java.util.List; 
    1919import java.util.Map; 
     20import java.util.Observable; 
     21import java.util.Observer; 
    2022import java.util.Scanner; 
    2123import java.util.Set; 
     
    3638 * @author John A. Torres 
    3739 */ 
    38 public class Highways { 
     40public class Highways implements Observer { 
    3941 
    4042    final private ArrayList<FEPLine> lines; 
     
    213215 
    214216    public void writeToFEP() { 
     217                    System.out.println(this.toXML().toCharArray().length); 
     218 
    215219        try { 
    216220            Socket sock = new Socket(FEPHostName, FEPPortNum); 
     
    289293    } 
    290294 
     295    @Override 
     296    public void update(Observable o, Object arg) { 
     297        throw new UnsupportedOperationException("Not supported yet."); //To change body of generated methods, choose Tools | Templates. 
     298    } 
     299 
    291300    private static enum XML_TAGS { 
    292301 
  • trunk/src/tmcsim/application.properties

    r89 r101  
    1 #Tue, 10 Oct 2017 15:53:59 -0700 
     1#Wed, 11 Oct 2017 17:25:07 -0700 
    22 
    3 Application.revision=88 
     3Application.revision=97 
    44 
    55Application.buildnumber=50 
Note: See TracChangeset for help on using the changeset viewer.