Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Train numbering

Variable trainNum is used to identify trains.

The assignment of numbers to trains is chosen as followed

trainNumStarting track
0KH_ST_1
1KH_ST_2
2KH_ST_3 (r)
3KH_ST_4 (r)
4IC_ST_3
5IC_ST_2
6OC_ST_2
7OC_ST_1
8KH_ST_5
9IC_ST_1
10OC_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.

  • No labels