2026-04-24 FE Backup

This commit is contained in:
2026-04-24 12:37:16 +00:00
parent ace79b82f7
commit 0ba11a23b8
3705 changed files with 1240402 additions and 0 deletions

View File

@@ -0,0 +1,785 @@
{
"custom": {},
"params": {
"boxColor": "var(--olGray)",
"inputPower": 1,
"objectName": "Breaker",
"outputPower": 1,
"tagPath": "[Ignition_SATB1_IO1_default]ER1242/SWBD/SATB1_ER1242_CB-52F2",
"textColor": "var(--olGray)",
"textHandler": {
"Breaker1": "800AF",
"Breaker2": "800AT",
"Breaker3": "LSIG",
"Breaker4": "100%",
"DeviceLabel": "DeviceLabel"
}
},
"propConfig": {
"params.boxColor": {
"paramDirection": "input",
"persistent": true
},
"params.inputPower": {
"paramDirection": "input",
"persistent": true
},
"params.objectName": {
"paramDirection": "input",
"persistent": true
},
"params.outputPower": {
"binding": {
"config": {
"struct": {
"CB": "{/root/SWBD_CB.custom.BreakerClosed}",
"inputPower": "{view.params.inputPower}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif value[\u0027inputPower\u0027]:\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": 55,
"width": 57
}
},
"root": {
"children": [
{
"custom": {
"BreakerClosed": true,
"colorHandler": {
"breakerIn": "var(--olGray)",
"breakerOut": "var(--olGray)"
}
},
"meta": {
"name": "SWBD_CB"
},
"position": {
"height": 51,
"width": 43
},
"propConfig": {
"custom.BreakerClosed": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Breaker Open-Closed"
},
"enabled": false,
"type": "tag"
}
},
"props.elements[0].elements[0].stroke.paint": {
"binding": {
"config": {
"struct": {
"CB": "{this.custom.BreakerClosed}",
"inputPower": "{view.params.inputPower}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif( value[\u0027inputPower\u0027] or value[\u0027CB\u0027]) is None:\n\t\treturn \u0027purple\u0027\n\tif value[\u0027inputPower\u0027] and value[\u0027CB\u0027]:\n\t\treturn \u0027var(--olRed)\u0027\n\telse: \n\t\treturn \u0027var(--olGreen)\u0027",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.elements[0].elements[0].visibility": {
"binding": {
"config": {
"path": "this.custom.BreakerClosed"
},
"transforms": [
{
"code": "\tif value is None: \n\t\treturn \"hidden\"\n\treturn value",
"type": "script"
},
{
"fallback": "visible",
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": "visible"
},
{
"input": false,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[0].elements[1].stroke.paint": {
"binding": {
"config": {
"struct": {
"CB": "{this.custom.BreakerClosed}",
"inputPower": "{view.params.inputPower}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif (value[\u0027inputPower\u0027] or value[\u0027CB\u0027]) is None:\n\t\treturn \u0027var(--olGray)\u0027\n\tif (value[\u0027inputPower\u0027] and value[\u0027CB\u0027]):\n\t\treturn \u0027var(--olGray)\u0027\n\telse: \n\t\treturn \u0027var(--olGreen)\u0027",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.elements[0].elements[1].visibility": {
"binding": {
"config": {
"path": "this.custom.BreakerClosed"
},
"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 \u0027hidden\u0027\n\treturn value",
"type": "script"
}
],
"type": "property"
}
},
"props.elements[0].elements[2].fill.paint": {
"binding": {
"config": {
"struct": {
"CB": "{this.custom.BreakerClosed}",
"inputPower": "{view.params.inputPower}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif (value[\u0027inputPower\u0027] or value[\u0027CB\u0027]) is None:\n\t\treturn \u0027var(--olGray)\u0027\n\tif (value[\u0027inputPower\u0027] and value[\u0027CB\u0027]):\n\t\treturn \u0027var(--olRed)\u0027\n\telse: \n\t\treturn \u0027var(--olGreen)\u0027",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.elements[0].elements[3].fill": {
"binding": {
"config": {
"struct": {
"CB": "{this.custom.BreakerClosed}",
"inputPower": "{view.params.inputPower}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\tif (value[\u0027inputPower\u0027] or value[\u0027CB\u0027]) is None:\n\t\treturn \u0027purple\u0027\n\tif (value[\u0027inputPower\u0027] and value[\u0027CB\u0027]):\n\t\treturn \u0027var(--olRed)\u0027\n\telse: \n\t\treturn \u0027var(--olGreen)\u0027",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.elements[0].elements[4].fill.paint": {
"binding": {
"config": {
"expression": "{view.params.inputPower}"
},
"overlayOptOut": true,
"transforms": [
{
"fallback": "var(--olGray)",
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": "var(--olRed)"
},
{
"input": 0,
"output": "var(--olGreen)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "expr"
}
},
"props.elements[0].elements[5].elements[1].text": {
"binding": {
"config": {
"path": "view.params.textHandler.Breaker4"
},
"type": "property"
}
},
"props.elements[0].elements[5].elements[3].text": {
"binding": {
"config": {
"path": "view.params.textHandler.Breaker3"
},
"type": "property"
}
},
"props.elements[0].elements[5].elements[5].text": {
"binding": {
"config": {
"path": "view.params.textHandler.Breaker2"
},
"type": "property"
}
},
"props.elements[0].elements[5].elements[7].text": {
"binding": {
"config": {
"path": "view.params.textHandler.Breaker1"
},
"type": "property"
}
},
"props.elements[0].elements[5].fill": {
"binding": {
"config": {
"expression": "{view.params.textColor}"
},
"type": "expr"
}
},
"props.elements[1].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[1].elements[2].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
},
"props.elements[1].elements[3].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
},
"props.elements[1].elements[4].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d2,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
},
"props.elements[1].elements[5].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d1,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
},
"props.elements[1].elements[6].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
},
"props.elements[1].elements[7].visibility": {
"binding": {
"config": {
"expression": "if({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n\r\n\t"
},
"type": "expr"
}
}
},
"props": {
"elements": [
{
"elements": [
{
"d": "M12.375,18c1.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"
},
"id": "Closed",
"name": "Closed",
"stroke": {
"width": "0.75px"
},
"type": "path"
},
{
"d": "M16.035,18c1.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"
},
"id": "Open",
"name": "Open",
"stroke": {
"width": "0.75px"
},
"type": "path"
},
{
"cx": "11.25",
"cy": "27",
"fill": {},
"id": "T2",
"name": "T2",
"r": "1.125",
"type": "circle"
},
{
"d": "M11.25,25.875c0.621,-0 1.125,0.504 1.125,1.125c-0,0.621 -0.504,1.125 -1.125,1.125c-0.621,-0 -1.125,-0.504 -1.125,-1.125c-0,-0.621 0.504,-1.125 1.125,-1.125Zm-0,0.75c-0.207,-0 -0.375,0.168 -0.375,0.375c-0,0.207 0.168,0.375 0.375,0.375c0.207,-0 0.375,-0.168 0.375,-0.375c-0,-0.207 -0.168,-0.375 -0.375,-0.375Z",
"name": "path",
"type": "path"
},
{
"cx": "11.25",
"cy": "18",
"fill": {},
"id": "T1",
"name": "T1",
"r": "1.125",
"type": "circle"
},
{
"elements": [
{
"id": "Line4",
"name": "Line4",
"transform": "matrix(4.16667,0,0,4.16667,29.5634,29.5687)",
"type": "group"
},
{
"name": "text",
"style": {
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
"fontSize": "4.167px"
},
"type": "text",
"x": "18.907px",
"y": "29.569px"
},
{
"id": "Line3",
"name": "Line3",
"transform": "matrix(4.16667,0,0,4.16667,28.5503,25.8853)",
"type": "group"
},
{
"name": "text",
"style": {
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
"fontSize": "4.167px"
},
"type": "text",
"x": "19.055px",
"y": "25.885px"
},
{
"id": "Line2",
"name": "Line2",
"transform": "matrix(4.16667,0,0,4.16667,31.1585,22.4233)",
"type": "group"
},
{
"name": "text",
"style": {
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
"fontSize": "4.167px"
},
"type": "text",
"x": "19.192px",
"y": "22.423px"
},
{
"id": "Line1",
"name": "Line1",
"transform": "matrix(4.16667,0,0,4.16667,31.4677,18.3302)",
"type": "group"
},
{
"name": "text",
"style": {
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
"fontSize": "4.167px"
},
"type": "text",
"x": "19.192px",
"y": "18.33px"
}
],
"id": "Text",
"name": "Text",
"type": "group"
}
],
"id": "CB",
"name": "CB",
"type": "group"
},
{
"elements": [
{
"fill": {
"opacity": "0",
"paint": "#ebebeb"
},
"height": "30",
"id": "AlarmBorder",
"name": "AlarmBorder",
"type": "rect",
"width": "22.5",
"x": "0",
"y": "7.5"
},
{
"d": "M22.5,7.5l0,30l-22.5,-0l0,-30l22.5,-0Zm-0.75,0.75l-21,0l-0,28.5l21,-0l0,-28.5Z",
"fill": {},
"name": "path",
"type": "path"
},
{
"d": "M22.858,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": {
"paint": "#000",
"width": "0.48px"
},
"type": "path"
},
{
"elements": [
{
"elements": [
{
"d": "M22.163,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": "M21.855,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": {
"paint": "#000",
"width": "0.48px"
},
"type": "path"
},
{
"elements": [
{
"elements": [
{
"d": "M22.126,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": "M27.307,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": {
"paint": "#000",
"width": "0.48px"
},
"type": "path"
},
{
"elements": [
{
"elements": [
{
"d": "M22.126,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": "22.498",
"cy": "7.498",
"fill": {
"paint": "#e22028"
},
"name": "circle",
"r": "7.198",
"stroke": {
"paint": "#000",
"width": "0.48px"
},
"type": "circle"
},
{
"elements": [
{
"elements": [
{
"d": "M20.712,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": "M23.597,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": "AlarmItems",
"name": "AlarmItems",
"type": "group"
}
],
"fill": {
"rule": "evenodd"
},
"preserveAspectRatio": "none",
"stroke": {
"linecap": "round",
"linejoin": "round",
"miterlimit": "1.5"
},
"style": {
"backgroundColor": "#00000000",
"borderBottomLeftRadius": 10,
"borderBottomRightRadius": 10,
"borderTopLeftRadius": 10,
"borderTopRightRadius": 10,
"clipRule": "evenodd"
},
"viewBox": "0 0 33 39"
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "Label"
},
"position": {
"height": 14,
"width": 35,
"x": 16.4,
"y": 11.4
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.textHandler.DeviceLabel"
},
"type": "property"
}
},
"props.textStyle.color": {
"binding": {
"config": {
"path": "view.params.textColor"
},
"overlayOptOut": true,
"type": "property"
}
}
},
"props": {
"alignVertical": "top",
"style": {
"overflow": "visible"
},
"textStyle": {
"fontFamily": "inherit",
"fontSize": 6,
"textAlign": "left"
}
},
"type": "ia.display.label"
}
],
"custom": {
"alarmSeverity": -1
},
"events": {
"dom": {
"onClick": {
"config": {
"script": "\n\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)"
},
"enabled": false,
"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": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}