rsmp_schema 0.1.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rsmp_schema/convert/export/json_schema.rb +96 -54
- data/lib/rsmp_schema/schema.rb +80 -24
- data/lib/rsmp_schema/version.rb +1 -1
- data/lib/rsmp_schema.rb +2 -0
- data/schemas/tlc/1.0.10/sxl.yaml +20 -40
- data/schemas/tlc/1.0.13/sxl.yaml +20 -40
- data/schemas/tlc/1.0.14/sxl.yaml +20 -40
- data/schemas/tlc/1.0.15/sxl.yaml +20 -40
- data/schemas/tlc/1.0.7/sxl.yaml +20 -40
- data/schemas/tlc/1.0.8/sxl.yaml +20 -40
- data/schemas/tlc/1.0.9/sxl.yaml +20 -40
- data/schemas/tlc/1.1/commands/M0001.json +1 -1
- data/schemas/tlc/1.1/statuses/S0032.json +1 -1
- data/schemas/tlc/1.1/statuses/S0033.json +93 -0
- data/schemas/tlc/1.1/statuses/S0205.json +8 -2
- data/schemas/tlc/1.1/statuses/S0206.json +8 -2
- data/schemas/tlc/1.1/statuses/S0207.json +8 -2
- data/schemas/tlc/1.1/statuses/S0208.json +72 -18
- data/schemas/tlc/1.1/statuses/statuses.json +16 -0
- data/schemas/tlc/1.1/sxl.yaml +186 -121
- metadata +3 -2
data/schemas/tlc/1.1/sxl.yaml
CHANGED
@@ -131,7 +131,8 @@ objects:
|
|
131
131
|
mod = modulo
|
132
132
|
|
133
133
|
See the coordination section for more information.
|
134
|
-
|
134
|
+
min: 0
|
135
|
+
max: 999
|
135
136
|
basecyclecounter:
|
136
137
|
type: integer
|
137
138
|
description: |-
|
@@ -139,11 +140,13 @@ objects:
|
|
139
140
|
Used for handling of coordination between TLC’s.
|
140
141
|
Synchronized between all TLC’s in an active coordination.
|
141
142
|
See the coordination section for more information.
|
142
|
-
|
143
|
+
min: 0
|
144
|
+
max: 999
|
143
145
|
stage:
|
144
146
|
type: integer
|
145
147
|
description: Current stage (isolated)
|
146
|
-
|
148
|
+
min: 0
|
149
|
+
max: 999
|
147
150
|
S0002:
|
148
151
|
description: |-
|
149
152
|
Detector logic status.
|
@@ -217,7 +220,8 @@ objects:
|
|
217
220
|
emergencystage:
|
218
221
|
type: integer
|
219
222
|
description: Number of emergency stage
|
220
|
-
|
223
|
+
min: 1
|
224
|
+
max: 255
|
221
225
|
S0007:
|
222
226
|
description: |-
|
223
227
|
Controller switched on.
|
@@ -226,23 +230,20 @@ objects:
|
|
226
230
|
During maintenance work the controller might be using dark mode (no output to the signal heads).
|
227
231
|
arguments:
|
228
232
|
intersection:
|
229
|
-
|
230
|
-
type: integer
|
233
|
+
type: integer_list
|
231
234
|
description: |-
|
232
235
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
233
236
|
Use “0” for all intersections of the TLC.
|
234
237
|
min: 0
|
235
238
|
max: 255
|
236
239
|
status:
|
237
|
-
|
238
|
-
type: boolean
|
240
|
+
type: boolean_list
|
239
241
|
description: |-
|
240
242
|
False: Traffic Light Controller in dark mode
|
241
243
|
True: Traffic Light Controller not in dark mode
|
242
244
|
source:
|
243
245
|
description: Source of the status change
|
244
|
-
|
245
|
-
type: string
|
246
|
+
type: string_list
|
246
247
|
values:
|
247
248
|
operator_panel: Operator panel
|
248
249
|
calendar_clock: Calendar/clock
|
@@ -257,22 +258,19 @@ objects:
|
|
257
258
|
Signal timings is controlled manually by service personnel using the operating panel of the controller.
|
258
259
|
arguments:
|
259
260
|
intersection:
|
260
|
-
|
261
|
-
type: integer
|
261
|
+
type: integer_list
|
262
262
|
description: |-
|
263
263
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
264
264
|
Use “0” for all intersections of the TLC.
|
265
265
|
min: 0
|
266
266
|
max: 255
|
267
267
|
status:
|
268
|
-
|
269
|
-
type: boolean
|
268
|
+
type: boolean_list
|
270
269
|
description: |-
|
271
270
|
False: Manual control inactive
|
272
271
|
True: Manual control active
|
273
272
|
source:
|
274
|
-
|
275
|
-
type: string
|
273
|
+
type: string_list
|
276
274
|
description: Source of the status change
|
277
275
|
values:
|
278
276
|
operator_panel: Operator panel
|
@@ -288,22 +286,19 @@ objects:
|
|
288
286
|
Usually only used in case normal detectors can't be used, e.g. during maintenance work.
|
289
287
|
arguments:
|
290
288
|
intersection:
|
291
|
-
|
292
|
-
type: integer
|
289
|
+
type: integer_list
|
293
290
|
description: |-
|
294
291
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
295
292
|
Use “0” for all intersections of the TLC.
|
296
293
|
min: 0
|
297
294
|
max: 255
|
298
295
|
status:
|
299
|
-
|
300
|
-
type: boolean
|
296
|
+
type: boolean_list
|
301
297
|
description: |-
|
302
298
|
False: Fixed time control inactive
|
303
299
|
True: Fixed time control active
|
304
300
|
source:
|
305
|
-
|
306
|
-
type: string
|
301
|
+
type: string_list
|
307
302
|
description: Source of the status change
|
308
303
|
values:
|
309
304
|
operator_panel: Operator panel
|
@@ -319,22 +314,19 @@ objects:
|
|
319
314
|
Used to determine if the controller is operating independently or operating with other controllers (coordination).
|
320
315
|
arguments:
|
321
316
|
intersection:
|
322
|
-
|
323
|
-
type: integer
|
317
|
+
type: integer_list
|
324
318
|
description: |-
|
325
319
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
326
320
|
Use “0” for all intersections of the TLC.
|
327
321
|
min: 0
|
328
322
|
max: 255
|
329
323
|
status:
|
330
|
-
|
331
|
-
type: boolean
|
324
|
+
type: boolean_list
|
332
325
|
description: |-
|
333
326
|
False: Isolated control disabled
|
334
327
|
True: Isolated control enabled (Vehicle actuated control or Fixed time control)
|
335
328
|
source:
|
336
|
-
|
337
|
-
type: string
|
329
|
+
type: string_list
|
338
330
|
description: Source of the status change
|
339
331
|
values:
|
340
332
|
operator_panel: Operator panel
|
@@ -350,22 +342,19 @@ objects:
|
|
350
342
|
Yellow flash may be used during a serious fault (depending on configuration) or maintenance work. It can also be manually set using M0001.
|
351
343
|
arguments:
|
352
344
|
intersection:
|
353
|
-
|
354
|
-
type: integer
|
345
|
+
type: integer_list
|
355
346
|
description: |-
|
356
347
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
357
348
|
Use “0” for all intersections of the TLC.
|
358
349
|
min: 0
|
359
350
|
max: 255
|
360
351
|
status:
|
361
|
-
|
362
|
-
type: boolean
|
352
|
+
type: boolean_list
|
363
353
|
description: |-
|
364
354
|
False: Yellow flash disabled
|
365
355
|
True: Yellow flash enabled
|
366
356
|
source:
|
367
|
-
|
368
|
-
type: string
|
357
|
+
type: string_list
|
369
358
|
description: Source of the status change
|
370
359
|
values:
|
371
360
|
operator_panel: Operator panel
|
@@ -381,22 +370,19 @@ objects:
|
|
381
370
|
All red can be manually set using the controllers operating panel during maintenance work.
|
382
371
|
arguments:
|
383
372
|
intersection:
|
384
|
-
|
385
|
-
type: integer
|
373
|
+
type: integer_list
|
386
374
|
description: |-
|
387
375
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
388
376
|
Use “0” for all intersections of the TLC.
|
389
377
|
min: 0
|
390
378
|
max: 255
|
391
379
|
status:
|
392
|
-
|
393
|
-
type: boolean
|
380
|
+
type: boolean_list
|
394
381
|
description: |-
|
395
382
|
False: All red disabled
|
396
383
|
True: All red enabled
|
397
384
|
source:
|
398
|
-
|
399
|
-
type: string
|
385
|
+
type: string_list
|
400
386
|
description: Source of the status change
|
401
387
|
values:
|
402
388
|
operator_panel: Operator panel
|
@@ -412,16 +398,14 @@ objects:
|
|
412
398
|
The "police key" is a external control switch present in some controllers that manually switches the controller to either dark mode or yellow flash.
|
413
399
|
arguments:
|
414
400
|
intersection:
|
415
|
-
|
416
|
-
type: integer
|
401
|
+
type: integer_list
|
417
402
|
description: |-
|
418
403
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
419
404
|
Use “0” for all intersections of the TLC.
|
420
405
|
min: 0
|
421
406
|
max: 255
|
422
407
|
status:
|
423
|
-
|
424
|
-
type: integer
|
408
|
+
type: integer_list
|
425
409
|
values:
|
426
410
|
0: disabled
|
427
411
|
1: dark mode
|
@@ -436,10 +420,10 @@ objects:
|
|
436
420
|
status:
|
437
421
|
type: integer
|
438
422
|
description: Current time plan
|
439
|
-
|
423
|
+
min: 1
|
424
|
+
max: 255
|
440
425
|
source:
|
441
|
-
|
442
|
-
type: string
|
426
|
+
type: string_list
|
443
427
|
description: Source of the status change
|
444
428
|
values:
|
445
429
|
operator_panel: Operator panel
|
@@ -458,10 +442,10 @@ objects:
|
|
458
442
|
status:
|
459
443
|
type: integer
|
460
444
|
description: Current traffic situation
|
461
|
-
|
445
|
+
min: 1
|
446
|
+
max: 255
|
462
447
|
source:
|
463
|
-
|
464
|
-
type: string
|
448
|
+
type: string_list
|
465
449
|
description: Source of the status change
|
466
450
|
values:
|
467
451
|
operator_panel: Operator panel
|
@@ -478,7 +462,8 @@ objects:
|
|
478
462
|
number:
|
479
463
|
type: integer
|
480
464
|
description: Number of detector logics
|
481
|
-
|
465
|
+
min: 1
|
466
|
+
max: 65025
|
482
467
|
S0017:
|
483
468
|
description: |-
|
484
469
|
Number of signal groups.
|
@@ -487,7 +472,8 @@ objects:
|
|
487
472
|
number:
|
488
473
|
type: integer
|
489
474
|
description: Number of signal groups
|
490
|
-
|
475
|
+
min: 1
|
476
|
+
max: 65025
|
491
477
|
S0018:
|
492
478
|
description: |-
|
493
479
|
Number of time plans
|
@@ -496,7 +482,8 @@ objects:
|
|
496
482
|
number:
|
497
483
|
type: integer
|
498
484
|
description: Number of time plans (depreciated)
|
499
|
-
|
485
|
+
min: 1
|
486
|
+
max: 65025
|
500
487
|
S0019:
|
501
488
|
description: |-
|
502
489
|
Number of traffic situations.
|
@@ -505,23 +492,22 @@ objects:
|
|
505
492
|
number:
|
506
493
|
type: integer
|
507
494
|
description: Number of traffic situations
|
508
|
-
|
495
|
+
min: 1
|
496
|
+
max: 65025
|
509
497
|
S0020:
|
510
498
|
description: |-
|
511
499
|
Control mode.
|
512
500
|
Can be used for the management system to check the current control mode (startup, normal, standby, failure, test).
|
513
501
|
arguments:
|
514
502
|
intersection:
|
515
|
-
|
516
|
-
type: integer
|
503
|
+
type: integer_list
|
517
504
|
description: |-
|
518
505
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
519
506
|
Use “0” for all intersections of the TLC.
|
520
507
|
min: 0
|
521
508
|
max: 255
|
522
509
|
controlmode:
|
523
|
-
|
524
|
-
type: string
|
510
|
+
type: string_list
|
525
511
|
values:
|
526
512
|
startup: Startup mode
|
527
513
|
control: Normal control
|
@@ -696,16 +682,14 @@ objects:
|
|
696
682
|
Please note that all values in this status uses comma-separated lists - one value for each intersection, e.g. “1,2” and “centralized,off”
|
697
683
|
arguments:
|
698
684
|
intersection:
|
699
|
-
|
700
|
-
type: integer
|
685
|
+
type: integer_list
|
701
686
|
description: |-
|
702
687
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
703
688
|
Use “0” for all intersections of the TLC.
|
704
689
|
min: 0
|
705
690
|
max: 255
|
706
691
|
status:
|
707
|
-
|
708
|
-
type: string
|
692
|
+
type: string_list
|
709
693
|
description: |-
|
710
694
|
local: Local coordination
|
711
695
|
centralized: Coordination with synchronized clock
|
@@ -713,11 +697,10 @@ objects:
|
|
713
697
|
values:
|
714
698
|
local:
|
715
699
|
centralized:
|
716
|
-
off:
|
700
|
+
'off':
|
717
701
|
source:
|
718
702
|
description: Source of the status change
|
719
|
-
|
720
|
-
type: string
|
703
|
+
type: string_list
|
721
704
|
values:
|
722
705
|
operator_panel: Operator panel
|
723
706
|
calendar_clock: Calendar/clock
|
@@ -725,6 +708,60 @@ objects:
|
|
725
708
|
forced: Forced due to external command e.g. supervisor
|
726
709
|
startup: Set after startup mode
|
727
710
|
other: Other reason
|
711
|
+
S0033:
|
712
|
+
description: |-
|
713
|
+
Signal Priority Status
|
714
|
+
This status can be used to get updates about priority requests. For example, you can use it to know when priority requests are activated or cancelled.
|
715
|
+
A list of priorities is returned, referred to by their request ids. The same request id can appear only once.
|
716
|
+
All priorities are included in the list (not only the ones that have changed state since the last update). This is done regardless of whether the status is send in respond to a status request, or due to a status subscription, and also regardless of whether a status subscription uses an update interval, or send-on-change, or both.
|
717
|
+
If you subscribe using an update interval, you’re not guaranteed to get all intermediate states. To guarantee that, send-on-change must be used when subscribing.
|
718
|
+
To understand how this status relates to ETSI/J2735, please see the wiki.
|
719
|
+
All priorities are send on every status update, regardless of whether an interval, or sendOnChange (or both) is used.
|
720
|
+
When a priority reaches an end states (completed, timeout, rejected, cooldown or stale), it must be sent once on the next status update, then removed from the list.
|
721
|
+
A request always starts in the ‘received’ state. The following table shows the possible state transitions:
|
722
|
+
arguments:
|
723
|
+
status:
|
724
|
+
description: JSON array of priority status items
|
725
|
+
type: array
|
726
|
+
items:
|
727
|
+
r:
|
728
|
+
type: string
|
729
|
+
description: ID of the priority request
|
730
|
+
t:
|
731
|
+
type: timestamp
|
732
|
+
description: |-
|
733
|
+
Timestamp, indicating when the priority last changed state.
|
734
|
+
Format according to W3C XML dateTime with a resolution of 3 decimal places.
|
735
|
+
All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
|
736
|
+
s:
|
737
|
+
type: string
|
738
|
+
description: |-
|
739
|
+
Current status of the priority request
|
740
|
+
values:
|
741
|
+
received: A new priority request was received but has not yet been processed
|
742
|
+
queued: The priority request has been queued for later activation
|
743
|
+
activated: The priority was activated
|
744
|
+
completed: The priority was cancelled as expected
|
745
|
+
timeout: The priority has been queued for too long
|
746
|
+
rejected: The priority request cannot be granted
|
747
|
+
cooldown: A similar priority request means the priority request cannot be activated now
|
748
|
+
stale: The priority has been active too long without cancellation, and was therefore removed
|
749
|
+
e:
|
750
|
+
type: integer
|
751
|
+
description: |-
|
752
|
+
(Optional) Estimated green extension provided by the priority, in seconds
|
753
|
+
Only used when state is ‘completed’.
|
754
|
+
optional: true
|
755
|
+
min: 0
|
756
|
+
max: 255
|
757
|
+
d:
|
758
|
+
type: integer
|
759
|
+
description: |-
|
760
|
+
(Optional) Estimated red reduction provided by the priority, in seconds
|
761
|
+
Only used when state is ‘completed’.
|
762
|
+
optional: true
|
763
|
+
min: 0
|
764
|
+
max: 255
|
728
765
|
S0034:
|
729
766
|
description: |-
|
730
767
|
Timeout for dynamic bands.
|
@@ -865,7 +902,6 @@ objects:
|
|
865
902
|
Note:
|
866
903
|
- There is no way to upload this binary file to the TLC using RSMP
|
867
904
|
- The format of the binary file is not specified and is not expected to be compatible between suppliers
|
868
|
-
range: "[binary]"
|
869
905
|
timestamp:
|
870
906
|
type: timestamp
|
871
907
|
description: |-
|
@@ -885,13 +921,14 @@ objects:
|
|
885
921
|
description: |-
|
886
922
|
Time stamp for start of measuring. Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
|
887
923
|
vehicles:
|
888
|
-
type:
|
924
|
+
type: integer_list
|
889
925
|
description: |-
|
890
926
|
Number of vehicles.
|
891
927
|
- Value expressed as an integer with a range of 0-65535.
|
892
928
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
893
929
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
894
|
-
|
930
|
+
min: 0
|
931
|
+
max: 65535
|
895
932
|
S0206:
|
896
933
|
description: |-
|
897
934
|
Traffic Counting: Vehicle speed
|
@@ -904,13 +941,14 @@ objects:
|
|
904
941
|
XML dateTime with a resolution of 3 decimal places. All time stamps
|
905
942
|
in UTC. E.g. 2009-10-02T14:34:34.341Z
|
906
943
|
speed:
|
907
|
-
type:
|
944
|
+
type: integer_list
|
908
945
|
description: |-
|
909
946
|
Average speed in km/h (integer).
|
910
947
|
- Value expressed as an integer with a range of 0-65535.
|
911
948
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
912
949
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
913
|
-
|
950
|
+
min: 0
|
951
|
+
max: 65535
|
914
952
|
S0207:
|
915
953
|
description: |-
|
916
954
|
Traffic Counting: Occupancy.
|
@@ -923,13 +961,14 @@ objects:
|
|
923
961
|
XML dateTime with a resolution of 3 decimal places. All time stamps
|
924
962
|
in UTC. E.g. 2009-10-02T14:34:34.341Z
|
925
963
|
occupancy:
|
926
|
-
type:
|
964
|
+
type: integer_list
|
927
965
|
description: |-
|
928
966
|
Occupancy in percent (%) (0-100)
|
929
967
|
- Value expressed as an integer with a range of 0-100.
|
930
968
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
931
969
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
932
|
-
|
970
|
+
min: 0
|
971
|
+
max: 100
|
933
972
|
S0208:
|
934
973
|
description: |-
|
935
974
|
Traffic Counting: Number of vehicles of given classification.
|
@@ -942,77 +981,86 @@ objects:
|
|
942
981
|
XML dateTime with a resolution of 3 decimal places. All time stamps
|
943
982
|
in UTC. E.g. 2009-10-02T14:34:34.341Z
|
944
983
|
P:
|
945
|
-
type:
|
984
|
+
type: integer_list
|
946
985
|
description: |-
|
947
986
|
Number of cars.
|
948
987
|
- Value expressed as an integer with a range of 0-65535.
|
949
988
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
950
989
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
951
|
-
|
990
|
+
min: 0
|
991
|
+
max: 65535
|
952
992
|
PS:
|
953
|
-
type:
|
993
|
+
type: integer_list
|
954
994
|
description: |-
|
955
995
|
Number of cars with trailers.
|
956
996
|
- Value expressed as an integer with a range of 0-65535.
|
957
997
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
958
998
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
959
|
-
|
999
|
+
min: 0
|
1000
|
+
max: 65535
|
960
1001
|
L:
|
961
|
-
type:
|
1002
|
+
type: integer_list
|
962
1003
|
description: |-
|
963
1004
|
Number of trucks.
|
964
1005
|
- Value expressed as an integer with a range of 0-65535.
|
965
1006
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
966
1007
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
967
|
-
|
1008
|
+
min: 0
|
1009
|
+
max: 65535
|
968
1010
|
LS:
|
969
|
-
type:
|
1011
|
+
type: integer_list
|
970
1012
|
description: |-
|
971
1013
|
Number of trucks with trailers.
|
972
1014
|
- Value expressed as an integer with a range of 0-65535.
|
973
1015
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
974
1016
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
975
|
-
|
1017
|
+
min: 0
|
1018
|
+
max: 65535
|
976
1019
|
B:
|
977
|
-
type:
|
1020
|
+
type: integer_list
|
978
1021
|
description: |-
|
979
1022
|
Number of busses.
|
980
1023
|
- Value expressed as an integer with a range of 0-65535.
|
981
1024
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
982
1025
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
983
|
-
|
1026
|
+
min: 0
|
1027
|
+
max: 65535
|
984
1028
|
SP:
|
985
|
-
type:
|
1029
|
+
type: integer_list
|
986
1030
|
description: |-
|
987
1031
|
Number of trams.
|
988
1032
|
- Value expressed as an integer with a range of 0-65535.
|
989
1033
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
990
1034
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
991
|
-
|
1035
|
+
min: 0
|
1036
|
+
max: 65535
|
992
1037
|
MC:
|
993
|
-
type:
|
1038
|
+
type: integer_list
|
994
1039
|
description: |-
|
995
1040
|
Number of motor cycles.
|
996
1041
|
- Value expressed as an integer with a range of 0-65535.
|
997
1042
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
998
1043
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
999
|
-
|
1044
|
+
min: 0
|
1045
|
+
max: 65535
|
1000
1046
|
C:
|
1001
|
-
type:
|
1047
|
+
type: integer_list
|
1002
1048
|
description: |-
|
1003
1049
|
Number of bicycles.
|
1004
1050
|
- Value expressed as an integer with a range of 0-65535.
|
1005
1051
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1006
1052
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
1007
|
-
|
1053
|
+
min: 0
|
1054
|
+
max: 65535
|
1008
1055
|
F:
|
1009
|
-
type:
|
1056
|
+
type: integer_list
|
1010
1057
|
description: |-
|
1011
1058
|
Number of pedestrians.
|
1012
1059
|
- Value expressed as an integer with a range of 0-65535.
|
1013
1060
|
- Contains data from all detector logics. Each detector logic is separated with a comma.
|
1014
1061
|
- The value is set to “-1” if no data could be measured (e.g. detector fault)
|
1015
|
-
|
1062
|
+
min: 0
|
1063
|
+
max: 65535
|
1016
1064
|
commands:
|
1017
1065
|
M0001:
|
1018
1066
|
description: |-
|
@@ -1021,28 +1069,24 @@ objects:
|
|
1021
1069
|
Requires security code 2.
|
1022
1070
|
arguments:
|
1023
1071
|
status:
|
1024
|
-
|
1072
|
+
type: string_list
|
1025
1073
|
description: Set operating mode
|
1026
|
-
type: string
|
1027
1074
|
values:
|
1028
1075
|
NormalControl: Normal Control
|
1029
1076
|
YellowFlash: Enables yellow flash
|
1030
1077
|
Dark: Enables dark mode
|
1031
1078
|
securityCode:
|
1032
|
-
|
1079
|
+
type: string_list
|
1033
1080
|
description: Security code 2
|
1034
|
-
type: string
|
1035
1081
|
timeout:
|
1036
|
-
|
1082
|
+
type: integer
|
1037
1083
|
description: |-
|
1038
1084
|
Time in minutes until controller automatically reverts to previous functional position.
|
1039
1085
|
0=no automatic return
|
1040
|
-
type: integer
|
1041
1086
|
min: 0
|
1042
1087
|
max: 1440
|
1043
1088
|
intersection:
|
1044
|
-
|
1045
|
-
type: integer
|
1089
|
+
type: integer_list
|
1046
1090
|
description: |-
|
1047
1091
|
Comma separated list of intersections which the status relates to, e.g. “1,2”.
|
1048
1092
|
Use “0” for all intersections of the TLC.
|
@@ -1068,7 +1112,8 @@ objects:
|
|
1068
1112
|
timeplan:
|
1069
1113
|
type: integer
|
1070
1114
|
description: designation of time plan
|
1071
|
-
|
1115
|
+
min: 1
|
1116
|
+
max: 255
|
1072
1117
|
command: setPlan
|
1073
1118
|
M0003:
|
1074
1119
|
description: |-
|
@@ -1088,7 +1133,8 @@ objects:
|
|
1088
1133
|
traficsituation:
|
1089
1134
|
type: integer
|
1090
1135
|
description: designation of traficsituation
|
1091
|
-
|
1136
|
+
min: 1
|
1137
|
+
max: 255
|
1092
1138
|
command: setTrafficSituation
|
1093
1139
|
M0004:
|
1094
1140
|
description: |-
|
@@ -1121,7 +1167,8 @@ objects:
|
|
1121
1167
|
emergencyroute:
|
1122
1168
|
type: integer
|
1123
1169
|
description: Number of emergency route
|
1124
|
-
|
1170
|
+
min: 1
|
1171
|
+
max: 255
|
1125
1172
|
command: setEmergency
|
1126
1173
|
M0006:
|
1127
1174
|
description: |-
|
@@ -1143,7 +1190,8 @@ objects:
|
|
1143
1190
|
input:
|
1144
1191
|
type: integer
|
1145
1192
|
description: Number of Input
|
1146
|
-
|
1193
|
+
min: 1
|
1194
|
+
max: 255
|
1147
1195
|
command: setInput
|
1148
1196
|
M0007:
|
1149
1197
|
description: |-
|
@@ -1259,7 +1307,8 @@ objects:
|
|
1259
1307
|
plan:
|
1260
1308
|
type: integer
|
1261
1309
|
description: Plan to be changed
|
1262
|
-
|
1310
|
+
min: 0
|
1311
|
+
max: 255
|
1263
1312
|
status:
|
1264
1313
|
type: string
|
1265
1314
|
description: |-
|
@@ -1286,11 +1335,13 @@ objects:
|
|
1286
1335
|
status:
|
1287
1336
|
type: integer
|
1288
1337
|
description: Set offset time in seconds
|
1289
|
-
|
1338
|
+
min: 0
|
1339
|
+
max: 255
|
1290
1340
|
plan:
|
1291
1341
|
type: integer
|
1292
1342
|
description: Time plan nr
|
1293
|
-
|
1343
|
+
min: 0
|
1344
|
+
max: 255
|
1294
1345
|
securityCode:
|
1295
1346
|
type: string
|
1296
1347
|
description: Security code 2
|
@@ -1370,11 +1421,13 @@ objects:
|
|
1370
1421
|
status:
|
1371
1422
|
type: integer
|
1372
1423
|
description: Set cycle time in seconds
|
1373
|
-
|
1424
|
+
min: 1
|
1425
|
+
max: 255
|
1374
1426
|
plan:
|
1375
1427
|
type: integer
|
1376
1428
|
description: Time plan nr
|
1377
|
-
|
1429
|
+
min: 0
|
1430
|
+
max: 255
|
1378
1431
|
securityCode:
|
1379
1432
|
type: string
|
1380
1433
|
description: Security code 2
|
@@ -1397,7 +1450,8 @@ objects:
|
|
1397
1450
|
input:
|
1398
1451
|
type: integer
|
1399
1452
|
description: Number of Input
|
1400
|
-
|
1453
|
+
min: 1
|
1454
|
+
max: 255
|
1401
1455
|
inputValue:
|
1402
1456
|
type: boolean
|
1403
1457
|
description: |-
|
@@ -1422,7 +1476,8 @@ objects:
|
|
1422
1476
|
output:
|
1423
1477
|
type: integer
|
1424
1478
|
description: Number of Output
|
1425
|
-
|
1479
|
+
min: 1
|
1480
|
+
max: 255
|
1426
1481
|
outputValue:
|
1427
1482
|
type: boolean
|
1428
1483
|
description: |-
|
@@ -1504,34 +1559,41 @@ objects:
|
|
1504
1559
|
description: A string that uniquely identifies the request on the controller
|
1505
1560
|
signalGroupId:
|
1506
1561
|
type: string
|
1562
|
+
optional: true
|
1507
1563
|
description: (Optional) ID of a signal group component.
|
1508
1564
|
inputId:
|
1509
1565
|
type: integer
|
1566
|
+
optional: true
|
1510
1567
|
description: (Optional) ID of an input, using the same numbering scheme as M0006
|
1511
1568
|
min: 0
|
1512
1569
|
max: 255
|
1513
1570
|
connectionId:
|
1514
1571
|
type: integer
|
1572
|
+
optional: true
|
1515
1573
|
description: (Optional) ID of a connection, connecting an ingoing and an outgoing lane
|
1516
1574
|
min: 0
|
1517
1575
|
max: 255
|
1518
1576
|
approachId:
|
1519
1577
|
type: integer
|
1578
|
+
optional: true
|
1520
1579
|
description: (Optional) ID of an intersection approach
|
1521
1580
|
min: 0
|
1522
1581
|
max: 16
|
1523
1582
|
laneInId:
|
1524
1583
|
type: integer
|
1584
|
+
optional: true
|
1525
1585
|
description: (Optional) ID of an ingoing lane
|
1526
1586
|
min: 0
|
1527
1587
|
max: 255
|
1528
1588
|
laneOutId:
|
1529
1589
|
type: integer
|
1590
|
+
optional: true
|
1530
1591
|
description: (Optional) ID of an outgoing lane
|
1531
1592
|
min: 0
|
1532
1593
|
max: 255
|
1533
1594
|
priorityId:
|
1534
1595
|
type: integer
|
1596
|
+
optional: true
|
1535
1597
|
description: (Optional) ID of a priority
|
1536
1598
|
min: 0
|
1537
1599
|
max: 255
|
@@ -1553,11 +1615,13 @@ objects:
|
|
1553
1615
|
max: 14
|
1554
1616
|
eta:
|
1555
1617
|
type: integer
|
1618
|
+
optional: true
|
1556
1619
|
description: (Optional) Estimated time of arrival to the intersection, in seconds
|
1557
1620
|
min: 0
|
1558
1621
|
max: 255
|
1559
1622
|
vehicleType:
|
1560
1623
|
type: string
|
1624
|
+
optional: true
|
1561
1625
|
description: |-
|
1562
1626
|
(Optional) Vehicle type
|
1563
1627
|
|
@@ -1732,17 +1796,17 @@ objects:
|
|
1732
1796
|
Time-of-Green / Time-of-Red.
|
1733
1797
|
Provides predicted signal timings of green and red for each signal group. Max, min and likely time to green and red.
|
1734
1798
|
arguments:
|
1735
|
-
minToGEstimate
|
1799
|
+
minToGEstimate:
|
1736
1800
|
type: timestamp
|
1737
1801
|
description: |-
|
1738
1802
|
Time stamp for the minimum time for the signal group to go to green. If the signal group is green, it is the minimum time for the next green.
|
1739
1803
|
Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
|
1740
|
-
maxToGEstimate
|
1804
|
+
maxToGEstimate:
|
1741
1805
|
type: timestamp
|
1742
1806
|
description: |-
|
1743
1807
|
Time stamp for the maximum time for the signal group to go to green. If the signal group is green, it is the maximum time for the next green.
|
1744
1808
|
Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
|
1745
|
-
likelyToGEstimate
|
1809
|
+
likelyToGEstimate:
|
1746
1810
|
type: timestamp
|
1747
1811
|
description: |-
|
1748
1812
|
Time stamp for the most likely time for the signal group to go to green. If the signal group is green, it is the most likely time for the next green.
|
@@ -1750,8 +1814,9 @@ objects:
|
|
1750
1814
|
ToGConfidence:
|
1751
1815
|
type: integer
|
1752
1816
|
description: Confidence of the likelyToGEstimate. 0-100%
|
1753
|
-
|
1754
|
-
|
1817
|
+
min: 0
|
1818
|
+
max: 100
|
1819
|
+
minToREstimate:
|
1755
1820
|
type: timestamp
|
1756
1821
|
description: |-
|
1757
1822
|
Time stamp for the minimum time for the signal group to go to red. If the signal group is red, it is the minimum time for the next red.
|
@@ -1761,7 +1826,7 @@ objects:
|
|
1761
1826
|
description: |-
|
1762
1827
|
Time stamp for the maximum time for the signal group to go to red. If the signal group is red, it is the maximum time for the next red.
|
1763
1828
|
Format according to W3C XML dateTime with a resolution of 3 decimal places. All time stamps in UTC. E.g. 2009-10-02T14:34:34.341Z
|
1764
|
-
likelyToREstimate
|
1829
|
+
likelyToREstimate:
|
1765
1830
|
type: timestamp
|
1766
1831
|
description: |-
|
1767
1832
|
Time stamp for the most likely time for the signal group to go to red. If the signal group is red, it is the most likely time for the next red.
|
@@ -1769,7 +1834,8 @@ objects:
|
|
1769
1834
|
ToRConfidence:
|
1770
1835
|
type: integer
|
1771
1836
|
description: Confidence of the likelyToREstimate. 0-100%
|
1772
|
-
|
1837
|
+
min: 0
|
1838
|
+
max: 100
|
1773
1839
|
commands:
|
1774
1840
|
M0010:
|
1775
1841
|
description: |-
|
@@ -1816,7 +1882,6 @@ objects:
|
|
1816
1882
|
detector:
|
1817
1883
|
type: string
|
1818
1884
|
description: Designation of the detector (hardware)
|
1819
|
-
range: "[designation]"
|
1820
1885
|
type:
|
1821
1886
|
type: string
|
1822
1887
|
description: Type of detector
|
@@ -1827,8 +1892,8 @@ objects:
|
|
1827
1892
|
type: string
|
1828
1893
|
description: Detector forced on/off while detector error
|
1829
1894
|
values:
|
1830
|
-
'on':
|
1831
|
-
'off':
|
1895
|
+
'on': # on/off must be quoted, otherwise they are converted to true/false
|
1896
|
+
'off':
|
1832
1897
|
manual:
|
1833
1898
|
type: boolean
|
1834
1899
|
description: Manually controlled detector logic (True/False)
|
@@ -1843,7 +1908,6 @@ objects:
|
|
1843
1908
|
detector:
|
1844
1909
|
type: string
|
1845
1910
|
description: Designation of the detector (hardware)
|
1846
|
-
range: "[designation]"
|
1847
1911
|
type:
|
1848
1912
|
type: string
|
1849
1913
|
description: Type of detector.
|
@@ -1967,7 +2031,8 @@ objects:
|
|
1967
2031
|
occupancy:
|
1968
2032
|
type: integer
|
1969
2033
|
description: Occupancy in percent (0-100%)
|
1970
|
-
|
2034
|
+
min: 0
|
2035
|
+
max: 100
|
1971
2036
|
S0204:
|
1972
2037
|
description: |-
|
1973
2038
|
Traffic Counting: Number of vehicles of given classification.
|