root/applications/doprava/Zlicin.cfg
@
820
| Revision 820, 0.9 kB (checked in by smidl, 16 years ago) |
|---|
| Rev | Line | |
|---|---|---|
| [820] | 1 | agents = ( |
| 2 | { // agent 1 | |
| [819] | 3 | class = "BaseTrafficAgent"; |
| [820] | 4 | name = "495"; |
| 5 | sg = ( | |
| 6 | { name = "VA"; | |
| 7 | detectors = ( | |
| 8 | { name = "DVA1"; distance = 10;}, | |
| 9 | {name = "DVA"; distance = 20; } | |
| 10 | ); | |
| 11 | }, | |
| 12 | { name = "VB"; | |
| 13 | detectors = (); | |
| 14 | input = {}; | |
| 15 | output = {}; | |
| 16 | }); | |
| 17 | input = ( // remote detectors | |
| [816] | 18 | { |
| [819] | 19 | name = "601DVA1"; |
| 20 | distance = 100; | |
| [820] | 21 | to = ("VC","VD"); |
| [816] | 22 | }, |
| 23 | { | |
| [819] | 24 | name = "601DVA"; |
| 25 | distance = 100; | |
| [820] | 26 | to = ("VC","VD"); |
| [816] | 27 | } |
| [820] | 28 | ); |
| 29 | output = ( // | |
| [816] | 30 | { |
| [820] | 31 | from = ("VC"); |
| [819] | 32 | detector ="495DVC"; |
| [816] | 33 | to = "601"; |
| 34 | } | |
| [820] | 35 | ); |
| [816] | 36 | |
| 37 | offset = 40; //s | |
| 38 | }, | |
| [820] | 39 | { //agent 2 |
| [819] | 40 | class = "BaseTrafficAgent"; |
| [816] | 41 | name = "601"; |
| [820] | 42 | sg = ( |
| [816] | 43 | { name = "VA"; |
| [820] | 44 | detectors = ( |
| 45 | { name = "DVA1"; distance = 10; }, | |
| 46 | {name = "DVA"; distance = 20; } | |
| 47 | ); | |
| [816] | 48 | }, |
| 49 | { name = "VB"; | |
| [820] | 50 | detectors = (); |
| [816] | 51 | } |
| [820] | 52 | ); |
| [816] | 53 | |
| 54 | offset = 60; //s | |
| [820] | 55 | input = (); |
| 56 | output = (); | |
| [816] | 57 | } |
| [820] | 58 | ); |
Note: See TracBrowser
for help on using the browser.
