rsmp_schema 0.8.3 → 0.8.5
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/version.rb +1 -1
- data/schemas/core/3.1.2/aggregated_status.json +1 -1
- data/schemas/core/3.1.3/aggregated_status.json +25 -0
- data/schemas/core/3.1.3/rsmp.json +1 -1
- data/schemas/core/3.1.4/alarm.json +65 -0
- data/schemas/core/3.1.4/rsmp.json +122 -1
- data/schemas/core/3.1.5/alarm.json +3 -5
- data/schemas/core/3.1.5/rsmp.json +1 -1
- data/schemas/core/3.2.0/rsmp.json +1 -1
- data/schemas/core/3.2.1/rsmp.json +1 -1
- data/schemas/core/3.2.2/rsmp.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.10/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.10/sxl.yaml +2 -2
- data/schemas/tlc/1.0.13/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.13/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.13/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.13/sxl.yaml +4 -4
- data/schemas/tlc/1.0.14/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.14/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.14/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.14/sxl.yaml +16 -16
- data/schemas/tlc/1.0.15/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.15/commands/M0017.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0027.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0205.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0206.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0207.json +1 -1
- data/schemas/tlc/1.0.15/statuses/S0208.json +9 -9
- data/schemas/tlc/1.0.15/sxl.yaml +16 -16
- data/schemas/tlc/1.0.8/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.8/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.8/sxl.yaml +2 -2
- data/schemas/tlc/1.0.9/commands/M0012.json +1 -1
- data/schemas/tlc/1.0.9/commands/M0013.json +1 -1
- data/schemas/tlc/1.0.9/sxl.yaml +2 -2
- data/schemas/tlc/1.1.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.1.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.1.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.1.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.1.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.1.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.1.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.1.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.0/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.0/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.0/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.0/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.0/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.0/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.0/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.0/sxl.yaml +69 -69
- data/schemas/tlc/1.2.1/alarms/A0303.json +1 -1
- data/schemas/tlc/1.2.1/alarms/A0304.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0012.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0013.json +2 -2
- data/schemas/tlc/1.2.1/commands/M0017.json +1 -1
- data/schemas/tlc/1.2.1/commands/M0022.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0001.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0007.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0008.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0009.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0010.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0011.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0012.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0013.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0020.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0027.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0032.json +2 -2
- data/schemas/tlc/1.2.1/statuses/S0033.json +3 -3
- data/schemas/tlc/1.2.1/statuses/S0205.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0206.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0207.json +1 -1
- data/schemas/tlc/1.2.1/statuses/S0208.json +9 -9
- data/schemas/tlc/1.2.1/sxl.yaml +70 -70
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c2190ce73299078c227b01b0da79f701bd94b5138504f1990a6ac16c3b0142
|
4
|
+
data.tar.gz: a912fd64f18d9f06608f358a97a08b0b9451e5afc26a5cdde728347778bbb9f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48f6469aec64aaab51e1cd0f33cabb1c83e8e049c95c906ca22a11a5c1b821c287d87e9e13db8ccdd7cc8d801a045f3cc5b9aeb087268feb0869570af3b98907
|
7
|
+
data.tar.gz: 912db9bb17a87cddfef109e0bfd036039ad485dfe00155b1863c3bf6cb5564cc895f6f2738652aff447a08f03bd53bdec7c92343322fba9de501e8012021d8f8
|
data/Gemfile.lock
CHANGED
data/lib/rsmp_schema/version.rb
CHANGED
@@ -0,0 +1,25 @@
|
|
1
|
+
{
|
2
|
+
"title" : "Aggregated Status",
|
3
|
+
"description" : "Aggregated status message",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
|
6
|
+
"aSTS" : { "$ref": "../3.1.2/definitions.json#/timestamp" },
|
7
|
+
"fP" : {
|
8
|
+
"description" : "Functional position",
|
9
|
+
"type" : "string, null"
|
10
|
+
},
|
11
|
+
"fS" : {
|
12
|
+
"description" : "Functional position",
|
13
|
+
"type" : "string, null"
|
14
|
+
},
|
15
|
+
"se" : {
|
16
|
+
"type" : "array",
|
17
|
+
"minItems": 8,
|
18
|
+
"maxItems": 8,
|
19
|
+
"items" : {
|
20
|
+
"type" : "boolean"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"required" : [ "mId", "aSTS", "fP", "fS", "se" ]
|
25
|
+
}
|
@@ -0,0 +1,65 @@
|
|
1
|
+
{
|
2
|
+
"title" : "Alarm",
|
3
|
+
"description" : "Alarm messsage",
|
4
|
+
"properties" : {
|
5
|
+
"mId" : { "$ref": "../3.1.2/definitions.json#/message_id" },
|
6
|
+
"cId" : { "$ref": "../3.1.2/definitions.json#/component_id" },
|
7
|
+
"aCId" : { "$ref": "../3.1.2/definitions.json#/alarm_code" },
|
8
|
+
"xACId" : { "description" : "External alarm code id", "type" : "string" },
|
9
|
+
"aSp" : {
|
10
|
+
"description" : "Alarm specialization",
|
11
|
+
"type" : "string",
|
12
|
+
"enum" : [ "Issue", "Acknowledge", "Suspend", "Resume",
|
13
|
+
"issue", "acknowledge" ]
|
14
|
+
}
|
15
|
+
},
|
16
|
+
"required" : [ "aSp"],
|
17
|
+
"allOf" : [
|
18
|
+
{
|
19
|
+
"if": {
|
20
|
+
"required" : [ "aSp" ],
|
21
|
+
"properties" : {
|
22
|
+
"aSp" : { "enum" : [ "Issue",
|
23
|
+
"issue"] }
|
24
|
+
}
|
25
|
+
},
|
26
|
+
"then": { "$ref": "../3.1.2/alarm_issue.json" }
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"if": {
|
30
|
+
"allOf" : [
|
31
|
+
{
|
32
|
+
"required" : [ "aSp" ],
|
33
|
+
"properties" : {
|
34
|
+
"aSp" : { "enum" : [ "Suspend", "Resume"] }
|
35
|
+
}
|
36
|
+
},
|
37
|
+
{
|
38
|
+
"not": { "required" : [ "sS" ] }
|
39
|
+
}
|
40
|
+
]
|
41
|
+
},
|
42
|
+
"then": { "$ref": "../3.1.2/alarm_suspend_resume.json" }
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"if": {
|
46
|
+
"required" : [ "aSp", "sS" ],
|
47
|
+
"properties" : {
|
48
|
+
"aSp" : { "enum" : [ "Suspend", "Resume"] },
|
49
|
+
"sS" : { "enum" : [ "suspended", "notSuspended",
|
50
|
+
"Suspended", "NotSuspended" ] }
|
51
|
+
}
|
52
|
+
},
|
53
|
+
"then": { "$ref": "../3.1.2/alarm_suspended_resumed.json" }
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"if": {
|
57
|
+
"required" : [ "aSp" ],
|
58
|
+
"properties" : {
|
59
|
+
"aSp" : { "enum" : [ "Acknowledge"] }
|
60
|
+
}
|
61
|
+
},
|
62
|
+
"then": { "$ref": "../3.1.2/alarm_acknowledge.json" }
|
63
|
+
}
|
64
|
+
]
|
65
|
+
}
|
@@ -1,3 +1,124 @@
|
|
1
1
|
{
|
2
|
-
"
|
2
|
+
"allOf": [
|
3
|
+
{
|
4
|
+
"$ref": "../3.1.2/core.json"
|
5
|
+
},
|
6
|
+
{
|
7
|
+
"if": {
|
8
|
+
"required" : ["type"],
|
9
|
+
"properties": { "type": { "const": "MessageAck" } }
|
10
|
+
},
|
11
|
+
"then": {
|
12
|
+
"$ref": "../3.1.2/message_ack.json"
|
13
|
+
}
|
14
|
+
},
|
15
|
+
{
|
16
|
+
"if": {
|
17
|
+
"required" : ["type"],
|
18
|
+
"properties": { "type": { "const": "MessageNotAck" } }
|
19
|
+
},
|
20
|
+
"then": {
|
21
|
+
"$ref": "../3.1.2/message_not_ack.json"
|
22
|
+
}
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"if": {
|
26
|
+
"required" : ["type"],
|
27
|
+
"properties": { "type": { "const": "Version" } }
|
28
|
+
},
|
29
|
+
"then": {
|
30
|
+
"$ref": "../3.1.2/version.json"
|
31
|
+
}
|
32
|
+
},
|
33
|
+
{
|
34
|
+
"if": {
|
35
|
+
"required" : ["type"],
|
36
|
+
"properties": { "type": { "const": "AggregatedStatus" } }
|
37
|
+
},
|
38
|
+
"then": {
|
39
|
+
"$ref": "../3.1.3/aggregated_status.json"
|
40
|
+
}
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"if": {
|
44
|
+
"required" : ["type"],
|
45
|
+
"properties": { "type": { "const": "Watchdog" } }
|
46
|
+
},
|
47
|
+
"then": {
|
48
|
+
"$ref": "../3.1.2/watchdog.json"
|
49
|
+
}
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"if": {
|
53
|
+
"required" : ["type"],
|
54
|
+
"properties": { "type": { "const": "Alarm" } }
|
55
|
+
},
|
56
|
+
"then": {
|
57
|
+
"$ref": "../3.1.4/alarm.json"
|
58
|
+
}
|
59
|
+
},
|
60
|
+
{
|
61
|
+
"if": {
|
62
|
+
"required" : ["type"],
|
63
|
+
"properties": { "type": { "const": "CommandRequest" } }
|
64
|
+
},
|
65
|
+
"then": {
|
66
|
+
"$ref": "../3.1.2/command_request.json"
|
67
|
+
}
|
68
|
+
},
|
69
|
+
{
|
70
|
+
"if": {
|
71
|
+
"required" : ["type"],
|
72
|
+
"properties": { "type": { "const": "CommandResponse" } }
|
73
|
+
},
|
74
|
+
"then": {
|
75
|
+
"$ref": "../3.1.2/command_response.json"
|
76
|
+
}
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"if": {
|
80
|
+
"required" : ["type"],
|
81
|
+
"properties": { "type": { "const": "StatusRequest" } }
|
82
|
+
},
|
83
|
+
"then": {
|
84
|
+
"$ref": "../3.1.2/status_request.json"
|
85
|
+
}
|
86
|
+
},
|
87
|
+
{
|
88
|
+
"if": {
|
89
|
+
"required" : ["type"],
|
90
|
+
"properties": { "type": { "const": "StatusResponse" } }
|
91
|
+
},
|
92
|
+
"then": {
|
93
|
+
"$ref": "../3.1.3/status_response.json"
|
94
|
+
}
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"if": {
|
98
|
+
"required" : ["type"],
|
99
|
+
"properties": { "type": { "const": "StatusSubscribe" } }
|
100
|
+
},
|
101
|
+
"then": {
|
102
|
+
"$ref": "../3.1.2/status_subscribe.json"
|
103
|
+
}
|
104
|
+
},
|
105
|
+
{
|
106
|
+
"if": {
|
107
|
+
"required" : ["type"],
|
108
|
+
"properties": { "type": { "const": "StatusUnsubscribe" } }
|
109
|
+
},
|
110
|
+
"then": {
|
111
|
+
"$ref": "../3.1.2/status_unsubscribe.json"
|
112
|
+
}
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"if": {
|
116
|
+
"required" : ["type"],
|
117
|
+
"properties": { "type": { "const": "StatusUpdate" } }
|
118
|
+
},
|
119
|
+
"then": {
|
120
|
+
"$ref": "../3.1.3/status_update.json"
|
121
|
+
}
|
122
|
+
}
|
123
|
+
]
|
3
124
|
}
|
@@ -10,7 +10,7 @@
|
|
10
10
|
"description" : "Alarm specialization",
|
11
11
|
"type" : "string",
|
12
12
|
"enum" : [ "Issue", "Acknowledge", "Suspend", "Resume", "Request",
|
13
|
-
"issue", "acknowledge", "
|
13
|
+
"issue", "acknowledge", "request" ]
|
14
14
|
}
|
15
15
|
},
|
16
16
|
"required" : [ "aSp"],
|
@@ -31,8 +31,7 @@
|
|
31
31
|
{
|
32
32
|
"required" : [ "aSp" ],
|
33
33
|
"properties" : {
|
34
|
-
"aSp" : { "enum" : [ "Suspend", "Resume"
|
35
|
-
"suspend", "resume"] }
|
34
|
+
"aSp" : { "enum" : [ "Suspend", "Resume"] }
|
36
35
|
}
|
37
36
|
},
|
38
37
|
{
|
@@ -46,8 +45,7 @@
|
|
46
45
|
"if": {
|
47
46
|
"required" : [ "aSp", "sS" ],
|
48
47
|
"properties" : {
|
49
|
-
"aSp" : { "enum" : [ "Suspend", "Resume",
|
50
|
-
"suspend", "resume"] },
|
48
|
+
"aSp" : { "enum" : [ "Suspend", "Resume"] },
|
51
49
|
"sS" : { "enum" : [ "suspended", "notSuspended",
|
52
50
|
"Suspended", "NotSuspended" ] }
|
53
51
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
data/schemas/tlc/1.0.10/sxl.yaml
CHANGED
@@ -606,7 +606,7 @@ objects:
|
|
606
606
|
1=Order signal group to green
|
607
607
|
0=Order signal group to red
|
608
608
|
|
609
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
609
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
610
610
|
|
611
611
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
612
612
|
|
@@ -639,7 +639,7 @@ objects:
|
|
639
639
|
description: |-
|
640
640
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
641
641
|
|
642
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
642
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
643
643
|
|
644
644
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
645
645
|
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
49
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma.\n\nE.g.\nt-o-h-m,t-o-h-m",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"then" : {
|
43
43
|
"properties" : {
|
44
44
|
"s" : {
|
45
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
45
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma\n\nE.g.\nt-o-h-m,t-o-h-m",
|
46
46
|
"type" : "string"
|
47
47
|
}
|
48
48
|
}
|
data/schemas/tlc/1.0.13/sxl.yaml
CHANGED
@@ -469,7 +469,7 @@ objects:
|
|
469
469
|
Function legend:
|
470
470
|
0=no plan is selected by time table
|
471
471
|
1=set plan 1
|
472
|
-
|
472
|
+
...
|
473
473
|
16= set plan 16
|
474
474
|
|
475
475
|
hour and minute is using local time (not UTC)
|
@@ -735,7 +735,7 @@ objects:
|
|
735
735
|
1=Order signal group to green
|
736
736
|
0=Order signal group to red
|
737
737
|
|
738
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
738
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
739
739
|
|
740
740
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
741
741
|
|
@@ -768,7 +768,7 @@ objects:
|
|
768
768
|
description: |-
|
769
769
|
Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, ":" is used in example below.
|
770
770
|
|
771
|
-
Format: [Offset],[Bits to set],[Bits to unset]
|
771
|
+
Format: [Offset],[Bits to set],[Bits to unset]:...
|
772
772
|
|
773
773
|
Offset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.
|
774
774
|
|
@@ -886,7 +886,7 @@ objects:
|
|
886
886
|
Function legend:
|
887
887
|
0=no plan is selected by time table
|
888
888
|
1=set plan 1
|
889
|
-
|
889
|
+
...
|
890
890
|
16= set plan 16
|
891
891
|
|
892
892
|
hour and minute is using local time (not UTC)
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Orders signal groups to green or red. Sets a block of 16 signal groups at a time. Can be repeated to set several blocks of 16 signal groups. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon is used in example below.\n\n1=Order signal group to green\n0=Order signal group to red\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both these examples could be sent in the same message as:\n\"5,4143,65:22,1,4\"\n\nSuch a message would order signal group 6,7,10,17,22 to green and signal group 5,11,24 to red",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]
|
49
|
+
"description" : "Sets/Unsets a block of 16 inputs at a time. Can be repeated to set several blocks of 16 inputs. Values are separated with comma. Blocks are separated with semicolon. Since semicolon breaks the SXL csv-format, colon, \":\" is used in example below.\n\nFormat: [Offset],[Bits to set],[Bits to unset]:...\n\nOffset sets where the 16 inputs starts from followed by two 16 bit values telling which bit to set and unset in binary format, i.e. first bit have value 1 and last bit have value 32768.\n\nExample 1:\n\"5, 4134, 65\" sets input 6,7,10,17 = on and 5,11 = off\n(Input starts from no. 5 and bit 1,2,5,12 = 1 and bit 0,6 = 0)\n\nExample 2:\n\"22, 1, 4\" sets input 22 = on and 24 = off\n(Input starts from no. 22 and bit 0 = 1 and bit 2 = 0)\n\nAnd both thease examples could be sent in the same message as:\n\"5,4143:65:22,1,4\"\n\nSuch a message would activate input 6,7,10,17,22 and deactivate input 5,11,24",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -46,7 +46,7 @@
|
|
46
46
|
"then" : {
|
47
47
|
"properties" : {
|
48
48
|
"v" : {
|
49
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
49
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma.\n\nE.g.\nt-o-h-m,t-o-h-m",
|
50
50
|
"type" : "string"
|
51
51
|
}
|
52
52
|
}
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"then" : {
|
43
43
|
"properties" : {
|
44
44
|
"s" : {
|
45
|
-
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n
|
45
|
+
"description" : "Time Table. Defines time tables.\nEach time definition is written as t-o-h-m where:\nt=time table nr (1-12)\no=function\nh=hour - switching time\nm=minute - switching minute\n\nFunction legend:\n0=no plan is selected by time table\n1=set plan 1\n...\n16= set plan 16\n\nhour and minute is using local time (not UTC)\n\nEach time definition is separated with a comma\n\nE.g.\nt-o-h-m,t-o-h-m",
|
46
46
|
"type" : "string"
|
47
47
|
}
|
48
48
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Number of vehicles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Average speed in km/h (integer).\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -69,7 +69,7 @@
|
|
69
69
|
"then" : {
|
70
70
|
"properties" : {
|
71
71
|
"s" : {
|
72
|
-
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
72
|
+
"description" : "Occupancy in percent (%) (0-100)\n- Value expressed as an integer with a range of 0-100.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
73
73
|
"type" : "string"
|
74
74
|
}
|
75
75
|
}
|
@@ -77,7 +77,7 @@
|
|
77
77
|
"then" : {
|
78
78
|
"properties" : {
|
79
79
|
"s" : {
|
80
|
-
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
80
|
+
"description" : "Number of cars.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
81
81
|
"type" : "string"
|
82
82
|
}
|
83
83
|
}
|
@@ -97,7 +97,7 @@
|
|
97
97
|
"then" : {
|
98
98
|
"properties" : {
|
99
99
|
"s" : {
|
100
|
-
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
100
|
+
"description" : "Number of cars with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
101
101
|
"type" : "string"
|
102
102
|
}
|
103
103
|
}
|
@@ -117,7 +117,7 @@
|
|
117
117
|
"then" : {
|
118
118
|
"properties" : {
|
119
119
|
"s" : {
|
120
|
-
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
120
|
+
"description" : "Number of trucks.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
121
121
|
"type" : "string"
|
122
122
|
}
|
123
123
|
}
|
@@ -137,7 +137,7 @@
|
|
137
137
|
"then" : {
|
138
138
|
"properties" : {
|
139
139
|
"s" : {
|
140
|
-
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
140
|
+
"description" : "Number of trucks with trailers.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
141
141
|
"type" : "string"
|
142
142
|
}
|
143
143
|
}
|
@@ -157,7 +157,7 @@
|
|
157
157
|
"then" : {
|
158
158
|
"properties" : {
|
159
159
|
"s" : {
|
160
|
-
"description" : "Number of busses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
160
|
+
"description" : "Number of busses.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
161
161
|
"type" : "string"
|
162
162
|
}
|
163
163
|
}
|
@@ -177,7 +177,7 @@
|
|
177
177
|
"then" : {
|
178
178
|
"properties" : {
|
179
179
|
"s" : {
|
180
|
-
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
180
|
+
"description" : "Number of trams.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
181
181
|
"type" : "string"
|
182
182
|
}
|
183
183
|
}
|
@@ -197,7 +197,7 @@
|
|
197
197
|
"then" : {
|
198
198
|
"properties" : {
|
199
199
|
"s" : {
|
200
|
-
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
200
|
+
"description" : "Number of motor cycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
201
201
|
"type" : "string"
|
202
202
|
}
|
203
203
|
}
|
@@ -217,7 +217,7 @@
|
|
217
217
|
"then" : {
|
218
218
|
"properties" : {
|
219
219
|
"s" : {
|
220
|
-
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
220
|
+
"description" : "Number of bicycles.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
221
221
|
"type" : "string"
|
222
222
|
}
|
223
223
|
}
|
@@ -237,7 +237,7 @@
|
|
237
237
|
"then" : {
|
238
238
|
"properties" : {
|
239
239
|
"s" : {
|
240
|
-
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to
|
240
|
+
"description" : "Number of pedestrians.\n- Value expressed as an integer with a range of 0-65535.\n- Contains data from all detector logics. Each detector logic is separated with a comma.\n- The value is set to \"-1\" if no data could be measured (e.g. detector fault)",
|
241
241
|
"type" : "string"
|
242
242
|
}
|
243
243
|
}
|