Add power=switch preset

(closes #4441)
This commit is contained in:
Bryan Housel
2017-11-02 14:53:32 -04:00
parent a0a197a69e
commit 512ee67374
13 changed files with 152 additions and 16 deletions
+28 -4
View File
@@ -349,6 +349,12 @@
"type": "combo",
"label": "Type"
},
"cables": {
"key": "cables",
"type": "number",
"label": "Cables",
"placeholder": "1, 2, 3..."
},
"camera/direction": {
"key": "camera:direction",
"type": "number",
@@ -597,7 +603,7 @@
"devices": {
"key": "devices",
"type": "number",
"label": "Number of Devices",
"label": "Devices",
"placeholder": "1, 2, 3..."
},
"diaper": {
@@ -1335,7 +1341,7 @@
"phases": {
"key": "phases",
"type": "number",
"label": "Number of Phases",
"label": "Phases",
"placeholder": "1, 2, 3..."
},
"phone": {
@@ -1882,6 +1888,19 @@
"type": "combo",
"label": "Surveillance Zone"
},
"switch": {
"key": "switch",
"type": "combo",
"label": "Type",
"strings": {
"options": {
"mechanical": "Mechanical",
"circuit_breaker": "Circuit Breaker",
"disconnector": "Disconnector",
"earthing": "Earthing"
}
}
},
"tactile_paving": {
"key": "tactile_paving",
"type": "check",
@@ -1996,7 +2015,7 @@
"transformer": {
"key": "transformer",
"type": "combo",
"label": "Type of Transformer",
"label": "Type",
"strings": {
"options": {
"distribution": "Distribution",
@@ -2062,6 +2081,11 @@
}
}
},
"voltage": {
"key": "voltage",
"type": "combo",
"label": "Voltage"
},
"voltage/primary": {
"key": "voltage:primary",
"type": "combo",
@@ -2141,7 +2165,7 @@
"windings": {
"key": "windings",
"type": "number",
"label": "Number of Windings",
"label": "Windings",
"placeholder": "1, 2, 3..."
},
"windings/configuration": {
+6
View File
@@ -0,0 +1,6 @@
{
"key": "cables",
"type": "number",
"label": "Cables",
"placeholder": "1, 2, 3..."
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"key": "devices",
"type": "number",
"label": "Number of Devices",
"label": "Devices",
"placeholder": "1, 2, 3..."
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"key": "phases",
"type": "number",
"label": "Number of Phases",
"label": "Phases",
"placeholder": "1, 2, 3..."
}
+13
View File
@@ -0,0 +1,13 @@
{
"key": "switch",
"type": "combo",
"label": "Type",
"strings": {
"options": {
"mechanical": "Mechanical",
"circuit_breaker": "Circuit Breaker",
"disconnector": "Disconnector",
"earthing": "Earthing"
}
}
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"key": "transformer",
"type": "combo",
"label": "Type of Transformer",
"label": "Type",
"strings": {
"options": {
"distribution": "Distribution",
+5
View File
@@ -0,0 +1,5 @@
{
"key": "voltage",
"type": "combo",
"label": "Voltage"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"key": "windings",
"type": "number",
"label": "Number of Windings",
"label": "Windings",
"placeholder": "1, 2, 3..."
}
+20
View File
@@ -12886,6 +12886,26 @@
},
"name": "Substation"
},
"power/switch": {
"icon": "poi-power",
"fields": [
"switch",
"location",
"cables",
"voltage",
"operator",
"ref"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"power": "switch"
},
"name": "Power Switch"
},
"power/tower": {
"geometry": [
"vertex"
+20
View File
@@ -0,0 +1,20 @@
{
"icon": "poi-power",
"fields": [
"switch",
"location",
"cables",
"voltage",
"operator",
"ref"
],
"geometry": [
"point",
"vertex",
"area"
],
"tags": {
"power": "switch"
},
"name": "Power Switch"
}