Controller Output
The controller executable outputs JSON data whenever certain internal values are updated. The JSON output contains one or more of the following fields.
...
The controller accepts the following input format (as JSON) through stdin. The input JSON must be on a single line.
Field name | Content type | Value range | Number of values | Description |
---|---|---|---|---|
Action | int | 0-MAXINT, 0-47,0-47,0-1 | 4 | Contains the description of a new train action in the format: [ id, start, destination, reverse flag ] |