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: 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
|
}
|
@@ -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
|
}
|