1309 lines
41 KiB
Plaintext
1309 lines
41 KiB
Plaintext
{
|
|
"custom": {
|
|
"AlarmSummary": -1
|
|
},
|
|
"params": {
|
|
"boxColor": "var(--olGray)",
|
|
"objectName": "GEN",
|
|
"outputPower": 0,
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_GEN-P2-5",
|
|
"textColor": "var(--olGray)",
|
|
"textHandler": {
|
|
"Breaker": {
|
|
"breaker1": "3000AF",
|
|
"breaker2": "3000AT",
|
|
"breaker3": "LSIG, NC",
|
|
"breaker4": "ERMS,100%",
|
|
"breaker5": "52GB"
|
|
},
|
|
"Generator": {
|
|
"Gen1": "GEN-P5-1",
|
|
"Gen2": "2500kW / 3125kVA,",
|
|
"Gen3": "480Y/277V,3PH,4W"
|
|
}
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"custom.AlarmSummary": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn alarm.summary.calcMaxPriority(value)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.boxColor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.outputPower": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"BreakerEmergency": "{/root/GEN_TypB.custom.BreakerEmergency}",
|
|
"GenRunning": "{/root/GEN_TypB.custom.GeneratorRunning}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\"GenRunning\"] \u0026\u0026 !{value}[\"BreakerEmergency\"], 1,0)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
},
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.textColor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.textHandler": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.textHandler.Generator.Gen1": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"value": "{view.params.tagPath}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"overlayOptOut": true,
|
|
"transforms": [
|
|
{
|
|
"code": "\ttagPath \u003d value[\u0027value\u0027]\n\tif tagPath is None:\n\t\treturn \u0027tagName\u0027\n\telse:\n\t\treturn system.tag.getConfiguration(tagPath)[0][\u0027name\u0027]\n\t",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 95,
|
|
"width": 133
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 20,
|
|
"width": 82,
|
|
"x": 78,
|
|
"y": 4
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Meta/EqName"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--olGary)",
|
|
"fontSize": 15,
|
|
"fontWeight": "bold"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"AlarmSummary": "value",
|
|
"ColorHandler": {},
|
|
"TextHandler": {
|
|
"Breaker": {},
|
|
"Generator": {}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "GEN_TypB"
|
|
},
|
|
"position": {
|
|
"height": 95,
|
|
"width": 132
|
|
},
|
|
"propConfig": {
|
|
"custom.BreakerEmergency": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Alarms/Output Breaker Status"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": false,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": true
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ColorHandler.breaker": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"BreakerEmergency": "{this.custom.BreakerEmergency}",
|
|
"GeneratorRunning": "{this.custom.GeneratorRunning}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\"GeneratorRunning\"] \u0026\u0026 !{value}[\u0027BreakerEmergency\u0027],\u0027var(--olRed)\u0027,\u0027var(--olGreen)\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"custom.ColorHandler.runstatus": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.GeneratorRunning"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "black",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "var(--olGreen)"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "var(--olRed)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.GeneratorRunning": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Run Status"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": false,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": true
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.TextHandler.Breaker.breaker1": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Breaker.breaker1"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Breaker.breaker2": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Breaker.breaker2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Breaker.breaker3": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Breaker.breaker3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Breaker.breaker4": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Breaker.breaker4"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Breaker.breaker5": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Breaker.breaker5"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Generator.Gen1": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Generator.Gen1"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Generator.Gen2": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Generator.Gen2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.TextHandler.Generator.Gen3": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.Generator.Gen3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.boxColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.boxColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.breaker"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[0].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.BreakerEmergency"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "visible",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "visible"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "hidden"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
},
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn False\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"props.elements[3].elements[1].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.runstatus"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \"var(--olGreen)\"\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[2].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.breaker"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[3].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.breaker"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[3].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"publishInitial": true,
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Alarms/Output Breaker Status"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn False\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"fallback": "visible",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "hidden"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"props.elements[3].elements[4].elements[1].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[1].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Breaker.breaker1"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[3].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[3].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Breaker.breaker2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[5].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[5].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Breaker.breaker4"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[7].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[7].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Breaker.breaker3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[9].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].elements[9].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Breaker.breaker5"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[4].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.runstatus"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \"var(--olGray)\"\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[4].elements[1].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.runstatus"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \"var(--olGreen)\"\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[4].elements[2].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.ColorHandler.runstatus"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[1].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[1].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Generator.Gen1"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[3].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[3].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Generator.Gen2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[5].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[5].elements[5].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.TextHandler.Generator.Gen3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[1].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "transparent",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "var(--coolpurple)"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "var(--goldenyellow)"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "var(--sunsetorange)"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "var(--alarmred)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[2].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 3,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[3].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 3,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[4].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 2,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[5].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 1,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[6].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 4,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[6].elements[7].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSummary"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "hidden",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": 4,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"opacity": 0,
|
|
"paint": "transparent"
|
|
},
|
|
"id": "Box",
|
|
"name": "Box",
|
|
"type": "rect"
|
|
},
|
|
{
|
|
"fill": {
|
|
"opacity": "0"
|
|
},
|
|
"height": 21.495,
|
|
"name": "rect",
|
|
"stroke": {
|
|
"width": "0.38px"
|
|
},
|
|
"type": "rect",
|
|
"width": "22.558",
|
|
"x": "31.727",
|
|
"y": "39.375"
|
|
},
|
|
{
|
|
"d": "M3.696,15.714l0,-4.464l4.171,-0l0,0.75c0,-0 -3.421,-0 -3.421,-0l0,3.714l-0.75,0Zm10.01,-4.464l0,0.75l-2.502,-0l-0,-0.75l2.502,-0Zm11.679,-0l-0,0.75l-8.342,-0l0,-0.75l8.342,-0Zm5.839,-0l0,0.75l-2.502,-0l-0,-0.75l2.502,-0Zm11.679,-0l-0,0.75l-8.342,-0l0,-0.75l8.342,-0Zm5.839,-0l0,0.75l-2.502,-0l-0,-0.75l2.502,-0Zm7.508,4.464l-0.75,0l-0,-3.714l-3.421,-0l0,-0.75l4.171,-0l0,4.464Zm0,6.25l-0.75,0l0,-2.678l0.75,-0l0,2.678Zm0,12.5l-0.75,0l0,-8.928l0.75,-0l0,8.928Zm0,6.25l-0.75,0l0,-2.678l0.75,-0l0,2.678Zm0,12.5l-0.75,0l0,-8.928l0.75,-0l0,8.928Zm0,6.25l-0.75,0l0,-2.678l0.75,-0l0,2.678Zm-4.171,8.036l0,-0.75c0,-0 3.421,-0 3.421,0l0,-3.714l0.75,-0l0,4.464l-4.171,-0Zm-5.839,-0l-0,-0.75l2.502,-0l0,0.75l-2.502,-0Zm-11.679,-0l0,-0.75l8.342,-0l0,0.75l-8.342,-0Zm-5.839,-0l-0,-0.75l2.502,-0l0,0.75l-2.502,-0Zm-11.679,-0l0,-0.75l8.342,-0l0,0.75l-8.342,-0Zm-5.839,-0l-0,-0.75l2.502,-0l0,0.75l-2.502,-0Zm-7.508,-4.464l0.75,-0l0,3.714l3.421,-0l0,0.75l-4.171,-0l0,-4.464Zm0,-6.25l0.75,-0l0,2.678l-0.75,0l0,-2.678Zm0,-12.5l0.75,-0l0,8.928l-0.75,0l0,-8.928Zm0,-6.25l0.75,-0l0,2.678l-0.75,0l0,-2.678Zm0,-12.5l0.75,-0l0,8.928l-0.75,0l0,-8.928Zm0,-6.25l0.75,-0l0,2.678l-0.75,0l0,-2.678Z",
|
|
"name": "path",
|
|
"type": "path",
|
|
"visibility": "visible"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M38.625,46.875c1.261,1.2 1.896,2.695 1.87,4.5c0.009,2.094 -0.591,3.616 -1.87,4.5",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path",
|
|
"visibility": "visible"
|
|
},
|
|
{
|
|
"cx": "37.5",
|
|
"cy": "46.875",
|
|
"fill": {},
|
|
"name": "circle",
|
|
"r": "1.125",
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"cx": "37.5",
|
|
"cy": "55.875",
|
|
"fill": {},
|
|
"name": "circle",
|
|
"r": "1.125",
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"d": "M42.285,46.875c1.262,1.2 1.897,2.695 1.871,4.5c0.008,2.094 -0.592,3.616 -1.871,4.5",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path",
|
|
"visibility": "hidden"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,19.5623,45.7448)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "4.969px",
|
|
"y": "45.745px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,19.253,49.4948)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "4.969px",
|
|
"y": "49.495px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,29.8243,57.0334)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "4.814px",
|
|
"y": "57.033px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,22.6669,53.2834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "4.839px",
|
|
"y": "53.283px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,49.7218,44.2834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "39.067px",
|
|
"y": "44.283px"
|
|
}
|
|
],
|
|
"id": "Text",
|
|
"name": "Text",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "CB",
|
|
"name": "CB",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M37.5,33.948l0,11.802",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"cx": "37.5",
|
|
"cy": "23.646",
|
|
"fill": {
|
|
"opacity": "0"
|
|
},
|
|
"name": "circle",
|
|
"r": "10.302",
|
|
"stroke": {
|
|
"width": "0.75px"
|
|
},
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"d": "M29.625,23.688c0.406,-2.31 1.135,-3.951 3.895,-3.99c2.255,-0.032 3.98,1.562 3.98,3.99c0.284,2.135 1.288,3.686 3.938,3.906c2.273,-0.227 3.577,-1.539 3.937,-3.906",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "GEN",
|
|
"name": "GEN",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,69.9142,14.2834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027Arial-BoldMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "12px",
|
|
"fontWeight": "700"
|
|
},
|
|
"type": "text",
|
|
"visibility": "hidden",
|
|
"x": "57.18px",
|
|
"y": "14.283px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,93.7711,18.0334)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "tspan",
|
|
"text": "A,",
|
|
"type": "tspan",
|
|
"x": "89.834px 92.613px ",
|
|
"y": "18.033px 18.033px "
|
|
}
|
|
],
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "57.254px",
|
|
"y": "18.033px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,96.5499,21.7834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "57.327px",
|
|
"y": "21.783px"
|
|
}
|
|
],
|
|
"id": "TagID-Plate",
|
|
"name": "TagID-Plate",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"opacity": "0",
|
|
"paint": "black"
|
|
},
|
|
"height": "63.75",
|
|
"id": "AlarmBorder",
|
|
"name": "AlarmBorder",
|
|
"type": "rect",
|
|
"width": "60",
|
|
"x": "0",
|
|
"y": "7.5"
|
|
},
|
|
{
|
|
"d": "M60,7.5l-0,63.75l-60,0l0,-63.75l60,-0Zm-0.75,0.75l-58.5,0c0,0 0,62.25 0,62.25l58.5,-0l0,-62.25Z",
|
|
"fill": {},
|
|
"name": "path",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M60.358,0.648l6.489,6.489c0.199,0.199 0.199,0.522 0,0.721l-6.489,6.489c-0.199,0.199 -0.522,0.199 -0.721,0l-6.489,-6.489c-0.199,-0.199 -0.199,-0.522 -0,-0.721l6.489,-6.489c0.199,-0.199 0.522,-0.199 0.721,-0Z",
|
|
"fill": {
|
|
"paint": "#de7c33"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M59.663,8.96l-0.351,-4.735l1.371,0l-0.34,4.735l-0.68,-0Zm-0.318,1.81l0,-1.105l1.305,0l0,1.105l-1.305,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M59.355,1.849c0.134,-0.227 0.378,-0.367 0.643,-0.367c0.264,-0 0.508,0.14 0.642,0.367c1.411,2.401 4.768,8.113 6.195,10.541c0.136,0.231 0.137,0.516 0.005,0.748c-0.133,0.232 -0.38,0.375 -0.647,0.375l-12.39,0c-0.268,0 -0.515,-0.143 -0.647,-0.375c-0.133,-0.232 -0.131,-0.517 0.004,-0.748c1.427,-2.428 4.784,-8.14 6.195,-10.541Z",
|
|
"fill": {
|
|
"paint": "#f4b834"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M59.626,9.942l-0.389,-4.988l1.521,0l-0.377,4.988l-0.755,-0Zm-0.353,1.907l0,-1.164l1.449,0l-0,1.164l-1.449,-0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M64.807,1.181l-0,12.633c-0,0.265 -0.216,0.481 -0.481,0.481l-8.657,-0c-0.265,-0 -0.48,-0.216 -0.48,-0.481l-0,-12.633c-0,-0.265 0.215,-0.48 0.48,-0.48l8.657,-0c0.265,-0 0.481,0.215 0.481,0.48Z",
|
|
"fill": {
|
|
"paint": "#7166b7"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M59.626,9.042l-0.389,-5.001l1.521,-0l-0.377,5.001l-0.755,0Zm-0.353,1.912l0,-1.167l1.449,0l-0,1.167l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"cx": "59.998",
|
|
"cy": "7.498",
|
|
"fill": {
|
|
"paint": "#e22028"
|
|
},
|
|
"name": "circle",
|
|
"r": "7.198",
|
|
"stroke": {
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5",
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M58.212,9.232l-0.389,-5.617l1.521,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l0,-1.31l1.449,-0l-0,1.31l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M61.097,9.232l-0.389,-5.617l1.521,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l0,-1.31l1.449,-0l-0,1.31l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "Alarm-Items",
|
|
"name": "Alarm-Items",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"fill": {
|
|
"rule": "evenodd"
|
|
},
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"miterlimit": 0
|
|
},
|
|
"style": {
|
|
"clipRule": "evenodd",
|
|
"overflow": "visible"
|
|
},
|
|
"viewBox": "0 0 99 72"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
}
|
|
],
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tpageId \u003d self.page.props.pageId\n\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tutils.nav.openEQPopup(objectName, tagPath)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"propConfig": {
|
|
"custom.alarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/HoverOver",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |