Changeset 278 in tmcsimulator for trunk/src


Ignore:
Timestamp:
02/26/2019 09:11:08 AM (7 years ago)
Author:
jdalbey
Message:

Station.java CHANGED HIGHWAY MODEL to be consistent with JD's new BuildHighwayFile? pgm that creates a highway map based on VDS instead of Controller (LDS). (The code I removed is just commented out for now).

Location:
trunk/src
Files:
2 edited

Legend:

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

    r274 r278  
    187187        for (LoopDetector loop : loops) 
    188188        { 
    189             if (loop.loopLocation.startsWith(laneDir)) 
    190             { 
     189            // THIS DECISION ISN'T NEEDED after JD's BuildHighwayFile pgm 
     190            // creates a highway map based on VDS instead of Controller (LDS). 
     191//            if (loop.loopLocation.startsWith(laneDir)) 
     192//            { 
    191193                // UPDATE LOOP WITH VALUES 
    192194                loop.updateLoop(dotColor.volume(), dotColor.occupancy()); 
    193             } 
     195//            } 
    194196        } 
    195197 
     
    222224        for (LoopDetector loop : loops) 
    223225        { 
    224             if (loop.loopLocation.substring(0,2).equals(laneDir)) 
    225             { 
     226            // THIS DECISION ISN'T NEEDED after JD's BuildHighwayFile pgm 
     227            // creates a highway map based on VDS instead of Controller (LDS). 
     228//            if (loop.loopLocation.substring(0,2).equals(laneDir)) 
     229//            { 
    226230                // Return color according to loop volume of first matching lane 
    227231                if (loop.vol == 1) 
     
    237241                    return '-'; 
    238242                } 
    239             } 
     243//            } 
    240244        } 
    241245        // Default case for when the route is not on this direction 
  • trunk/src/tmcsim/application.properties

    r274 r278  
    1 #Mon, 25 Feb 2019 17:13:55 -0800 
     1#Tue, 26 Feb 2019 10:15:50 -0800 
    22 
    3 Application.revision=273 
     3Application.revision=275 
    44 
    5 Application.buildnumber=97 
     5Application.buildnumber=99 
Note: See TracChangeset for help on using the changeset viewer.