Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • If the preferred station track is blocked the trains can switch to any other free track.
    While cleanup is active the trains on IC_ST_1, OC_ST_3 or KH_ST_1 circle until all tracks are done.

Rulesets

Logging

  • All log messages must be prefixed. For Station-2-Station controllers the prefix [trainnum][ST-ST] must be used.
  • The variable debug indicates verbose logging.
  • Station-2-Station controllers should produce a log message when entering a new train segment even without verbose logging.
  • With verbose logging every state can produce a log message as an entry action.
  • Function println(String str) must be used to produce textual output.
  • printf() or other IO functions must not be used, because output may not be flushed correctly.

...