...
- Each train has a trainnumber.
- Apart from identification the trainnumber is used for prioritization, when multiple trains compete for the same track.
- Lower numbers mean higher priorities, e.g. train 0 has the highest priority.
- Priorities can't be changed dynamicly.
- Each train has one home-track at each station.
- For binding purposes the variable should have the name trainNum.
...