<
From version < 16.1 >
edited by Alexander Schulz-Rosengarten
on 2014/07/16 14:49
To version < 12.1 >
edited by Alexander Schulz-Rosengarten
on 2014/07/14 16:27
>
Change comment: There is no comment for this version

Summary

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="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
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 train is allowed to depart, should only be interpreted if **waiting** is true 
39 +** **{{status colour="Green" title="NEW"/}}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 -0
68 +1
69 69  )))|(((
70 70  KH_ST_1
71 71  )))|(% colspan="1" %)(% colspan="1" %)
72 72  (((
73 -8
73 +6
74 74  )))|(% colspan="1" %)(% colspan="1" %)
75 75  (((
76 76  KH_ST_1 (reverse)
77 77  )))|(((
78 -16
78 +11
79 79  )))|(((
80 -IC_ST_1
80 +IC_ST_3
81 81  )))|(% colspan="1" %)(% colspan="1" %)
82 82  (((
83 -24
83 +14
84 84  )))|(% colspan="1" %)(% colspan="1" %)
85 85  (((
86 -OC_ST_1
86 +OC_ST_3
87 87  )))
88 88  |(((
89 -1
89 +2
90 90  )))|(((
91 91  KH_ST_2
92 92  )))|(% colspan="1" %)(% colspan="1" %)
93 93  (((
94 -9
94 +7
95 95  )))|(% colspan="1" %)(% colspan="1" %)
96 96  (((
97 97  KH_ST_2 (reverse)
98 98  )))|(((
99 -17
99 +12
100 100  )))|(((
101 101  IC_ST_2
102 102  )))|(% colspan="1" %)(% colspan="1" %)
103 103  (((
104 -25
104 +15
105 105  )))|(% colspan="1" %)(% colspan="1" %)
106 106  (((
107 107  OC_ST_2
108 108  )))
109 109  |(((
110 -2
110 +3
111 111  )))|(((
112 112  KH_ST_3
113 113  )))|(% colspan="1" %)(% colspan="1" %)
114 114  (((
115 -10
115 +8
116 116  )))|(% colspan="1" %)(% colspan="1" %)
117 117  (((
118 118  KH_ST_3 (reverse)
119 119  )))|(((
120 -18
120 +13
121 121  )))|(((
122 -IC_ST_3
122 +IC_ST_1
123 123  )))|(% colspan="1" %)(% colspan="1" %)
124 124  (((
125 -26
125 +16
126 126  )))|(% colspan="1" %)(% colspan="1" %)
127 127  (((
128 -OC_ST_3
128 +OC_ST_1
129 129  )))
130 130  |(((
131 -3
131 +4
132 132  )))|(((
133 133  KH_ST_4
134 134  )))|(% colspan="1" %)(% colspan="1" %)
135 135  (((
136 -11
136 +9
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 -4
152 +5
153 153  )))|(((
154 154  KH_ST_5
155 155  )))|(% colspan="1" %)(% colspan="1" %)
156 156  (((
157 -12
157 +10
158 158  )))|(% colspan="1" %)(% colspan="1" %)
159 159  (((
160 160  KH_ST_5 (reverse)
... ... @@ -171,14 +171,8 @@
171 171  )))
172 172  )))
173 173  * **locks** - a JSON Array containing the current value of the track permissions, ordered by the default encoding (Hoermann API)
174 -* **tickTime** - Time consumption of tick function. 3 element array [min,avg,max].
175 -* **overallTime** -  Time consumption of overall controller loop. 3 element array [min,avg,max].
176 176  
177 -
178 -
179 179  {{code title="Sample status" language="js" collapse="true"}}
180 -<<OUTDATED>>
181 -
182 182  {"msgType":"status",
183 183   "data":{
184 184   "debug":false,
... ... @@ -202,7 +202,7 @@
202 202  
203 203  === Valid commands ===
204 204  
205 -* //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\\
206 206  * //SHUTDOWN// - Causing the controller to end the program and close all sockets
207 207  * //LOGOUT// - Closing the connection, leaving the controller running
208 208  * //PAUSE// - suspend or resume the controller, must supply additional payload
Confluence.Code.ConfluencePageClass[0]
Id
... ... @@ -1,1 +1,1 @@
1 -9471578
1 +9471544
URL
... ... @@ -1,1 +1,1 @@
1 -https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471578/TCP Communication
1 +https://rtsys.informatik.uni-kiel.de/confluence//wiki/spaces/SS14Railway/pages/9471544/TCP Communication