rsmp_schemer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +5 -5
- data/lib/rsmp_schemer/version.rb +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.10/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/commands/M0019.json +2 -2
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.13/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/commands/M0019.json +2 -2
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.14/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.7/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.8/schema/tlc/statuses/S0006.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0301.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/alarms/A0302.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0002.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0003.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0004.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0005.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0006.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0007.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0008.json +2 -2
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0010.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0011.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/commands/M0019.json +100 -0
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0005.json +1 -1
- data/schemas/tlc_1.0.9/schema/tlc/statuses/S0006.json +1 -1
- metadata +6 -2
@@ -30,7 +30,7 @@
|
|
30
30
|
"properties" : {
|
31
31
|
"v" : {
|
32
32
|
"description" : "False: Deactivate manual control of detector logic\nTrue: Activate manual control of detector logic",
|
33
|
-
"
|
33
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
34
34
|
}
|
35
35
|
}
|
36
36
|
}
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"properties" : {
|
71
71
|
"v" : {
|
72
72
|
"description" : "False: Deactivate detector logic\nTrue: Activate detector logic",
|
73
|
-
"
|
73
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
74
74
|
}
|
75
75
|
}
|
76
76
|
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
{
|
2
|
+
"allOf" : [
|
3
|
+
{
|
4
|
+
"description" : "Force input\n\nForce a given input (1-255) of the controllers general purpose I/O to either True or False. Can be used for all types of input where the traffic light controller must react to external control.\n\nCan be used for bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.",
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"input",
|
9
|
+
"inputValue",
|
10
|
+
"securityCode",
|
11
|
+
"status"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"cO" : {
|
15
|
+
"const" : "setInput"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"if" : {
|
21
|
+
"required" : [
|
22
|
+
"n"
|
23
|
+
],
|
24
|
+
"properties" : {
|
25
|
+
"n" : {
|
26
|
+
"const" : "status"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"then" : {
|
31
|
+
"properties" : {
|
32
|
+
"v" : {
|
33
|
+
"description" : "False: Force input\nTrue: Release input",
|
34
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"if" : {
|
41
|
+
"required" : [
|
42
|
+
"n"
|
43
|
+
],
|
44
|
+
"properties" : {
|
45
|
+
"n" : {
|
46
|
+
"const" : "securityCode"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"then" : {
|
51
|
+
"properties" : {
|
52
|
+
"v" : {
|
53
|
+
"description" : "Security code 2",
|
54
|
+
"type" : "string"
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"if" : {
|
61
|
+
"required" : [
|
62
|
+
"n"
|
63
|
+
],
|
64
|
+
"properties" : {
|
65
|
+
"n" : {
|
66
|
+
"const" : "input"
|
67
|
+
}
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"then" : {
|
71
|
+
"properties" : {
|
72
|
+
"v" : {
|
73
|
+
"description" : "Number of Input",
|
74
|
+
"$ref" : "../../core/definitions.json#/integer"
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"if" : {
|
81
|
+
"required" : [
|
82
|
+
"n"
|
83
|
+
],
|
84
|
+
"properties" : {
|
85
|
+
"n" : {
|
86
|
+
"const" : "inputValue"
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"then" : {
|
91
|
+
"properties" : {
|
92
|
+
"v" : {
|
93
|
+
"description" : "False: input forced to False\nTrue: input forced to True",
|
94
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
]
|
100
|
+
}
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"properties" : {
|
31
31
|
"v" : {
|
32
32
|
"description" : "False: Controller uses traffic situation according to own programming\nTrue: Controller uses traffic situation according to command",
|
33
|
-
"
|
33
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
34
34
|
}
|
35
35
|
}
|
36
36
|
}
|
@@ -30,7 +30,7 @@
|
|
30
30
|
"properties" : {
|
31
31
|
"v" : {
|
32
32
|
"description" : "False: Deactivate manual control of detector logic\nTrue: Activate manual control of detector logic",
|
33
|
-
"
|
33
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
34
34
|
}
|
35
35
|
}
|
36
36
|
}
|
@@ -70,7 +70,7 @@
|
|
70
70
|
"properties" : {
|
71
71
|
"v" : {
|
72
72
|
"description" : "False: Deactivate detector logic\nTrue: Activate detector logic",
|
73
|
-
"
|
73
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
74
74
|
}
|
75
75
|
}
|
76
76
|
}
|
@@ -0,0 +1,100 @@
|
|
1
|
+
{
|
2
|
+
"allOf" : [
|
3
|
+
{
|
4
|
+
"description" : "Force input\n\nForce a given input (1-255) of the controllers general purpose I/O to either True or False. Can be used for all types of input where the traffic light controller must react to external control.\n\nCan be used for bus priority, coordination between traffic controllers, external control systems, and much more.\n\nRequires security code 2.",
|
5
|
+
"properties" : {
|
6
|
+
"n" : {
|
7
|
+
"enum" : [
|
8
|
+
"input",
|
9
|
+
"inputValue",
|
10
|
+
"securityCode",
|
11
|
+
"status"
|
12
|
+
]
|
13
|
+
},
|
14
|
+
"cO" : {
|
15
|
+
"const" : "setInput"
|
16
|
+
}
|
17
|
+
}
|
18
|
+
},
|
19
|
+
{
|
20
|
+
"if" : {
|
21
|
+
"required" : [
|
22
|
+
"n"
|
23
|
+
],
|
24
|
+
"properties" : {
|
25
|
+
"n" : {
|
26
|
+
"const" : "status"
|
27
|
+
}
|
28
|
+
}
|
29
|
+
},
|
30
|
+
"then" : {
|
31
|
+
"properties" : {
|
32
|
+
"v" : {
|
33
|
+
"description" : "False: Force input\nTrue: Release input",
|
34
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"if" : {
|
41
|
+
"required" : [
|
42
|
+
"n"
|
43
|
+
],
|
44
|
+
"properties" : {
|
45
|
+
"n" : {
|
46
|
+
"const" : "securityCode"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"then" : {
|
51
|
+
"properties" : {
|
52
|
+
"v" : {
|
53
|
+
"description" : "Security code 2",
|
54
|
+
"type" : "string"
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
},
|
59
|
+
{
|
60
|
+
"if" : {
|
61
|
+
"required" : [
|
62
|
+
"n"
|
63
|
+
],
|
64
|
+
"properties" : {
|
65
|
+
"n" : {
|
66
|
+
"const" : "input"
|
67
|
+
}
|
68
|
+
}
|
69
|
+
},
|
70
|
+
"then" : {
|
71
|
+
"properties" : {
|
72
|
+
"v" : {
|
73
|
+
"description" : "Number of Input",
|
74
|
+
"$ref" : "../../core/definitions.json#/integer"
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
},
|
79
|
+
{
|
80
|
+
"if" : {
|
81
|
+
"required" : [
|
82
|
+
"n"
|
83
|
+
],
|
84
|
+
"properties" : {
|
85
|
+
"n" : {
|
86
|
+
"const" : "inputValue"
|
87
|
+
}
|
88
|
+
}
|
89
|
+
},
|
90
|
+
"then" : {
|
91
|
+
"properties" : {
|
92
|
+
"v" : {
|
93
|
+
"description" : "False: input forced to False\nTrue: input forced to True",
|
94
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
99
|
+
]
|
100
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rsmp_schemer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Emil Tin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json_schemer
|
@@ -372,6 +372,7 @@ files:
|
|
372
372
|
- schemas/tlc_1.0.10/schema/tlc/commands/M0011.json
|
373
373
|
- schemas/tlc_1.0.10/schema/tlc/commands/M0012.json
|
374
374
|
- schemas/tlc_1.0.10/schema/tlc/commands/M0013.json
|
375
|
+
- schemas/tlc_1.0.10/schema/tlc/commands/M0019.json
|
375
376
|
- schemas/tlc_1.0.10/schema/tlc/commands/M0103.json
|
376
377
|
- schemas/tlc_1.0.10/schema/tlc/commands/M0104.json
|
377
378
|
- schemas/tlc_1.0.10/schema/tlc/commands/command_requests.json
|
@@ -723,6 +724,7 @@ files:
|
|
723
724
|
- schemas/tlc_1.0.7/schema/tlc/commands/M0008.json
|
724
725
|
- schemas/tlc_1.0.7/schema/tlc/commands/M0010.json
|
725
726
|
- schemas/tlc_1.0.7/schema/tlc/commands/M0011.json
|
727
|
+
- schemas/tlc_1.0.7/schema/tlc/commands/M0019.json
|
726
728
|
- schemas/tlc_1.0.7/schema/tlc/commands/M0103.json
|
727
729
|
- schemas/tlc_1.0.7/schema/tlc/commands/M0104.json
|
728
730
|
- schemas/tlc_1.0.7/schema/tlc/commands/command_requests.json
|
@@ -797,6 +799,7 @@ files:
|
|
797
799
|
- schemas/tlc_1.0.8/schema/tlc/commands/M0011.json
|
798
800
|
- schemas/tlc_1.0.8/schema/tlc/commands/M0012.json
|
799
801
|
- schemas/tlc_1.0.8/schema/tlc/commands/M0013.json
|
802
|
+
- schemas/tlc_1.0.8/schema/tlc/commands/M0019.json
|
800
803
|
- schemas/tlc_1.0.8/schema/tlc/commands/M0103.json
|
801
804
|
- schemas/tlc_1.0.8/schema/tlc/commands/M0104.json
|
802
805
|
- schemas/tlc_1.0.8/schema/tlc/commands/command_requests.json
|
@@ -871,6 +874,7 @@ files:
|
|
871
874
|
- schemas/tlc_1.0.9/schema/tlc/commands/M0011.json
|
872
875
|
- schemas/tlc_1.0.9/schema/tlc/commands/M0012.json
|
873
876
|
- schemas/tlc_1.0.9/schema/tlc/commands/M0013.json
|
877
|
+
- schemas/tlc_1.0.9/schema/tlc/commands/M0019.json
|
874
878
|
- schemas/tlc_1.0.9/schema/tlc/commands/M0103.json
|
875
879
|
- schemas/tlc_1.0.9/schema/tlc/commands/M0104.json
|
876
880
|
- schemas/tlc_1.0.9/schema/tlc/commands/command_requests.json
|