Changeset 176 in tmcsimulator for trunk/src/atmsdriver/model


Ignore:
Timestamp:
10/24/2017 02:07:02 PM (9 years ago)
Author:
jtorres
Message:

Highways.java, LoopDetector?.java: updateByDirection() methods now take float occ value. ConsoleDriver?.java: DOTCOLOR enum now contains valid vol and occ values. atmsBatchEvents.txt: updated to fullBatchEvents script.

Location:
trunk/src/atmsdriver/model
Files:
2 edited

Legend:

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

    r170 r176  
    222222            throw new SimulationException(SimulationException.BINDING); 
    223223        } 
     224        updateSequences(); 
    224225    } 
    225226 
  • trunk/src/atmsdriver/model/LoopDetector.java

    r118 r176  
    2323    /* dynamic data */ 
    2424    public int vol; 
    25     public int occ; 
     25    public float occ; 
    2626    private int spd; 
    2727     
     
    8383     * @param spd speed 
    8484     */ 
    85     public void updateLoop(int vol, int occ, int spd) 
     85    public void updateLoop(int vol, float occ, int spd) 
    8686    { 
    8787        this.vol = vol; 
Note: See TracChangeset for help on using the changeset viewer.