<
From version < 25.1 >
edited by nbw
on 2014/07/30 14:20
To version < 24.1 >
edited by nbw
on 2014/07/30 14:14
>
Change comment: removed trainNum from train entries in state

Summary

Details

Page properties
Content
... ... @@ -31,8 +31,7 @@
31 31  * **cleanup** - true after cleanup mode has been engaged, false before that point
32 32  * **pause** - true while the controller is paused, false otherwise
33 33  * **trainCount** - an integer with the number of active trains on the railway
34 -* **trains** - a JSON Array with the data of all trains, each entry is a JSON Object with these values
35 -** **state** - integer value for current train state (0 = travelling, 1 = waiting, 2 = forced travel, 3 = forced wait)
34 +* **trains** - a JSON Array with the data of all trains, each entry is a JSON Object with these values\\
36 36  ** **waitTime** - (integer) remaining milliseconds until departure (0 if not waiting)
37 37  ** **spdSlow** - the integer PWM value of this train while driving slow
38 38  ** **spdCaution** - the integer PWM value of this train while driving caution
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471614
1 +9471612
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471614/TCP Communication
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471612/TCP Communication