rsmp 0.43.2 → 0.45.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (222) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/rubocop.yaml +1 -1
  3. data/.github/workflows/sus.yaml +1 -1
  4. data/.gitignore +0 -1
  5. data/CHANGELOG.md +12 -1
  6. data/Gemfile +0 -2
  7. data/Gemfile.lock +10 -88
  8. data/README.md +30 -35
  9. data/Rakefile +2 -2
  10. data/config/supervisor.yaml +2 -1
  11. data/config/tlc.yaml +2 -2
  12. data/documentation/configuration.md +12 -11
  13. data/documentation/message_distribution.md +1 -2
  14. data/documentation/tasks.md +1 -2
  15. data/exe/rsmp +1 -2
  16. data/lib/rsmp/cli.rb +62 -8
  17. data/lib/rsmp/component/component.rb +0 -4
  18. data/lib/rsmp/component/component_base.rb +15 -2
  19. data/lib/rsmp/component/component_proxy.rb +1 -1
  20. data/lib/rsmp/component/components.rb +22 -1
  21. data/lib/rsmp/convert/export/json_schema/outputs.rb +19 -0
  22. data/lib/rsmp/convert/export/json_schema/values.rb +7 -5
  23. data/lib/rsmp/convert/export/json_schema.rb +15 -3
  24. data/lib/rsmp/helpers/deep_merge.rb +2 -2
  25. data/lib/rsmp/message.rb +32 -0
  26. data/lib/rsmp/node/site/site.rb +34 -10
  27. data/lib/rsmp/node/supervisor/modules/configuration.rb +32 -5
  28. data/lib/rsmp/node/supervisor/modules/connection.rb +0 -2
  29. data/lib/rsmp/node/supervisor/supervisor.rb +0 -7
  30. data/lib/rsmp/options/options.rb +55 -6
  31. data/lib/rsmp/options/schemas/site.json +6 -3
  32. data/lib/rsmp/options/schemas/supervisor.json +5 -2
  33. data/lib/rsmp/options/schemas/supervisor_site.json +5 -2
  34. data/lib/rsmp/options/site_options.rb +3 -2
  35. data/lib/rsmp/options/supervisor_options.rb +3 -1
  36. data/lib/rsmp/proxy/modules/acknowledgements.rb +2 -0
  37. data/lib/rsmp/proxy/modules/receive.rb +5 -2
  38. data/lib/rsmp/proxy/modules/state.rb +1 -0
  39. data/lib/rsmp/proxy/modules/versions.rb +90 -15
  40. data/lib/rsmp/proxy/proxy.rb +52 -3
  41. data/lib/rsmp/proxy/site/modules/status.rb +5 -3
  42. data/lib/rsmp/proxy/site/site_proxy.rb +68 -35
  43. data/lib/rsmp/proxy/site/sxl_selection.rb +54 -0
  44. data/lib/rsmp/proxy/supervisor/supervisor_proxy.rb +54 -18
  45. data/lib/rsmp/schema/core_sxl_resolution.rb +69 -0
  46. data/lib/rsmp/schema/message_resolution.rb +104 -0
  47. data/lib/rsmp/schema/validation.rb +57 -0
  48. data/lib/rsmp/schema.rb +87 -32
  49. data/lib/rsmp/schema_error.rb +7 -1
  50. data/lib/rsmp/sxl/interface.rb +48 -0
  51. data/lib/rsmp/sxl/registry.rb +55 -0
  52. data/lib/rsmp/sxl/site_interface.rb +10 -0
  53. data/lib/rsmp/sxl/supervisor_interface.rb +21 -0
  54. data/lib/rsmp/tlc/detector_logic.rb +2 -2
  55. data/lib/rsmp/tlc/signal_group.rb +2 -2
  56. data/lib/rsmp/tlc/site_interface.rb +10 -0
  57. data/lib/rsmp/tlc/{traffic_controller_proxy.rb → supervisor_interface.rb} +19 -34
  58. data/lib/rsmp/tlc/traffic_controller.rb +10 -2
  59. data/lib/rsmp/tlc/traffic_controller_site.rb +4 -2
  60. data/lib/rsmp/tlc.rb +10 -0
  61. data/lib/rsmp/version.rb +1 -1
  62. data/lib/rsmp.rb +8 -1
  63. data/rsmp.gemspec +5 -5
  64. data/schemas/core/3.3.0/aggregated_status.json +25 -0
  65. data/schemas/core/3.3.0/aggregated_status_request.json +9 -0
  66. data/schemas/core/3.3.0/alarm.json +71 -0
  67. data/schemas/core/3.3.0/alarm_acknowledge.json +11 -0
  68. data/schemas/core/3.3.0/alarm_issue.json +44 -0
  69. data/schemas/core/3.3.0/alarm_request.json +3 -0
  70. data/schemas/core/3.3.0/alarm_suspend_resume.json +3 -0
  71. data/schemas/core/3.3.0/alarm_suspended_resumed.json +44 -0
  72. data/schemas/core/3.3.0/command_request.json +24 -0
  73. data/schemas/core/3.3.0/command_response.json +35 -0
  74. data/schemas/core/3.3.0/component_list.json +24 -0
  75. data/schemas/core/3.3.0/core.json +40 -0
  76. data/schemas/core/3.3.0/definitions.json +133 -0
  77. data/schemas/core/3.3.0/message_ack.json +11 -0
  78. data/schemas/core/3.3.0/message_not_ack.json +15 -0
  79. data/schemas/core/3.3.0/rsmp.json +142 -0
  80. data/schemas/core/3.3.0/status.json +21 -0
  81. data/schemas/core/3.3.0/status_request.json +5 -0
  82. data/schemas/core/3.3.0/status_response.json +41 -0
  83. data/schemas/core/3.3.0/status_subscribe.json +31 -0
  84. data/schemas/core/3.3.0/status_unsubscribe.json +5 -0
  85. data/schemas/core/3.3.0/status_update.json +41 -0
  86. data/schemas/core/3.3.0/version.json +144 -0
  87. data/schemas/core/3.3.0/watchdog.json +9 -0
  88. data/schemas/tlc/1.0.10/rsmp.json +2 -1
  89. data/schemas/tlc/1.0.10/sxl.yaml +1 -0
  90. data/schemas/tlc/1.0.10/sxl_index.json +356 -0
  91. data/schemas/tlc/1.0.13/rsmp.json +2 -1
  92. data/schemas/tlc/1.0.13/sxl.yaml +1 -0
  93. data/schemas/tlc/1.0.13/sxl_index.json +436 -0
  94. data/schemas/tlc/1.0.14/rsmp.json +2 -1
  95. data/schemas/tlc/1.0.14/sxl.yaml +1 -0
  96. data/schemas/tlc/1.0.14/sxl_index.json +468 -0
  97. data/schemas/tlc/1.0.15/rsmp.json +2 -1
  98. data/schemas/tlc/1.0.15/sxl.yaml +1 -0
  99. data/schemas/tlc/1.0.15/sxl_index.json +508 -0
  100. data/schemas/tlc/1.0.7/rsmp.json +2 -1
  101. data/schemas/tlc/1.0.7/sxl.yaml +1 -0
  102. data/schemas/tlc/1.0.7/sxl_index.json +356 -0
  103. data/schemas/tlc/1.0.8/rsmp.json +2 -1
  104. data/schemas/tlc/1.0.8/sxl.yaml +1 -0
  105. data/schemas/tlc/1.0.8/sxl_index.json +356 -0
  106. data/schemas/tlc/1.0.9/rsmp.json +2 -1
  107. data/schemas/tlc/1.0.9/sxl.yaml +1 -0
  108. data/schemas/tlc/1.0.9/sxl_index.json +356 -0
  109. data/schemas/tlc/1.1.0/rsmp.json +2 -1
  110. data/schemas/tlc/1.1.0/sxl.yaml +1 -0
  111. data/schemas/tlc/1.1.0/sxl_index.json +572 -0
  112. data/schemas/tlc/1.2.0/rsmp.json +2 -1
  113. data/schemas/tlc/1.2.0/sxl.yaml +1 -0
  114. data/schemas/tlc/1.2.0/sxl_index.json +571 -0
  115. data/schemas/tlc/1.2.1/rsmp.json +2 -1
  116. data/schemas/tlc/1.2.1/sxl.yaml +1 -0
  117. data/schemas/tlc/1.2.1/sxl_index.json +571 -0
  118. data/schemas/tlc/1.3.0/alarms/A0001.json +4 -0
  119. data/schemas/tlc/1.3.0/alarms/A0002.json +4 -0
  120. data/schemas/tlc/1.3.0/alarms/A0003.json +4 -0
  121. data/schemas/tlc/1.3.0/alarms/A0004.json +4 -0
  122. data/schemas/tlc/1.3.0/alarms/A0005.json +4 -0
  123. data/schemas/tlc/1.3.0/alarms/A0006.json +4 -0
  124. data/schemas/tlc/1.3.0/alarms/A0007.json +34 -0
  125. data/schemas/tlc/1.3.0/alarms/A0008.json +30 -0
  126. data/schemas/tlc/1.3.0/alarms/A0009.json +4 -0
  127. data/schemas/tlc/1.3.0/alarms/A0010.json +4 -0
  128. data/schemas/tlc/1.3.0/alarms/A0101.json +4 -0
  129. data/schemas/tlc/1.3.0/alarms/A0201.json +35 -0
  130. data/schemas/tlc/1.3.0/alarms/A0202.json +35 -0
  131. data/schemas/tlc/1.3.0/alarms/A0301.json +92 -0
  132. data/schemas/tlc/1.3.0/alarms/A0302.json +115 -0
  133. data/schemas/tlc/1.3.0/alarms/A0303.json +92 -0
  134. data/schemas/tlc/1.3.0/alarms/A0304.json +115 -0
  135. data/schemas/tlc/1.3.0/alarms/alarms.json +287 -0
  136. data/schemas/tlc/1.3.0/commands/M0001.json +92 -0
  137. data/schemas/tlc/1.3.0/commands/M0002.json +69 -0
  138. data/schemas/tlc/1.3.0/commands/M0003.json +69 -0
  139. data/schemas/tlc/1.3.0/commands/M0004.json +51 -0
  140. data/schemas/tlc/1.3.0/commands/M0005.json +69 -0
  141. data/schemas/tlc/1.3.0/commands/M0006.json +69 -0
  142. data/schemas/tlc/1.3.0/commands/M0007.json +51 -0
  143. data/schemas/tlc/1.3.0/commands/M0008.json +87 -0
  144. data/schemas/tlc/1.3.0/commands/M0010.json +51 -0
  145. data/schemas/tlc/1.3.0/commands/M0011.json +51 -0
  146. data/schemas/tlc/1.3.0/commands/M0012.json +51 -0
  147. data/schemas/tlc/1.3.0/commands/M0013.json +51 -0
  148. data/schemas/tlc/1.3.0/commands/M0014.json +69 -0
  149. data/schemas/tlc/1.3.0/commands/M0015.json +69 -0
  150. data/schemas/tlc/1.3.0/commands/M0016.json +51 -0
  151. data/schemas/tlc/1.3.0/commands/M0017.json +51 -0
  152. data/schemas/tlc/1.3.0/commands/M0018.json +69 -0
  153. data/schemas/tlc/1.3.0/commands/M0019.json +87 -0
  154. data/schemas/tlc/1.3.0/commands/M0020.json +87 -0
  155. data/schemas/tlc/1.3.0/commands/M0021.json +51 -0
  156. data/schemas/tlc/1.3.0/commands/M0022.json +249 -0
  157. data/schemas/tlc/1.3.0/commands/M0023.json +51 -0
  158. data/schemas/tlc/1.3.0/commands/M0024.json +33 -0
  159. data/schemas/tlc/1.3.0/commands/M0103.json +72 -0
  160. data/schemas/tlc/1.3.0/commands/M0104.json +141 -0
  161. data/schemas/tlc/1.3.0/commands/command_requests.json +8 -0
  162. data/schemas/tlc/1.3.0/commands/command_responses.json +8 -0
  163. data/schemas/tlc/1.3.0/commands/commands.json +415 -0
  164. data/schemas/tlc/1.3.0/defs/definitions.json +133 -0
  165. data/schemas/tlc/1.3.0/defs/guards.json +24 -0
  166. data/schemas/tlc/1.3.0/rsmp.json +75 -0
  167. data/schemas/tlc/1.3.0/statuses/S0001.json +109 -0
  168. data/schemas/tlc/1.3.0/statuses/S0002.json +36 -0
  169. data/schemas/tlc/1.3.0/statuses/S0003.json +36 -0
  170. data/schemas/tlc/1.3.0/statuses/S0004.json +36 -0
  171. data/schemas/tlc/1.3.0/statuses/S0005.json +72 -0
  172. data/schemas/tlc/1.3.0/statuses/S0006.json +54 -0
  173. data/schemas/tlc/1.3.0/statuses/S0007.json +73 -0
  174. data/schemas/tlc/1.3.0/statuses/S0008.json +73 -0
  175. data/schemas/tlc/1.3.0/statuses/S0009.json +73 -0
  176. data/schemas/tlc/1.3.0/statuses/S0010.json +73 -0
  177. data/schemas/tlc/1.3.0/statuses/S0011.json +73 -0
  178. data/schemas/tlc/1.3.0/statuses/S0012.json +73 -0
  179. data/schemas/tlc/1.3.0/statuses/S0013.json +54 -0
  180. data/schemas/tlc/1.3.0/statuses/S0014.json +55 -0
  181. data/schemas/tlc/1.3.0/statuses/S0015.json +55 -0
  182. data/schemas/tlc/1.3.0/statuses/S0016.json +36 -0
  183. data/schemas/tlc/1.3.0/statuses/S0017.json +36 -0
  184. data/schemas/tlc/1.3.0/statuses/S0018.json +61 -0
  185. data/schemas/tlc/1.3.0/statuses/S0019.json +36 -0
  186. data/schemas/tlc/1.3.0/statuses/S0020.json +54 -0
  187. data/schemas/tlc/1.3.0/statuses/S0021.json +37 -0
  188. data/schemas/tlc/1.3.0/statuses/S0022.json +36 -0
  189. data/schemas/tlc/1.3.0/statuses/S0023.json +37 -0
  190. data/schemas/tlc/1.3.0/statuses/S0024.json +37 -0
  191. data/schemas/tlc/1.3.0/statuses/S0025.json +162 -0
  192. data/schemas/tlc/1.3.0/statuses/S0026.json +36 -0
  193. data/schemas/tlc/1.3.0/statuses/S0027.json +36 -0
  194. data/schemas/tlc/1.3.0/statuses/S0028.json +36 -0
  195. data/schemas/tlc/1.3.0/statuses/S0029.json +36 -0
  196. data/schemas/tlc/1.3.0/statuses/S0030.json +36 -0
  197. data/schemas/tlc/1.3.0/statuses/S0031.json +36 -0
  198. data/schemas/tlc/1.3.0/statuses/S0032.json +73 -0
  199. data/schemas/tlc/1.3.0/statuses/S0033.json +77 -0
  200. data/schemas/tlc/1.3.0/statuses/S0034.json +36 -0
  201. data/schemas/tlc/1.3.0/statuses/S0035.json +49 -0
  202. data/schemas/tlc/1.3.0/statuses/S0091.json +40 -0
  203. data/schemas/tlc/1.3.0/statuses/S0092.json +40 -0
  204. data/schemas/tlc/1.3.0/statuses/S0095.json +36 -0
  205. data/schemas/tlc/1.3.0/statuses/S0096.json +126 -0
  206. data/schemas/tlc/1.3.0/statuses/S0097.json +54 -0
  207. data/schemas/tlc/1.3.0/statuses/S0098.json +72 -0
  208. data/schemas/tlc/1.3.0/statuses/S0201.json +54 -0
  209. data/schemas/tlc/1.3.0/statuses/S0202.json +54 -0
  210. data/schemas/tlc/1.3.0/statuses/S0203.json +54 -0
  211. data/schemas/tlc/1.3.0/statuses/S0204.json +198 -0
  212. data/schemas/tlc/1.3.0/statuses/S0205.json +54 -0
  213. data/schemas/tlc/1.3.0/statuses/S0206.json +54 -0
  214. data/schemas/tlc/1.3.0/statuses/S0207.json +54 -0
  215. data/schemas/tlc/1.3.0/statuses/S0208.json +198 -0
  216. data/schemas/tlc/1.3.0/statuses/statuses.json +787 -0
  217. data/schemas/tlc/1.3.0/sxl.yaml +2297 -0
  218. data/schemas/tlc/1.3.0/sxl_index.json +578 -0
  219. metadata +157 -15
  220. data/.github/copilot-instructions.md +0 -33
  221. data/.rspec +0 -1
  222. data/cucumber.yml +0 -1
@@ -0,0 +1,356 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.0.7",
6
+ "minimum_core_version" : "3.1.2"
7
+ },
8
+ "statuses" : {
9
+ "S0001" : {
10
+ "arguments" : [
11
+ "basecyclecounter",
12
+ "cyclecounter",
13
+ "signalgroupstatus",
14
+ "stage"
15
+ ]
16
+ },
17
+ "S0002" : {
18
+ "arguments" : [
19
+ "detectorlogicstatus"
20
+ ]
21
+ },
22
+ "S0003" : {
23
+ "arguments" : [
24
+ "extendedinputstatus",
25
+ "inputstatus"
26
+ ]
27
+ },
28
+ "S0004" : {
29
+ "arguments" : [
30
+ "extendedoutputstatus",
31
+ "outputstatus"
32
+ ]
33
+ },
34
+ "S0005" : {
35
+ "arguments" : [
36
+ "status"
37
+ ]
38
+ },
39
+ "S0006" : {
40
+ "arguments" : [
41
+ "emergencystage",
42
+ "status"
43
+ ]
44
+ },
45
+ "S0007" : {
46
+ "arguments" : [
47
+ "intersection",
48
+ "status"
49
+ ]
50
+ },
51
+ "S0008" : {
52
+ "arguments" : [
53
+ "intersection",
54
+ "status"
55
+ ]
56
+ },
57
+ "S0009" : {
58
+ "arguments" : [
59
+ "intersection",
60
+ "status"
61
+ ]
62
+ },
63
+ "S0010" : {
64
+ "arguments" : [
65
+ "intersection",
66
+ "status"
67
+ ]
68
+ },
69
+ "S0011" : {
70
+ "arguments" : [
71
+ "intersection",
72
+ "status"
73
+ ]
74
+ },
75
+ "S0012" : {
76
+ "arguments" : [
77
+ "intersection",
78
+ "status"
79
+ ]
80
+ },
81
+ "S0013" : {
82
+ "arguments" : [
83
+ "intersection",
84
+ "status"
85
+ ]
86
+ },
87
+ "S0014" : {
88
+ "arguments" : [
89
+ "status"
90
+ ]
91
+ },
92
+ "S0015" : {
93
+ "arguments" : [
94
+ "status"
95
+ ]
96
+ },
97
+ "S0016" : {
98
+ "arguments" : [
99
+ "number"
100
+ ]
101
+ },
102
+ "S0017" : {
103
+ "arguments" : [
104
+ "number"
105
+ ]
106
+ },
107
+ "S0018" : {
108
+ "arguments" : [
109
+ "number"
110
+ ]
111
+ },
112
+ "S0019" : {
113
+ "arguments" : [
114
+ "number"
115
+ ]
116
+ },
117
+ "S0020" : {
118
+ "arguments" : [
119
+ "controlmode",
120
+ "intersection"
121
+ ]
122
+ },
123
+ "S0021" : {
124
+ "arguments" : [
125
+ "detectorlogics"
126
+ ]
127
+ },
128
+ "S0025" : {
129
+ "arguments" : [
130
+ "ToGConfidence",
131
+ "ToRConfidence",
132
+ "likelyToGEstimate",
133
+ "likelyToREstimate",
134
+ "maxToGEstimate",
135
+ "maxToREstimate",
136
+ "minToGEstimate",
137
+ "minToREstimate"
138
+ ]
139
+ },
140
+ "S0091" : {
141
+ "arguments" : [
142
+ "status",
143
+ "user"
144
+ ]
145
+ },
146
+ "S0092" : {
147
+ "arguments" : [
148
+ "status",
149
+ "user"
150
+ ]
151
+ },
152
+ "S0095" : {
153
+ "arguments" : [
154
+ "status"
155
+ ]
156
+ },
157
+ "S0096" : {
158
+ "arguments" : [
159
+ "day",
160
+ "hour",
161
+ "minute",
162
+ "month",
163
+ "second",
164
+ "year"
165
+ ]
166
+ },
167
+ "S0201" : {
168
+ "arguments" : [
169
+ "starttime",
170
+ "vehicles"
171
+ ]
172
+ },
173
+ "S0202" : {
174
+ "arguments" : [
175
+ "speed",
176
+ "starttime"
177
+ ]
178
+ },
179
+ "S0203" : {
180
+ "arguments" : [
181
+ "occupancy",
182
+ "starttime"
183
+ ]
184
+ },
185
+ "S0204" : {
186
+ "arguments" : [
187
+ "B",
188
+ "C",
189
+ "F",
190
+ "L",
191
+ "LS",
192
+ "MC",
193
+ "P",
194
+ "PS",
195
+ "SP",
196
+ "starttime"
197
+ ]
198
+ }
199
+ },
200
+ "commands" : {
201
+ "M0001" : {
202
+ "arguments" : [
203
+ "intersection",
204
+ "securityCode",
205
+ "status",
206
+ "timeout"
207
+ ]
208
+ },
209
+ "M0002" : {
210
+ "arguments" : [
211
+ "securityCode",
212
+ "status",
213
+ "timeplan"
214
+ ]
215
+ },
216
+ "M0003" : {
217
+ "arguments" : [
218
+ "securityCode",
219
+ "status",
220
+ "traficsituation"
221
+ ]
222
+ },
223
+ "M0004" : {
224
+ "arguments" : [
225
+ "securityCode",
226
+ "status"
227
+ ]
228
+ },
229
+ "M0005" : {
230
+ "arguments" : [
231
+ "emergencyroute",
232
+ "securityCode",
233
+ "status"
234
+ ]
235
+ },
236
+ "M0006" : {
237
+ "arguments" : [
238
+ "input",
239
+ "securityCode",
240
+ "status"
241
+ ]
242
+ },
243
+ "M0007" : {
244
+ "arguments" : [
245
+ "securityCode",
246
+ "status"
247
+ ]
248
+ },
249
+ "M0008" : {
250
+ "arguments" : [
251
+ "mode",
252
+ "securityCode",
253
+ "status"
254
+ ]
255
+ },
256
+ "M0010" : {
257
+ "arguments" : [
258
+ "securityCode",
259
+ "status"
260
+ ]
261
+ },
262
+ "M0011" : {
263
+ "arguments" : [
264
+ "securityCode",
265
+ "status"
266
+ ]
267
+ },
268
+ "M0019" : {
269
+ "arguments" : [
270
+ "input",
271
+ "inputValue",
272
+ "securityCode",
273
+ "status"
274
+ ]
275
+ },
276
+ "M0103" : {
277
+ "arguments" : [
278
+ "newSecurityCode",
279
+ "oldSecurityCode",
280
+ "status"
281
+ ]
282
+ },
283
+ "M0104" : {
284
+ "arguments" : [
285
+ "day",
286
+ "hour",
287
+ "minute",
288
+ "month",
289
+ "second",
290
+ "securityCode",
291
+ "year"
292
+ ]
293
+ }
294
+ },
295
+ "alarms" : {
296
+ "A0001" : {
297
+ "arguments" : []
298
+ },
299
+ "A0002" : {
300
+ "arguments" : []
301
+ },
302
+ "A0003" : {
303
+ "arguments" : []
304
+ },
305
+ "A0004" : {
306
+ "arguments" : []
307
+ },
308
+ "A0005" : {
309
+ "arguments" : []
310
+ },
311
+ "A0006" : {
312
+ "arguments" : []
313
+ },
314
+ "A0007" : {
315
+ "arguments" : []
316
+ },
317
+ "A0008" : {
318
+ "arguments" : [
319
+ "timeplan"
320
+ ]
321
+ },
322
+ "A0009" : {
323
+ "arguments" : []
324
+ },
325
+ "A0101" : {
326
+ "arguments" : []
327
+ },
328
+ "A0201" : {
329
+ "arguments" : [
330
+ "color"
331
+ ]
332
+ },
333
+ "A0202" : {
334
+ "arguments" : [
335
+ "color"
336
+ ]
337
+ },
338
+ "A0301" : {
339
+ "arguments" : [
340
+ "detector",
341
+ "errormode",
342
+ "manual",
343
+ "type"
344
+ ]
345
+ },
346
+ "A0302" : {
347
+ "arguments" : [
348
+ "detector",
349
+ "errormode",
350
+ "logicerror",
351
+ "manual",
352
+ "type"
353
+ ]
354
+ }
355
+ }
356
+ }
@@ -70,5 +70,6 @@
70
70
  "$ref" : "alarms/alarms.json"
71
71
  }
72
72
  }
73
- ]
73
+ ],
74
+ "minimum_core_version" : "3.1.2"
74
75
  }
@@ -3,6 +3,7 @@ meta:
3
3
  name: tlc
4
4
  description: Traffic Light Controllers
5
5
  version: 1.0.8
6
+ minimum_core_version: 3.1.2
6
7
  objects:
7
8
  Traffic Light Controller:
8
9
  description:
@@ -0,0 +1,356 @@
1
+ {
2
+ "meta" : {
3
+ "name" : "tlc",
4
+ "description" : "Traffic Light Controllers",
5
+ "version" : "1.0.8",
6
+ "minimum_core_version" : "3.1.2"
7
+ },
8
+ "statuses" : {
9
+ "S0001" : {
10
+ "arguments" : [
11
+ "basecyclecounter",
12
+ "cyclecounter",
13
+ "signalgroupstatus",
14
+ "stage"
15
+ ]
16
+ },
17
+ "S0002" : {
18
+ "arguments" : [
19
+ "detectorlogicstatus"
20
+ ]
21
+ },
22
+ "S0003" : {
23
+ "arguments" : [
24
+ "extendedinputstatus",
25
+ "inputstatus"
26
+ ]
27
+ },
28
+ "S0004" : {
29
+ "arguments" : [
30
+ "extendedoutputstatus",
31
+ "outputstatus"
32
+ ]
33
+ },
34
+ "S0005" : {
35
+ "arguments" : [
36
+ "status"
37
+ ]
38
+ },
39
+ "S0006" : {
40
+ "arguments" : [
41
+ "emergencystage",
42
+ "status"
43
+ ]
44
+ },
45
+ "S0007" : {
46
+ "arguments" : [
47
+ "intersection",
48
+ "status"
49
+ ]
50
+ },
51
+ "S0008" : {
52
+ "arguments" : [
53
+ "intersection",
54
+ "status"
55
+ ]
56
+ },
57
+ "S0009" : {
58
+ "arguments" : [
59
+ "intersection",
60
+ "status"
61
+ ]
62
+ },
63
+ "S0010" : {
64
+ "arguments" : [
65
+ "intersection",
66
+ "status"
67
+ ]
68
+ },
69
+ "S0011" : {
70
+ "arguments" : [
71
+ "intersection",
72
+ "status"
73
+ ]
74
+ },
75
+ "S0012" : {
76
+ "arguments" : [
77
+ "intersection",
78
+ "status"
79
+ ]
80
+ },
81
+ "S0013" : {
82
+ "arguments" : [
83
+ "intersection",
84
+ "status"
85
+ ]
86
+ },
87
+ "S0014" : {
88
+ "arguments" : [
89
+ "status"
90
+ ]
91
+ },
92
+ "S0015" : {
93
+ "arguments" : [
94
+ "status"
95
+ ]
96
+ },
97
+ "S0016" : {
98
+ "arguments" : [
99
+ "number"
100
+ ]
101
+ },
102
+ "S0017" : {
103
+ "arguments" : [
104
+ "number"
105
+ ]
106
+ },
107
+ "S0018" : {
108
+ "arguments" : [
109
+ "number"
110
+ ]
111
+ },
112
+ "S0019" : {
113
+ "arguments" : [
114
+ "number"
115
+ ]
116
+ },
117
+ "S0020" : {
118
+ "arguments" : [
119
+ "controlmode",
120
+ "intersection"
121
+ ]
122
+ },
123
+ "S0021" : {
124
+ "arguments" : [
125
+ "detectorlogics"
126
+ ]
127
+ },
128
+ "S0091" : {
129
+ "arguments" : [
130
+ "status",
131
+ "user"
132
+ ]
133
+ },
134
+ "S0092" : {
135
+ "arguments" : [
136
+ "status",
137
+ "user"
138
+ ]
139
+ },
140
+ "S0095" : {
141
+ "arguments" : [
142
+ "status"
143
+ ]
144
+ },
145
+ "S0096" : {
146
+ "arguments" : [
147
+ "day",
148
+ "hour",
149
+ "minute",
150
+ "month",
151
+ "second",
152
+ "year"
153
+ ]
154
+ },
155
+ "S0201" : {
156
+ "arguments" : [
157
+ "starttime",
158
+ "vehicles"
159
+ ]
160
+ },
161
+ "S0202" : {
162
+ "arguments" : [
163
+ "speed",
164
+ "starttime"
165
+ ]
166
+ },
167
+ "S0203" : {
168
+ "arguments" : [
169
+ "occupancy",
170
+ "starttime"
171
+ ]
172
+ },
173
+ "S0204" : {
174
+ "arguments" : [
175
+ "B",
176
+ "C",
177
+ "F",
178
+ "L",
179
+ "LS",
180
+ "MC",
181
+ "P",
182
+ "PS",
183
+ "SP",
184
+ "starttime"
185
+ ]
186
+ }
187
+ },
188
+ "commands" : {
189
+ "M0001" : {
190
+ "arguments" : [
191
+ "intersection",
192
+ "securityCode",
193
+ "status",
194
+ "timeout"
195
+ ]
196
+ },
197
+ "M0002" : {
198
+ "arguments" : [
199
+ "securityCode",
200
+ "status",
201
+ "timeplan"
202
+ ]
203
+ },
204
+ "M0003" : {
205
+ "arguments" : [
206
+ "securityCode",
207
+ "status",
208
+ "traficsituation"
209
+ ]
210
+ },
211
+ "M0004" : {
212
+ "arguments" : [
213
+ "securityCode",
214
+ "status"
215
+ ]
216
+ },
217
+ "M0005" : {
218
+ "arguments" : [
219
+ "emergencyroute",
220
+ "securityCode",
221
+ "status"
222
+ ]
223
+ },
224
+ "M0006" : {
225
+ "arguments" : [
226
+ "input",
227
+ "securityCode",
228
+ "status"
229
+ ]
230
+ },
231
+ "M0007" : {
232
+ "arguments" : [
233
+ "securityCode",
234
+ "status"
235
+ ]
236
+ },
237
+ "M0008" : {
238
+ "arguments" : [
239
+ "mode",
240
+ "securityCode",
241
+ "status"
242
+ ]
243
+ },
244
+ "M0010" : {
245
+ "arguments" : [
246
+ "securityCode",
247
+ "status"
248
+ ]
249
+ },
250
+ "M0011" : {
251
+ "arguments" : [
252
+ "securityCode",
253
+ "status"
254
+ ]
255
+ },
256
+ "M0012" : {
257
+ "arguments" : [
258
+ "securityCode",
259
+ "status"
260
+ ]
261
+ },
262
+ "M0013" : {
263
+ "arguments" : [
264
+ "securityCode",
265
+ "status"
266
+ ]
267
+ },
268
+ "M0019" : {
269
+ "arguments" : [
270
+ "input",
271
+ "inputValue",
272
+ "securityCode",
273
+ "status"
274
+ ]
275
+ },
276
+ "M0103" : {
277
+ "arguments" : [
278
+ "newSecurityCode",
279
+ "oldSecurityCode",
280
+ "status"
281
+ ]
282
+ },
283
+ "M0104" : {
284
+ "arguments" : [
285
+ "day",
286
+ "hour",
287
+ "minute",
288
+ "month",
289
+ "second",
290
+ "securityCode",
291
+ "year"
292
+ ]
293
+ }
294
+ },
295
+ "alarms" : {
296
+ "A0001" : {
297
+ "arguments" : []
298
+ },
299
+ "A0002" : {
300
+ "arguments" : []
301
+ },
302
+ "A0003" : {
303
+ "arguments" : []
304
+ },
305
+ "A0004" : {
306
+ "arguments" : []
307
+ },
308
+ "A0005" : {
309
+ "arguments" : []
310
+ },
311
+ "A0006" : {
312
+ "arguments" : []
313
+ },
314
+ "A0007" : {
315
+ "arguments" : []
316
+ },
317
+ "A0008" : {
318
+ "arguments" : [
319
+ "timeplan"
320
+ ]
321
+ },
322
+ "A0009" : {
323
+ "arguments" : []
324
+ },
325
+ "A0101" : {
326
+ "arguments" : []
327
+ },
328
+ "A0201" : {
329
+ "arguments" : [
330
+ "color"
331
+ ]
332
+ },
333
+ "A0202" : {
334
+ "arguments" : [
335
+ "color"
336
+ ]
337
+ },
338
+ "A0301" : {
339
+ "arguments" : [
340
+ "detector",
341
+ "errormode",
342
+ "manual",
343
+ "type"
344
+ ]
345
+ },
346
+ "A0302" : {
347
+ "arguments" : [
348
+ "detector",
349
+ "errormode",
350
+ "logicerror",
351
+ "manual",
352
+ "type"
353
+ ]
354
+ }
355
+ }
356
+ }
@@ -70,5 +70,6 @@
70
70
  "$ref" : "alarms/alarms.json"
71
71
  }
72
72
  }
73
- ]
73
+ ],
74
+ "minimum_core_version" : "3.1.2"
74
75
  }