rsmp 0.48.0 → 0.48.2
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +3 -3
- data/lib/rsmp/collect/command_matcher.rb +1 -0
- data/lib/rsmp/proxy/supervisor/modules/commands.rb +8 -1
- data/lib/rsmp/version.rb +1 -1
- data/schemas/tlc/1.0.10/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.10/sxl.yaml +7 -4
- data/schemas/tlc/1.0.10/sxl_index.json +3 -3
- data/schemas/tlc/1.0.13/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.13/sxl.yaml +7 -4
- data/schemas/tlc/1.0.13/sxl_index.json +3 -3
- data/schemas/tlc/1.0.14/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.14/sxl.yaml +7 -4
- data/schemas/tlc/1.0.14/sxl_index.json +3 -3
- data/schemas/tlc/1.0.15/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.15/sxl.yaml +7 -4
- data/schemas/tlc/1.0.15/sxl_index.json +3 -3
- data/schemas/tlc/1.0.7/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.7/sxl.yaml +7 -4
- data/schemas/tlc/1.0.7/sxl_index.json +3 -3
- data/schemas/tlc/1.0.8/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.8/sxl.yaml +7 -4
- data/schemas/tlc/1.0.8/sxl_index.json +3 -3
- data/schemas/tlc/1.0.9/commands/M0001.json +4 -4
- data/schemas/tlc/1.0.9/sxl.yaml +7 -4
- data/schemas/tlc/1.0.9/sxl_index.json +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b7679302307b859b55883853c8c6e68e0312ce424a669a8f8a6518cf12e87332
|
|
4
|
+
data.tar.gz: 4751ec87842c6c2e5eea8df0c7de2d5225357260ac2738ea2eb9effdd119f1ca
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: ae23356f9e9b4d1daff2bb8fda1a085a49a3ae832cf204ded0f17c20c7e722a0d9f9d9708ce8734de3d5e2aeebcb7d55e8b97a56523985904246c0036f85929d
|
|
7
|
+
data.tar.gz: fa43ab65b703f93a4abbe07cab0ad08c144b931a2df4b5580a9a8841d2a748989557fa2fa65e658e1f9a67942cd737ad70018d8922342294cc717394ac2093b0
|
data/CHANGELOG.md
CHANGED
|
@@ -699,3 +699,9 @@ Initial release.
|
|
|
699
699
|
- return `unknown` for unimplemented commands and statuses instead of rejecting the whole request
|
|
700
700
|
- omit legacy NTS message attributes from outgoing Core 3.3.0 messages
|
|
701
701
|
- `CORE_VERSION` or `SXLS` environment variables with command line options `--core` and `--sxls`
|
|
702
|
+
|
|
703
|
+
## 0.48.1
|
|
704
|
+
- fix command responses and collectors for `v=nil` with `age=undefined` or `age=unknown`
|
|
705
|
+
|
|
706
|
+
## 0.48.2
|
|
707
|
+
- fix legacy TLC M0001 schemas to use scalar command arguments
|
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
rsmp (0.48.
|
|
4
|
+
rsmp (0.48.2)
|
|
5
5
|
async (~> 2.39)
|
|
6
6
|
colorize (~> 1.1)
|
|
7
7
|
io-endpoint (~> 0.17)
|
|
@@ -15,7 +15,7 @@ GEM
|
|
|
15
15
|
remote: https://rubygems.org/
|
|
16
16
|
specs:
|
|
17
17
|
ast (2.4.3)
|
|
18
|
-
async (2.
|
|
18
|
+
async (2.41.0)
|
|
19
19
|
console (~> 1.29)
|
|
20
20
|
fiber-annotation
|
|
21
21
|
io-event (~> 1.11)
|
|
@@ -33,7 +33,7 @@ GEM
|
|
|
33
33
|
fiber-storage (1.0.1)
|
|
34
34
|
hana (1.3.7)
|
|
35
35
|
io-endpoint (0.17.2)
|
|
36
|
-
io-event (1.
|
|
36
|
+
io-event (1.19.1)
|
|
37
37
|
io-stream (0.13.1)
|
|
38
38
|
json (2.20.0)
|
|
39
39
|
json_schemer (2.5.0)
|
|
@@ -69,6 +69,13 @@ module RSMP
|
|
|
69
69
|
end
|
|
70
70
|
end
|
|
71
71
|
|
|
72
|
+
def mark_commands_undefined(rvs)
|
|
73
|
+
rvs.each do |item|
|
|
74
|
+
item['age'] = 'undefined'
|
|
75
|
+
item['v'] = nil
|
|
76
|
+
end
|
|
77
|
+
end
|
|
78
|
+
|
|
72
79
|
def execute_commands(message, component_id, rvs)
|
|
73
80
|
component = @site.find_component component_id
|
|
74
81
|
commands = simplify_command_requests message.attributes['arg']
|
|
@@ -82,7 +89,7 @@ module RSMP
|
|
|
82
89
|
rescue UnknownComponent
|
|
83
90
|
log "Received #{message.type} with unknown component id '#{component_id}' and cannot infer type",
|
|
84
91
|
message: message, level: :warning
|
|
85
|
-
rvs
|
|
92
|
+
mark_commands_undefined rvs
|
|
86
93
|
end
|
|
87
94
|
|
|
88
95
|
def process_command_request(message)
|
data/lib/rsmp/version.rb
CHANGED
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.10/sxl.yaml
CHANGED
|
@@ -461,18 +461,21 @@ objects:
|
|
|
461
461
|
YellowFlash: Enables yellow flash
|
|
462
462
|
Dark: Enables dark mode
|
|
463
463
|
securityCode:
|
|
464
|
-
type:
|
|
464
|
+
type: string
|
|
465
465
|
description: Security code 2
|
|
466
466
|
timeout:
|
|
467
|
-
type:
|
|
467
|
+
type: integer_as_string
|
|
468
468
|
description: |-
|
|
469
469
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
470
470
|
0=no automatic return
|
|
471
471
|
min: 0
|
|
472
472
|
max: 1440
|
|
473
473
|
intersection:
|
|
474
|
-
type:
|
|
475
|
-
description:
|
|
474
|
+
type: integer_as_string
|
|
475
|
+
description: |-
|
|
476
|
+
Intersection number.
|
|
477
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
478
|
+
0: All intersections
|
|
476
479
|
min: 0
|
|
477
480
|
max: 255
|
|
478
481
|
command: setValue
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"commands" : {
|
|
189
189
|
"M0001" : {
|
|
190
190
|
"required" : {
|
|
191
|
-
"intersection" : "
|
|
192
|
-
"securityCode" : "
|
|
191
|
+
"intersection" : "integer_as_string",
|
|
192
|
+
"securityCode" : "string",
|
|
193
193
|
"status" : "string",
|
|
194
|
-
"timeout" : "
|
|
194
|
+
"timeout" : "integer_as_string"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.13/sxl.yaml
CHANGED
|
@@ -590,18 +590,21 @@ objects:
|
|
|
590
590
|
YellowFlash: Enables yellow flash
|
|
591
591
|
Dark: Enables dark mode
|
|
592
592
|
securityCode:
|
|
593
|
-
type:
|
|
593
|
+
type: string
|
|
594
594
|
description: Security code 2
|
|
595
595
|
timeout:
|
|
596
|
-
type:
|
|
596
|
+
type: integer_as_string
|
|
597
597
|
description: |-
|
|
598
598
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
599
599
|
0=no automatic return
|
|
600
600
|
min: 0
|
|
601
601
|
max: 1440
|
|
602
602
|
intersection:
|
|
603
|
-
type:
|
|
604
|
-
description:
|
|
603
|
+
type: integer_as_string
|
|
604
|
+
description: |-
|
|
605
|
+
Intersection number.
|
|
606
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
607
|
+
0: All intersections
|
|
605
608
|
min: 0
|
|
606
609
|
max: 255
|
|
607
610
|
command: setValue
|
|
@@ -235,10 +235,10 @@
|
|
|
235
235
|
"commands" : {
|
|
236
236
|
"M0001" : {
|
|
237
237
|
"required" : {
|
|
238
|
-
"intersection" : "
|
|
239
|
-
"securityCode" : "
|
|
238
|
+
"intersection" : "integer_as_string",
|
|
239
|
+
"securityCode" : "string",
|
|
240
240
|
"status" : "string",
|
|
241
|
-
"timeout" : "
|
|
241
|
+
"timeout" : "integer_as_string"
|
|
242
242
|
}
|
|
243
243
|
},
|
|
244
244
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.14/sxl.yaml
CHANGED
|
@@ -728,18 +728,21 @@ objects:
|
|
|
728
728
|
YellowFlash: Enables yellow flash
|
|
729
729
|
Dark: Enables dark mode
|
|
730
730
|
securityCode:
|
|
731
|
-
type:
|
|
731
|
+
type: string
|
|
732
732
|
description: Security code 2
|
|
733
733
|
timeout:
|
|
734
|
-
type:
|
|
734
|
+
type: integer_as_string
|
|
735
735
|
description: |-
|
|
736
736
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
737
737
|
0=no automatic return
|
|
738
738
|
min: 0
|
|
739
739
|
max: 1440
|
|
740
740
|
intersection:
|
|
741
|
-
type:
|
|
742
|
-
description:
|
|
741
|
+
type: integer_as_string
|
|
742
|
+
description: |-
|
|
743
|
+
Intersection number.
|
|
744
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
745
|
+
0: All intersections
|
|
743
746
|
min: 0
|
|
744
747
|
max: 255
|
|
745
748
|
command: setValue
|
|
@@ -267,10 +267,10 @@
|
|
|
267
267
|
"commands" : {
|
|
268
268
|
"M0001" : {
|
|
269
269
|
"required" : {
|
|
270
|
-
"intersection" : "
|
|
271
|
-
"securityCode" : "
|
|
270
|
+
"intersection" : "integer_as_string",
|
|
271
|
+
"securityCode" : "string",
|
|
272
272
|
"status" : "string",
|
|
273
|
-
"timeout" : "
|
|
273
|
+
"timeout" : "integer_as_string"
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.15/sxl.yaml
CHANGED
|
@@ -825,18 +825,21 @@ objects:
|
|
|
825
825
|
YellowFlash: Enables yellow flash
|
|
826
826
|
Dark: Enables dark mode
|
|
827
827
|
securityCode:
|
|
828
|
-
type:
|
|
828
|
+
type: string
|
|
829
829
|
description: Security code 2
|
|
830
830
|
timeout:
|
|
831
|
-
type:
|
|
831
|
+
type: integer_as_string
|
|
832
832
|
description: |-
|
|
833
833
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
834
834
|
0=no automatic return
|
|
835
835
|
min: 0
|
|
836
836
|
max: 1440
|
|
837
837
|
intersection:
|
|
838
|
-
type:
|
|
839
|
-
description:
|
|
838
|
+
type: integer_as_string
|
|
839
|
+
description: |-
|
|
840
|
+
Intersection number.
|
|
841
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
842
|
+
0: All intersections
|
|
840
843
|
min: 0
|
|
841
844
|
max: 255
|
|
842
845
|
command: setValue
|
|
@@ -290,10 +290,10 @@
|
|
|
290
290
|
"commands" : {
|
|
291
291
|
"M0001" : {
|
|
292
292
|
"required" : {
|
|
293
|
-
"intersection" : "
|
|
294
|
-
"securityCode" : "
|
|
293
|
+
"intersection" : "integer_as_string",
|
|
294
|
+
"securityCode" : "string",
|
|
295
295
|
"status" : "string",
|
|
296
|
-
"timeout" : "
|
|
296
|
+
"timeout" : "integer_as_string"
|
|
297
297
|
}
|
|
298
298
|
},
|
|
299
299
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.7/sxl.yaml
CHANGED
|
@@ -461,18 +461,21 @@ objects:
|
|
|
461
461
|
YellowFlash: Enables yellow flash
|
|
462
462
|
Dark: Enables dark mode
|
|
463
463
|
securityCode:
|
|
464
|
-
type:
|
|
464
|
+
type: string
|
|
465
465
|
description: Security code 2
|
|
466
466
|
timeout:
|
|
467
|
-
type:
|
|
467
|
+
type: integer_as_string
|
|
468
468
|
description: |-
|
|
469
469
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
470
470
|
0=no automatic return
|
|
471
471
|
min: 0
|
|
472
472
|
max: 1440
|
|
473
473
|
intersection:
|
|
474
|
-
type:
|
|
475
|
-
description:
|
|
474
|
+
type: integer_as_string
|
|
475
|
+
description: |-
|
|
476
|
+
Intersection number.
|
|
477
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
478
|
+
0: All intersections
|
|
476
479
|
min: 0
|
|
477
480
|
max: 255
|
|
478
481
|
command: setValue
|
|
@@ -200,10 +200,10 @@
|
|
|
200
200
|
"commands" : {
|
|
201
201
|
"M0001" : {
|
|
202
202
|
"required" : {
|
|
203
|
-
"intersection" : "
|
|
204
|
-
"securityCode" : "
|
|
203
|
+
"intersection" : "integer_as_string",
|
|
204
|
+
"securityCode" : "string",
|
|
205
205
|
"status" : "string",
|
|
206
|
-
"timeout" : "
|
|
206
|
+
"timeout" : "integer_as_string"
|
|
207
207
|
}
|
|
208
208
|
},
|
|
209
209
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.8/sxl.yaml
CHANGED
|
@@ -461,18 +461,21 @@ objects:
|
|
|
461
461
|
YellowFlash: Enables yellow flash
|
|
462
462
|
Dark: Enables dark mode
|
|
463
463
|
securityCode:
|
|
464
|
-
type:
|
|
464
|
+
type: string
|
|
465
465
|
description: Security code 2
|
|
466
466
|
timeout:
|
|
467
|
-
type:
|
|
467
|
+
type: integer_as_string
|
|
468
468
|
description: |-
|
|
469
469
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
470
470
|
0=no automatic return
|
|
471
471
|
min: 0
|
|
472
472
|
max: 1440
|
|
473
473
|
intersection:
|
|
474
|
-
type:
|
|
475
|
-
description:
|
|
474
|
+
type: integer_as_string
|
|
475
|
+
description: |-
|
|
476
|
+
Intersection number.
|
|
477
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
478
|
+
0: All intersections
|
|
476
479
|
min: 0
|
|
477
480
|
max: 255
|
|
478
481
|
command: setValue
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"commands" : {
|
|
189
189
|
"M0001" : {
|
|
190
190
|
"required" : {
|
|
191
|
-
"intersection" : "
|
|
192
|
-
"securityCode" : "
|
|
191
|
+
"intersection" : "integer_as_string",
|
|
192
|
+
"securityCode" : "string",
|
|
193
193
|
"status" : "string",
|
|
194
|
-
"timeout" : "
|
|
194
|
+
"timeout" : "integer_as_string"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"M0002" : {
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"properties" : {
|
|
55
55
|
"v" : {
|
|
56
56
|
"description" : "Security code 2",
|
|
57
|
-
"
|
|
57
|
+
"type" : "string"
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
60
|
}
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"properties" : {
|
|
72
72
|
"v" : {
|
|
73
73
|
"description" : "Time in minutes until controller automatically reverts to previous functional position.\n0=no automatic return",
|
|
74
|
-
"$ref" : "../defs/definitions.json#/
|
|
74
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -87,8 +87,8 @@
|
|
|
87
87
|
"then" : {
|
|
88
88
|
"properties" : {
|
|
89
89
|
"v" : {
|
|
90
|
-
"description" : "Intersection number",
|
|
91
|
-
"$ref" : "../defs/definitions.json#/
|
|
90
|
+
"description" : "Intersection number.\nCommand only applies to specified intersection. Other intersections remains in their respective operating mode(s).\n0: All intersections",
|
|
91
|
+
"$ref" : "../defs/definitions.json#/integer"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
}
|
data/schemas/tlc/1.0.9/sxl.yaml
CHANGED
|
@@ -461,18 +461,21 @@ objects:
|
|
|
461
461
|
YellowFlash: Enables yellow flash
|
|
462
462
|
Dark: Enables dark mode
|
|
463
463
|
securityCode:
|
|
464
|
-
type:
|
|
464
|
+
type: string
|
|
465
465
|
description: Security code 2
|
|
466
466
|
timeout:
|
|
467
|
-
type:
|
|
467
|
+
type: integer_as_string
|
|
468
468
|
description: |-
|
|
469
469
|
Time in minutes until controller automatically reverts to previous functional position.
|
|
470
470
|
0=no automatic return
|
|
471
471
|
min: 0
|
|
472
472
|
max: 1440
|
|
473
473
|
intersection:
|
|
474
|
-
type:
|
|
475
|
-
description:
|
|
474
|
+
type: integer_as_string
|
|
475
|
+
description: |-
|
|
476
|
+
Intersection number.
|
|
477
|
+
Command only applies to specified intersection. Other intersections remains in their respective operating mode(s).
|
|
478
|
+
0: All intersections
|
|
476
479
|
min: 0
|
|
477
480
|
max: 255
|
|
478
481
|
command: setValue
|
|
@@ -188,10 +188,10 @@
|
|
|
188
188
|
"commands" : {
|
|
189
189
|
"M0001" : {
|
|
190
190
|
"required" : {
|
|
191
|
-
"intersection" : "
|
|
192
|
-
"securityCode" : "
|
|
191
|
+
"intersection" : "integer_as_string",
|
|
192
|
+
"securityCode" : "string",
|
|
193
193
|
"status" : "string",
|
|
194
|
-
"timeout" : "
|
|
194
|
+
"timeout" : "integer_as_string"
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
"M0002" : {
|