Documentation
Version 4.1 by nbw on 2014/06/14 21:37
Train numbering
Variable trainNum is used to identify trains.
The assignment of numbers to trains is chosen as followed
trainNum | Starting track |
---|---|
0 | KH_ST_1 |
1 | KH_ST_2 |
2 | KH_ST_3 (r) |
3 | KH_ST_4 (r) |
4 | IC_ST_3 |
5 | IC_ST_2 |
6 | OC_ST_2 |
7 | OC_ST_1 |
8 | KH_ST_5 |
9 | IC_ST_1 |
10 | OC_ST_3 |
Logging
Variable debug indicates verbose logging.
Prefix of all log messages must be : [trainnum][ST-ST]
Use println function to produce textual output. Do not use printf or other io functions, because output may not be flushed correctly.