Changes between Version 5 and Version 6 of GraphicTrafficEventsCreator


Ignore:
Timestamp:
12/27/2019 12:04:44 PM (6 years ago)
Author:
jdalbey
Comment:

add error handling

Legend:

Unmodified
Added
Removed
Modified
  • GraphicTrafficEventsCreator

    v5 v6  
    66The current CPTMS display will be enhanced to include two additional controls: 
    77 
    8  1. A time selector - this is used to select the simulation time for which the traffic events are to be created.  The user specifies an hour (1-12), a minute(0-59), and seconds (0 or 30).  A user interface such as the Time Selector widget used in the Simulation Manager would be best.  
    9  1. A color selector - a drop down box with three color choices: green, yellow, and red. 
     8 1. A time selector - this is used to select the simulation time for which the traffic events are to be created.  The user specifies an hour (1-12), a minute(0-59), and seconds (0 or 30).  A user interface such as the Time Selector widget used in the Simulation Manager would be best (see attached screenshot).  
     9 1. A color selector - a drop down box with three color choices: green, yellow, and red, OR three separately colored buttons on the left hand side toolbar. 
     10 1. The current CPTMS buttons for VDS, CMS, etc should be removed. 
    1011 
    1112Use Case 
     
    1718User: Selects Yellow in the color selector. 
    1819User: Clicks on VDS "55 N 6.35 @ MAIN" 
    19 System: Changes the above dot to Yellow.  Changes dots further along 55 N to white, and all other dots on the map to black. 
     20System: The selected dot changes to Yellow. Dots further along 55 N become white,  
     21and all other dots on the map become black. 
    2022User: Clicks on VDS "55 N 6.94 @ MCARTHUR" 
    21 System: Changes all the dots between these two points to Yellow.   Restores all other dots on highway to their current color. 
    22 System: Append one line to the traffic events file: 
     23System: Changes all the dots between these two points to Yellow.   Restores all  
     24other dots on highway to their current color. 
     25System: Calculates the distance between the two dots (in this case, 0.59 miles)  
     26and append one line to the traffic events file: 
    23271   00:01:00  55     N         6.35     0.59    Y 
    24 User: Selects 0:01:30 in the time selector. 
     28System: Automatically advance the time selector by 30 seconds to 0:01:30.   
     29(The user may manually alter this time if the desire.) 
    2530User: Selects Yellow in the color selector. 
    2631User: Clicks on VDS "55 N 7.16 @ MCARTHU2" 
    27 System: Changes the above dot to Yellow.  Changes dots further along 55 N to white, and all other dots on the map to black. 
     32System: Changes the above dot to Yellow.  Changes dots further along 55 N to white,  
     33and all other dots on the map to black. 
    2834User: Clicks on VDS "55 N 8.12 @ DYER2" 
    29 System: Changes all the dots between these two points to Yellow.   Restores all other dots on highway to their current color. 
     35System: Changes all the dots between these two points to Yellow.   Restores all  
     36other dots on highway to their current color. 
    3037System: Append one line to the traffic events file: 
    31381   00:01:30  55     N         7.16     0.96    Y 
     
    3744 
    3845User then repeats the process for the next incident.  When all incidents have been created, user manually concatenates the files for all incidents, then sorts them by timestamp.  The resulting file is ready to be used by CPTMS. 
     46 
     47The system should have some UI features that prevent error.   
     481. If a time is manually selected, it may not be prior to the current time. (I.e., you can't go backwards in time.)  
     492. Don't allow a click on a dot until a color has been selected.   
     503. Once the first dot is selected, the color buttons are disabled until the second dot is chosen. 
     514. Once the first dot is selected, only a white dot may be chosen for the second dot.