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
@@ -261,6 +261,11 @@ en:
bunker_type:
# bunker_type=*
label: Type
cables:
# cables=*
label: Cables
# cables field placeholder
placeholder: '1, 2, 3...'
camera/direction:
# 'camera:direction=*'
label: Direction (Degrees Clockwise)
@@ -452,7 +457,7 @@ en:
label: Description
devices:
# devices=*
label: Number of Devices
label: Devices
# devices field placeholder
placeholder: '1, 2, 3...'
diaper:
@@ -990,7 +995,7 @@ en:
label: Payment Types
phases:
# phases=*
label: Number of Phases
label: Phases
# phases field placeholder
placeholder: '1, 2, 3...'
phone:
@@ -1372,6 +1377,18 @@ en:
surveillance/zone:
# 'surveillance:zone=*'
label: Surveillance Zone
switch:
# switch=*
label: Type
options:
# switch=circuit_breaker
circuit_breaker: Circuit Breaker
# switch=disconnector
disconnector: Disconnector
# switch=earthing
earthing: Earthing
# switch=mechanical
mechanical: Mechanical
tactile_paving:
# tactile_paving=*
label: Tactile Paving
@@ -1464,7 +1481,7 @@ en:
placeholder: 'Excellent, Good, Bad...'
transformer:
# transformer=*
label: Type of Transformer
label: Type
options:
# transformer=auto
auto: Autotransformer
@@ -1523,6 +1540,9 @@ en:
shield: Shield
# 'volcano:type=stratovolcano'
stratovolcano: Stratovolcano
voltage:
# voltage=*
label: Voltage
voltage/primary:
# 'voltage:primary=*'
label: Primary Voltage
@@ -1563,7 +1583,7 @@ en:
label: Wikipedia
windings:
# windings=*
label: Number of Windings
label: Windings
# windings field placeholder
placeholder: '1, 2, 3...'
windings/configuration:
@@ -4351,6 +4371,10 @@ en:
# power=substation
name: Substation
terms: '<translate with synonyms or related terms for ''Substation'', separated by commas>'
power/switch:
# power=switch
name: Power Switch
terms: '<translate with synonyms or related terms for ''Power Switch'', separated by commas>'
power/tower:
# power=tower
name: High-Voltage Tower
+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"
}
+4
View File
@@ -2464,6 +2464,10 @@
"key": "power",
"value": "substation"
},
{
"key": "power",
"value": "switch"
},
{
"key": "power",
"value": "tower"