<
From version < 33.1 >
edited by csp
on 2014/08/05 12:24
To version < 37.1 >
edited by Alexander Schulz-Rosengarten
on 2014/08/07 17:35
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.csp
1 +XWiki.als
Content
... ... @@ -32,7 +32,7 @@
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 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 = travelling until next station, 3 = forced wait)
35 +** **state** - integer value for current train state (0 = travelling, 1 = waiting, 2 = travelling until next station, 3 = forced wait, 4 = no schedule)
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
... ... @@ -221,6 +221,8 @@
221 221  * //CLEANUP// - Start the cleanup procedure, sending the trains back to their home tacks
222 222  * //DEBUG// - enable or disable verbose output, must supply additional payload
223 223  ** **state** - boolean value, true if verbose output should be activated
224 +* //ECHO// - Prints message as log message on the server (will be broadcasted to all clients) {{status colour="Green" title="NEW"/}}\\
225 +** **message** - string, message text
224 224  * //LIGHT// - activate or deactivate the lights on the railway, must supply additional payload\\
225 225  ** **state** - boolean value, true if lights should be lit
226 226  * //WAIT// - Force a train to wait in the next station, must supply additional payload
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471635
1 +9471684
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471635/TCP Communication
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471684/TCP Communication