Changes for page TCP Communication
Last modified by csp on 2025/01/30 12:05
<
>
edited by Alexander Schulz-Rosengarten
on 2014/07/14 16:27
on 2014/07/14 16:27
edited by Alexander Schulz-Rosengarten
on 2014/07/16 14:28
on 2014/07/16 14:28
Change comment:
new schedule indices
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -34,9 +34,9 @@ 34 34 * **trainCount** - an integer with the number of active trains on the railway 35 35 * **trains** - a JSON Array with the data of all trains, each entry is a JSON Object with these values\\ 36 36 ** **trainNum** - the individual controller number of the train 37 -** **waiting** - boolean value, true if the train is waiting in a station, false otherwise 38 -** **{{status colour=" Green" title="NEW"/}}waitTime** - (integer)timestamp, when the trainsallowed todepart, should only be interpretedif**waiting** is true39 -** **{{status colour=" Green" title="NEW"/}}spdSlow** - the integer PWM value of this train while driving slow37 +** --**waiting** - boolean value, true if the train is waiting in a station, false otherwise -- 38 +** **{{status colour="Red" title="Removed"/}}waitTime** - (integer) remaining milliseconds until departure (0 if not waiting) 39 +** **{{status colour="Yellow" title="changed"/}}spdSlow** - the integer PWM value of this train while driving slow 40 40 ** **spdCaution** - the integer PWM value of this train while driving caution 41 41 ** **spdNormal** - the integer PWM value of this train while driving normally 42 42 ** **currentIndex** -an integer describing the current position in the schedule ... ... @@ -65,75 +65,75 @@ 65 65 Track 66 66 ))) 67 67 |((( 68 - 168 +0 69 69 )))|((( 70 70 KH_ST_1 71 71 )))|(% colspan="1" %)(% colspan="1" %) 72 72 ((( 73 - 673 +8 74 74 )))|(% colspan="1" %)(% colspan="1" %) 75 75 ((( 76 76 KH_ST_1 (reverse) 77 77 )))|((( 78 -1 178 +16 79 79 )))|((( 80 80 IC_ST_3 81 81 )))|(% colspan="1" %)(% colspan="1" %) 82 82 ((( 83 - 1483 +24 84 84 )))|(% colspan="1" %)(% colspan="1" %) 85 85 ((( 86 86 OC_ST_3 87 87 ))) 88 88 |((( 89 - 289 +1 90 90 )))|((( 91 91 KH_ST_2 92 92 )))|(% colspan="1" %)(% colspan="1" %) 93 93 ((( 94 - 794 +9 95 95 )))|(% colspan="1" %)(% colspan="1" %) 96 96 ((( 97 97 KH_ST_2 (reverse) 98 98 )))|((( 99 -1 299 +17 100 100 )))|((( 101 101 IC_ST_2 102 102 )))|(% colspan="1" %)(% colspan="1" %) 103 103 ((( 104 - 15104 +25 105 105 )))|(% colspan="1" %)(% colspan="1" %) 106 106 ((( 107 107 OC_ST_2 108 108 ))) 109 109 |((( 110 - 3110 +2 111 111 )))|((( 112 112 KH_ST_3 113 113 )))|(% colspan="1" %)(% colspan="1" %) 114 114 ((( 115 - 8115 +10 116 116 )))|(% colspan="1" %)(% colspan="1" %) 117 117 ((( 118 118 KH_ST_3 (reverse) 119 119 )))|((( 120 -1 3120 +18 121 121 )))|((( 122 122 IC_ST_1 123 123 )))|(% colspan="1" %)(% colspan="1" %) 124 124 ((( 125 - 16125 +26 126 126 )))|(% colspan="1" %)(% colspan="1" %) 127 127 ((( 128 128 OC_ST_1 129 129 ))) 130 130 |((( 131 - 4131 +3 132 132 )))|((( 133 133 KH_ST_4 134 134 )))|(% colspan="1" %)(% colspan="1" %) 135 135 ((( 136 - 9136 +11 137 137 )))|(% colspan="1" %)(% colspan="1" %) 138 138 ((( 139 139 KH_ST_4 (reverse) ... ... @@ -149,12 +149,12 @@ 149 149 150 150 ))) 151 151 |((( 152 - 5152 +4 153 153 )))|((( 154 154 KH_ST_5 155 155 )))|(% colspan="1" %)(% colspan="1" %) 156 156 ((( 157 -1 0157 +12 158 158 )))|(% colspan="1" %)(% colspan="1" %) 159 159 ((( 160 160 KH_ST_5 (reverse) ... ... @@ -196,7 +196,7 @@ 196 196 197 197 === Valid commands === 198 198 199 -* //STATUS// - Poll for the current status, should trigger a status reply message \\199 +* //STATUS// - Poll for the current status, should trigger a status reply message 200 200 * //SHUTDOWN// - Causing the controller to end the program and close all sockets 201 201 * //LOGOUT// - Closing the connection, leaving the controller running 202 202 * //PAUSE// - suspend or resume the controller, must supply additional payload
- Confluence.Code.ConfluencePageClass[0]
-
- Id
-
... ... @@ -1,1 +1,1 @@ 1 -94715 441 +9471568 - URL
-
... ... @@ -1,1 +1,1 @@ 1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/94715 44/TCP Communication1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471568/TCP Communication