Changeset 274 in tmcsimulator for trunk/src/atmsdriver/model/Station.java


Ignore:
Timestamp:
02/25/2019 04:36:04 PM (7 years ago)
Author:
jdalbey
Message:

Multi file commit: adding and elaborating on comments and javadoc.

File:
1 edited

Legend:

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

    r237 r274  
    208208    { 
    209209        /* For now just use the color of the first lane.  
    210          * TODO: Average the color in all the lanes for the given direction */ 
     210         * TODO: Average the color in ALL the lanes for the given direction */ 
    211211 
    212212        String laneDir = ""; 
     
    219219            laneDir = "OS"; 
    220220        } 
    221         // Examine all the lanes in a given direction 
     221        // Search lanes to find specified direction 
    222222        for (LoopDetector loop : loops) 
    223223        { 
    224224            if (loop.loopLocation.substring(0,2).equals(laneDir)) 
    225225            { 
    226                 // Return color according to loop volume 
     226                // Return color according to loop volume of first matching lane 
    227227                if (loop.vol == 1) 
    228228                { 
Note: See TracChangeset for help on using the changeset viewer.