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
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f413dd61c3d8c86ab1455ac02b175b9791bb958dba827301e80b9070da4d334
|
4
|
+
data.tar.gz: 99af9cbaac9dc80b989a776b6fbbce5cfbbbc355e08399a3b9eff2d401cfc3ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0656a181b391a8b4e0d56ef2d4563fdbe5fbf0331bc413436649ec76bafae2eb10cd2b04023f8013d92791e5bd251178f8878ee795fe263c1a98d50e9d8e3e8
|
7
|
+
data.tar.gz: 6a5ce0d1a4ba770ae6e282b5bf2e3189cfd0fec08e81357c0436ed89d47622ec0bf44ce378c50dc1876f1bea0df08b73b3ed61594468a02484fca8b06431ed3b
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rsmp_schemer (0.2.
|
4
|
+
rsmp_schemer (0.2.1)
|
5
5
|
json_schemer (~> 0.2.18)
|
6
6
|
|
7
7
|
GEM
|
@@ -22,15 +22,15 @@ GEM
|
|
22
22
|
rspec-core (~> 3.9.0)
|
23
23
|
rspec-expectations (~> 3.9.0)
|
24
24
|
rspec-mocks (~> 3.9.0)
|
25
|
-
rspec-core (3.9.
|
26
|
-
rspec-support (~> 3.9.
|
27
|
-
rspec-expectations (3.9.
|
25
|
+
rspec-core (3.9.3)
|
26
|
+
rspec-support (~> 3.9.3)
|
27
|
+
rspec-expectations (3.9.4)
|
28
28
|
diff-lcs (>= 1.2.0, < 2.0)
|
29
29
|
rspec-support (~> 3.9.0)
|
30
30
|
rspec-mocks (3.9.1)
|
31
31
|
diff-lcs (>= 1.2.0, < 2.0)
|
32
32
|
rspec-support (~> 3.9.0)
|
33
|
-
rspec-support (3.9.
|
33
|
+
rspec-support (3.9.4)
|
34
34
|
uri_template (0.7.0)
|
35
35
|
|
36
36
|
PLATFORMS
|
data/lib/rsmp_schemer/version.rb
CHANGED
@@ -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
|
+
}
|
@@ -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
|
}
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"properties" : {
|
32
32
|
"v" : {
|
33
33
|
"description" : "False: Force input\nTrue: Release input",
|
34
|
-
"
|
34
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
35
35
|
}
|
36
36
|
}
|
37
37
|
}
|
@@ -91,7 +91,7 @@
|
|
91
91
|
"properties" : {
|
92
92
|
"v" : {
|
93
93
|
"description" : "False: input forced to False\nTrue: input forced to True",
|
94
|
-
"
|
94
|
+
"$ref" : "../../core/definitions.json#/boolean"
|
95
95
|
}
|
96
96
|
}
|
97
97
|
}
|