Changeset 348 in tmcsimulator
- Timestamp:
- 03/26/2019 09:13:54 AM (7 years ago)
- Location:
- trunk/webapps
- Files:
-
- 9 added
- 3 edited
-
cptms.html (modified) (2 diffs)
-
gototime.html (added)
-
gotoxmltime.html (added)
-
highway_status.json (modified) (18 diffs)
-
js/common.js (modified) (1 diff)
-
poem.js (added)
-
runTimer.py (added)
-
sample_events.xml (added)
-
scrolldemo.html (added)
-
showtime.html (added)
-
sim_clock.json (added)
-
timescroller.html (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/cptms.html
r340 r348 48 48 <input id='cmsID' value="" type='hidden'/> 49 49 <div id="message-input">Phase 1: 50 <input id="msgcontent1" class="cms-input" maxlength="16" type="text" /><br><br>51 <input id="msgcontent2" class="cms-input" maxlength="16" type="text" /><br><br>52 <input id="msgcontent3" class="cms-input" maxlength="16" type="text" /><br><br><br>50 <input id="msgcontent1" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br> 51 <input id="msgcontent2" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br> 52 <input id="msgcontent3" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br><br> 53 53 Phase 2: 54 <input id="msgcontent4" class="cms-input" maxlength="16" type="text" /><br><br>55 <input id="msgcontent5" class="cms-input" maxlength="16" type="text" /><br><br>56 <input id="msgcontent6" class="cms-input" maxlength="16" type="text" /><br><br>54 <input id="msgcontent4" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br> 55 <input id="msgcontent5" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br> 56 <input id="msgcontent6" class="cms-input" maxlength="16" type="text" oninput="this.value = this.value.toUpperCase()"/><br><br> 57 57 </div> 58 58 <div id="buttonPanel" style="display: block;"><br><br> … … 77 77 <input id='harID' value="" type='hidden'/> 78 78 <!--div id="har-message-input"-->Proposed:<br> 79 <input id="har-msgcontent1" class="har-input" type="text" size="50" ><br>79 <input id="har-msgcontent1" class="har-input" type="text" size="50" oninput="this.value = this.value.toUpperCase()"><br> 80 80 <!--textarea id="har-msgcontent1" maxlength="150" rows="2" cols="50"/><br><br--> 81 81 -
trunk/webapps/highway_status.json
r345 r348 198 198 }, 199 199 "properties": 200 {"street": "JEFFREY 2", "color": " lime", "perpx": "0.142134", "perpy": "0.989847"}200 {"street": "JEFFREY 2", "color": "yellow", "perpx": "0.142134", "perpy": "0.989847"} 201 201 }, 202 202 { … … 308 308 }, 309 309 "properties": 310 {"street": "HARVARD", "color": " lime", "perpx": "0.320278", "perpy": "0.947323"}310 {"street": "HARVARD", "color": "yellow", "perpx": "0.320278", "perpy": "0.947323"} 311 311 }, 312 312 { … … 330 330 }, 331 331 "properties": 332 {"street": "JAMBOREE1", "color": " lime", "perpx": "0.400805", "perpy": "0.916164"}332 {"street": "JAMBOREE1", "color": "yellow", "perpx": "0.400805", "perpy": "0.916164"} 333 333 }, 334 334 { … … 352 352 }, 353 353 "properties": 354 {"street": "JAMBOREE2", "color": " lime", "perpx": "0.400805", "perpy": "0.916164"}354 {"street": "JAMBOREE2", "color": "yellow", "perpx": "0.400805", "perpy": "0.916164"} 355 355 }, 356 356 { … … 374 374 }, 375 375 "properties": 376 {"street": "MACARTHUR 1", "color": " lime", "perpx": "0.408917", "perpy": "0.912572"}376 {"street": "MACARTHUR 1", "color": "yellow", "perpx": "0.408917", "perpy": "0.912572"} 377 377 }, 378 378 { … … 418 418 }, 419 419 "properties": 420 {"street": "RED HILL", "color": " lime", "perpx": "0.126754", "perpy": "0.991934"}420 {"street": "RED HILL", "color": "red", "perpx": "0.126754", "perpy": "0.991934"} 421 421 }, 422 422 { … … 440 440 }, 441 441 "properties": 442 {"street": "BRISTOL 1", "color": " lime", "perpx": "0.0", "perpy": "1.0"}442 {"street": "BRISTOL 1", "color": "red", "perpx": "0.0", "perpy": "1.0"} 443 443 }, 444 444 { … … 462 462 }, 463 463 "properties": 464 {"street": "BRISTOL 2", "color": " lime", "perpx": "0.0", "perpy": "1.0"}464 {"street": "BRISTOL 2", "color": "red", "perpx": "0.0", "perpy": "1.0"} 465 465 }, 466 466 { … … 495 495 }, 496 496 "properties": 497 {"street": "FAIRVIEW", "color": " lime", "perpx": "0", "perpy": "0"}497 {"street": "FAIRVIEW", "color": "red", "perpx": "0", "perpy": "0"} 498 498 }, 499 499 { … … 1200 1200 }, 1201 1201 "properties": 1202 {"street": "EL TORO 1", "color": " lime", "perpx": "0.647648", "perpy": "0.761939"}1202 {"street": "EL TORO 1", "color": "red", "perpx": "0.647648", "perpy": "0.761939"} 1203 1203 }, 1204 1204 { … … 1244 1244 }, 1245 1245 "properties": 1246 {"street": "LAKE FOR2", "color": " lime", "perpx": "0", "perpy": "0"}1246 {"street": "LAKE FOR2", "color": "red", "perpx": "0", "perpy": "0"} 1247 1247 }, 1248 1248 { … … 2292 2292 }, 2293 2293 "properties": 2294 {"street": "BAKER 2", "color": " lime", "perpx": "-0.639107", "perpy": "0.769118"}2294 {"street": "BAKER 2", "color": "red", "perpx": "-0.639107", "perpy": "0.769118"} 2295 2295 }, 2296 2296 { … … 2325 2325 }, 2326 2326 "properties": 2327 {"street": "PAULARINO 1", "color": " lime", "perpx": "-0.722093", "perpy": "0.691796"}2327 {"street": "PAULARINO 1", "color": "red", "perpx": "-0.722093", "perpy": "0.691796"} 2328 2328 }, 2329 2329 { … … 2336 2336 }, 2337 2337 "properties": 2338 {"street": "PAULARINO 2", "color": " lime", "perpx": "0.719864", "perpy": "-0.694115"}2338 {"street": "PAULARINO 2", "color": "yellow", "perpx": "0.719864", "perpy": "-0.694115"} 2339 2339 }, 2340 2340 { … … 2347 2347 }, 2348 2348 "properties": 2349 {"street": "PAULARINO 2", "color": " lime", "perpx": "-0.725185", "perpy": "0.688554"}2349 {"street": "PAULARINO 2", "color": "red", "perpx": "-0.725185", "perpy": "0.688554"} 2350 2350 }, 2351 2351 { … … 2358 2358 }, 2359 2359 "properties": 2360 {"street": "MACARTHU1", "color": " lime", "perpx": "-0.710326", "perpy": "0.703873"}2360 {"street": "MACARTHU1", "color": "yellow", "perpx": "-0.710326", "perpy": "0.703873"} 2361 2361 }, 2362 2362 { … … 2380 2380 }, 2381 2381 "properties": 2382 {"street": "MACARTHU2", "color": " lime", "perpx": "-0.710326", "perpy": "0.703873"}2382 {"street": "MACARTHU2", "color": "yellow", "perpx": "-0.710326", "perpy": "0.703873"} 2383 2383 }, 2384 2384 { … … 2435 2435 }, 2436 2436 "properties": 2437 {"street": "EDINGER 1", "color": " lime", "perpx": "0", "perpy": "0"}2437 {"street": "EDINGER 1", "color": "yellow", "perpx": "0", "perpy": "0"} 2438 2438 }, 2439 2439 { -
trunk/webapps/js/common.js
r327 r348 4 4 { 5 5 var xobj = new XMLHttpRequest(); 6 xobj.overrideMimeType("application/json"); 6 // Assume XML unless filename ends with .json 7 if (inFile.endsWith(".json")) 8 { 9 xobj.overrideMimeType("application/json"); 10 } 7 11 xobj.open('GET', inFile, true); 8 12 xobj.onreadystatechange = function()
Note: See TracChangeset
for help on using the changeset viewer.
