885 lines
28 KiB
Plaintext
885 lines
28 KiB
Plaintext
{
|
|
"custom": {
|
|
"closed": 0,
|
|
"output": 0
|
|
},
|
|
"params": {
|
|
"boxColor": "var(--olGray)",
|
|
"inputPower": 1,
|
|
"objectName": "SEL-735",
|
|
"outputPower": 0,
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_SES_1A/SEL_FDR-1",
|
|
"textColor": "var(--olGray)",
|
|
"textHandler": {
|
|
"txt1": "MAIN",
|
|
"txt2": "1200A",
|
|
"txt3": "NC"
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"custom.closed": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Breaker Closed"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.output": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"cb": "{view.custom.closed}",
|
|
"in": "{view.params.inputPower}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027in\u0027] \u003d\u003d1 and value[\u0027cb\u0027] \u003d\u003d True:\n\t\treturn 1\n\telse:\n\t\treturn 0",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.boxColor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.inputPower": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.outputPower": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"cb": "{view.custom.closed}",
|
|
"in": "{view.params.inputPower}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027in\u0027] \u003d\u003d1 and value[\u0027cb\u0027] \u003d\u003d True:\n\t\treturn 1\n\telse:\n\t\treturn 0",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 59,
|
|
"width": 94
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"custom": {
|
|
"colorHandler": {
|
|
"breakerIn": "var(--elec-off)",
|
|
"breakerOut": "var(--elec-off)"
|
|
},
|
|
"key": "open"
|
|
},
|
|
"meta": {
|
|
"name": "SES-CB"
|
|
},
|
|
"position": {
|
|
"height": 50,
|
|
"rotate": {
|
|
"anchor": "0% 0%"
|
|
},
|
|
"width": 49
|
|
},
|
|
"propConfig": {
|
|
"custom.colorHandler.breakerIn": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "concat(\u0027var(\u0027,\r\nif({view.params.inputPower},\u0027--elec-on\u0027,\u0027--elec-off\u0027)\r\n,\u0027)\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.colorHandler.breakerOut": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "concat(\u0027var(\u0027,\r\nif({view.params.inputPower} \u0026\u0026 tag(tostr({view.params.tagPath}+\u0027/Breaker Closed\u0027)),\u0027--elec-on\u0027,\u0027--elec-on\u0027)\r\n,\u0027)\u0027)"
|
|
},
|
|
"enabled": false,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.key": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027Breaker Closed\u0027] \u003d\u003d True:\n\t\treturn \u0027Closed\u0027\n\telif value[\u0027Alarms\u0027][\u0027Breaker Trip\u0027] \u003d\u003d True:\n\t\treturn \u0027Tripped\u0027\n\telse:\n\t\treturn \u0027Open\u0027",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.elements[0].elements[1].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "case(\r\n\t{/root.custom.alarmSeverity},\r\n\t1, \"var(--coolpurple)\",\r\n\t2, \"var(--goldenyellow)\",\r\n\t3, \"var(--sunsetorange)\",\r\n\t4, \"var(--alarmred)\",\r\n\t\"transparent\"\r\n)\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[2].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[3].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[4].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d2,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[5].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d1,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[6].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[0].elements[7].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
|
|
},
|
|
"overlayOptOut": true,
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[1].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[2].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[3].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerIn"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[4].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[5].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[6].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn \u0027purple\u0027\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[1].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[1].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.txt1"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[3].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[3].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.txt2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[5].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].elements[5].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.txt3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[7].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"opacity": "0",
|
|
"paint": "#ebebeb"
|
|
},
|
|
"height": "30",
|
|
"id": "AlarmBorder",
|
|
"name": "AlarmBorder",
|
|
"type": "rect",
|
|
"width": "22.5",
|
|
"x": "6.734",
|
|
"y": "7.5"
|
|
},
|
|
{
|
|
"d": "M29.234,7.5l0,30l-22.5,-0l0,-30l22.5,-0Zm-0.75,0.75l-21,0l0,28.5l21,-0l0,-28.5Z",
|
|
"fill": {},
|
|
"name": "path",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M29.592,0.648l6.49,6.489c0.199,0.199 0.199,0.522 -0,0.721l-6.49,6.489c-0.198,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.523,-0.199 0.721,-0Z",
|
|
"fill": {
|
|
"paint": "#de7c33"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M28.897,8.96l-0.35,-4.735l1.37,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": "M28.589,1.849c0.134,-0.227 0.379,-0.367 0.643,-0.367c0.264,-0 0.509,0.14 0.643,0.367c1.411,2.401 4.768,8.113 6.195,10.541c0.135,0.231 0.137,0.516 0.004,0.748c-0.133,0.232 -0.38,0.375 -0.647,0.375l-12.39,0c-0.267,0 -0.514,-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": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M28.861,9.942l-0.39,-4.988l1.522,0l-0.378,4.988l-0.754,-0Zm-0.353,1.907l-0,-1.164l1.448,0l0,1.164l-1.448,-0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M34.041,1.181l0,12.633c0,0.265 -0.215,0.481 -0.481,0.481l-8.656,-0c-0.266,-0 -0.481,-0.216 -0.481,-0.481l-0,-12.633c-0,-0.265 0.215,-0.48 0.481,-0.48l8.656,-0c0.266,-0 0.481,0.215 0.481,0.48Z",
|
|
"fill": {
|
|
"paint": "#7166b7"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M28.861,9.042l-0.39,-5.001l1.522,-0l-0.378,5.001l-0.754,0Zm-0.353,1.912l-0,-1.167l1.448,0l0,1.167l-1.448,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"cx": "29.232",
|
|
"cy": "7.498",
|
|
"fill": {
|
|
"paint": "#e22028"
|
|
},
|
|
"name": "circle",
|
|
"r": "7.198",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M27.446,9.232l-0.389,-5.617l1.522,-0l-0.378,5.617l-0.755,0Zm-0.353,2.148l0,-1.31l1.449,-0l0,1.31l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M30.332,9.232l-0.39,-5.617l1.522,-0l-0.378,5.617l-0.754,0Zm-0.353,2.148l-0,-1.31l1.448,-0l0,1.31l-1.448,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "AlarmItems",
|
|
"name": "AlarmItems",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M21.809,19.603l-0,7.397l-7.622,-0l0,-7.397l7.622,0Zm-0.675,0.675l-6.272,0l0,6.047l6.272,-0l-0,-6.047Z",
|
|
"fill": {},
|
|
"name": "path",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M17.998,13.5l0,6.103",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M17.984,27l0,4.191",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M15.742,13.5l2.256,-1.477l2.257,1.477",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"linejoin": "bevel",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M15.728,14.977l2.256,-1.477l2.257,1.477",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"linejoin": "bevel",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M20.227,31.523l-2.256,1.477l-2.257,-1.477",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"linejoin": "bevel",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M20.241,30.045l-2.257,1.478l-2.256,-1.478",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"linecap": "butt",
|
|
"linejoin": "bevel",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,10.1074,21.7326)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "-0.309px",
|
|
"y": "21.733px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,11.5946,25.4948)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "-0.454px",
|
|
"y": "25.495px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,5.70068,29.2834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "-0.317px",
|
|
"y": "29.283px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,20.3387,24.7735)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"text": "52",
|
|
"type": "text",
|
|
"x": "15.704px",
|
|
"y": "24.774px"
|
|
}
|
|
],
|
|
"id": "Text",
|
|
"name": "Text",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "CB",
|
|
"name": "CB",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"fill": {
|
|
"rule": "evenodd"
|
|
},
|
|
"preserveAspectRatio": "xMinYMin",
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5"
|
|
},
|
|
"style": {
|
|
"clipRule": "evenodd"
|
|
},
|
|
"viewBox": "0 0 37 38"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 9,
|
|
"width": 38,
|
|
"x": 30.000000381469725,
|
|
"y": 41.000000381469725
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 6,
|
|
"overflow": "visible",
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"height": 9,
|
|
"width": 38,
|
|
"x": 30.000000381469725,
|
|
"y": 31.000000381469725
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value[\u0027Breaker Closed\u0027] \u003d\u003d True:\n\t\treturn \u0027Closed\u0027\n\telif value[\u0027Alarms\u0027][\u0027Breaker Trip\u0027] \u003d\u003d True:\n\t\treturn \u0027Tripped\u0027\n\telse:\n\t\treturn \u0027Open\u0027",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 6,
|
|
"overflow": "visible",
|
|
"textAlign": "left"
|
|
},
|
|
"text": "open"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_1"
|
|
},
|
|
"position": {
|
|
"height": 9,
|
|
"width": 38,
|
|
"x": 30.000000381469725,
|
|
"y": 11.000000381469727
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 6,
|
|
"overflow": "visible",
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_2"
|
|
},
|
|
"position": {
|
|
"height": 9,
|
|
"width": 38,
|
|
"x": 30.000000381469725,
|
|
"y": 21.000000381469725
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 6,
|
|
"overflow": "visible",
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"custom": {
|
|
"alarmSeverity": 0
|
|
},
|
|
"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"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/HoverOver"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |