{ "custom": {}, "params": { "BoxColor": "--olGray", "InputPower": 0, "OutputPower": 0, "proportion": "", "tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/Breaker\n" }, "propConfig": { "params.BoxColor": { "paramDirection": "input", "persistent": true }, "params.InputPower": { "paramDirection": "input", "persistent": true }, "params.OutputPower": { "binding": { "config": { "expression": "if({view.params.InputPower} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),1,0)" }, "type": "expr" }, "paramDirection": "output", "persistent": true }, "params.proportion": { "paramDirection": "output", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 200, "width": 2468 } }, "root": { "children": [ { "children": [ { "meta": { "name": "General" }, "position": { "height": 1, "width": 1 }, "propConfig": { "props.elements[0].elements[0].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower},\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[1].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower},\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[2].fill": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower},\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[3].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower},\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[4].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[5].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[6].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[6].visibility": { "binding": { "config": { "expression": "\r\nif(tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027visible\u0027,\u0027hidden\u0027)\r\n\r\n" }, "type": "expr" } }, "props.elements[0].elements[7].stroke.paint": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.InputPower} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)\r\n" }, "type": "expr" } }, "props.elements[0].elements[7].visibility": { "binding": { "config": { "expression": "\r\nif(!tag((tostr({view.params.tagPath})+\u0027/OpenClosed\u0027)),\u0027visible\u0027,\u0027hidden\u0027)\r\n\r\n" }, "type": "expr" } } }, "props": { "elements": [ { "elements": [ { "d": "M2225,191.897c0,2.3 1.867,4.167 4.167,4.167c2.299,-0 4.166,-1.867 4.166,-4.167c0,-2.3 -1.867,-4.167 -4.166,-4.167c-2.3,0 -4.167,1.867 -4.167,4.167Z", "fill": { "paint": "transparent" }, "id": "Terminal6", "name": "Terminal6", "stroke": { "miterlimit": "10", "width": "4.17px" }, "type": "path" }, { "d": "M2229.17,187.73l-0,-0.838", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "round", "miterlimit": "1.5", "width": "4.17px" }, "type": "path" }, { "d": "M2222.92,149.892c-0,-3.449 2.8,-6.25 6.25,-6.25c3.449,0 6.25,2.801 6.25,6.25c-0,3.45 -2.801,6.25 -6.25,6.25c-3.45,0 -6.25,-2.8 -6.25,-6.25Z", "id": "In3", "name": "In3", "type": "path" }, { "d": "M2229.17,186.892l-0,-37", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "round", "miterlimit": "1.5", "width": "4.17px" }, "type": "path" }, { "d": "M2233.33,247.063c0,-2.3 -1.867,-4.167 -4.166,-4.167c-2.3,-0 -4.167,1.867 -4.167,4.167c-0,2.299 1.867,4.166 4.167,4.166c2.299,0 4.166,-1.867 4.166,-4.166Z", "fill": { "paint": "transparent" }, "id": "Terminal7", "name": "Terminal7", "stroke": { "miterlimit": "10", "width": "4.17px" }, "type": "path" }, { "d": "M2229.17,251.229l-0,0.839", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "round", "miterlimit": "1.5", "width": "4.17px" }, "type": "path" }, { "d": "M2236.91,193.729c8.448,7.001 12.598,15.745 12.366,26.918c0.219,10.579 -3.561,19.678 -12.366,26.918", "fill": { "paint": "transparent" }, "id": "Closed3", "name": "Closed3", "stroke": { "linejoin": "round", "miterlimit": "1.5", "width": "4.17px" }, "type": "path" }, { "d": "M2255.91,193.729c8.447,7.001 12.597,15.745 12.365,26.918c0.22,10.579 -3.56,19.678 -12.365,26.918", "fill": { "paint": "transparent" }, "id": "Open3", "name": "Open3", "stroke": { "linejoin": "round", "miterlimit": "1.5", "width": "4.17px" }, "type": "path" } ], "id": "CB04", "name": "CB04", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "miterlimit": "1" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 6663 296" }, "type": "ia.shapes.svg" }, { "children": [ { "meta": { "name": "rectangle" }, "position": { "height": 1, "width": 1 }, "propConfig": { "props.elements[1].stroke.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" }, "type": "expr" } } }, "props": { "elements": [ { "id": "defs5", "name": "defs5", "type": "defs" }, { "fill": { "opacity": "1", "paint": "transparent" }, "height": 58, "id": "rect1", "name": "rect1", "stroke": { "dasharray": "none", "dashoffset": "0", "opacity": "1", "width": 1.5 }, "type": "rect", "width": 26, "x": 819, "y": 91 } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 2469 200" }, "type": "ia.shapes.svg" }, { "meta": { "name": "AlarmPurple Icon" }, "position": { "height": 1, "width": 1 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if({/root.custom.AlarmSeverity}!\u003d1,false,true)\r\n\r\n\t" }, "type": "expr" } } }, "props": { "elements": [ { "id": "defs5", "name": "defs5", "type": "defs" }, { "elements": [ { "elements": [ { "d": "m 854.903,82.071 v 877.525 c 0,18.438 -14.969,33.407 -33.407,33.407 H 220.17 c -18.437,0 -33.407,-14.969 -33.407,-33.407 V 82.071 c 0,-18.438 14.97,-33.407 33.407,-33.407 h 601.326 c 18.438,0 33.407,14.969 33.407,33.407 z", "fill": { "paint": "#7166b7" }, "id": "path1", "name": "path1", "stroke": { "paint": "#000000", "width": "33.33px" }, "type": "path" }, { "elements": [ { "elements": [ { "d": "M 0.088,-0.195 0.056,-0.705 H 0.181 L 0.15,-0.195 Z M 0.059,0 V -0.119 H 0.178 V 0 Z", "fill": { "paint": "#ffffff", "rule": "nonzero" }, "id": "path2", "name": "path2", "type": "path" } ], "id": "g2", "name": "g2", "transform": "matrix(845.675,0,0,845.675,420.621,942.427)", "type": "group" }, { "id": "g3", "name": "g3", "transform": "matrix(845.675,0,0,845.675,621.046,942.427)", "type": "group" } ], "id": "g4", "name": "g4", "transform": "matrix(1,0,0,0.805553,0,1.79345)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g5", "name": "g5", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "matrix(0.02454845,0,0,0.02454819,62.214355,34.214484)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g7", "name": "g7", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "translate(770,43)", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 2469 200" }, "type": "ia.shapes.svg" }, { "meta": { "name": "AlarmYellow Icon" }, "position": { "height": 1, "width": 1 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if({/root.custom.AlarmSeverity}!\u003d2,false,true)\r\n\r\n\t" }, "type": "expr" } } }, "props": { "elements": [ { "id": "defs5", "name": "defs5", "type": "defs" }, { "elements": [ { "elements": [ { "d": "m 476.192,128.475 c 9.301,-15.826 26.285,-25.544 44.641,-25.544 18.357,0 35.341,9.718 44.641,25.544 98.023,166.79 331.22,563.583 430.343,732.245 9.409,16.011 9.524,35.834 0.301,51.952 -9.223,16.119 -26.371,26.064 -44.942,26.064 -197.149,0 -663.536,0 -860.685,0 -18.571,0 -35.719,-9.945 -44.942,-26.064 C 36.326,896.554 36.44,876.731 45.85,860.72 144.973,692.058 378.17,295.265 476.192,128.475 Z", "fill": { "paint": "#f4b834" }, "id": "path1-7", "name": "path1-7", "stroke": { "paint": "#000000", "width": "33.33px" }, "type": "path" }, { "elements": [ { "elements": [ { "d": "M 0.088,-0.195 0.056,-0.705 H 0.181 L 0.15,-0.195 Z M 0.059,0 V -0.119 H 0.178 V 0 Z", "fill": { "paint": "#ffffff", "rule": "nonzero" }, "id": "path2-8", "name": "path2-8", "type": "path" } ], "id": "g2-6", "name": "g2-6", "transform": "matrix(845.675,0,0,845.675,420.621,1006.62)", "type": "group" }, { "id": "g3-7", "name": "g3-7", "transform": "matrix(845.675,0,0,845.675,621.046,1006.62)", "type": "group" } ], "id": "g4-1", "name": "g4-1", "transform": "matrix(1,0,0,0.803347,0,14.4369)", "type": "group" } ], "id": "g5-7", "name": "g5-7", "transform": "matrix(0.02405886,0,0,0.02405895,62.469344,34.469531)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g8", "name": "g8", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "translate(770,43)", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 2469 200" }, "type": "ia.shapes.svg" }, { "meta": { "name": "AlarmOrange Icon" }, "position": { "height": 1, "width": 1 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if({/root.custom.AlarmSeverity}!\u003d3,false,true)\r\n\r\n\t" }, "type": "expr" } } }, "props": { "elements": [ { "id": "defs5", "name": "defs5", "type": "defs" }, { "elements": [ { "elements": [ { "d": "m 545.877,45.009 450.78,450.781 c 13.822,13.822 13.822,36.265 0,50.087 l -450.78,450.78 c -13.822,13.822 -36.265,13.822 -50.087,0 L 45.009,545.877 c -13.821,-13.822 -13.821,-36.265 0,-50.087 L 495.79,45.009 c 13.822,-13.821 36.265,-13.821 50.087,0 z", "fill": { "paint": "#de7c33" }, "id": "path1-9", "name": "path1-9", "stroke": { "paint": "#000000", "width": "33.33px" }, "type": "path" }, { "elements": [ { "elements": [ { "d": "M 0.088,-0.195 0.056,-0.705 H 0.181 L 0.15,-0.195 Z M 0.059,0 V -0.119 H 0.178 V 0 Z", "fill": { "paint": "#ffffff", "rule": "nonzero" }, "id": "path2-9", "name": "path2-9", "type": "path" } ], "id": "g2-2", "name": "g2-2", "transform": "matrix(761.797,0,0,761.797,430.56,887.507)", "type": "group" }, { "id": "g3-3", "name": "g3-3", "transform": "matrix(761.797,0,0,761.797,611.106,887.507)", "type": "group" } ], "id": "g4-9", "name": "g4-9", "transform": "matrix(1,0,0,0.846556,0,-3.16266)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g6", "name": "g6", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "matrix(0.02386836,0,0,0.02386836,62.568564,34.568564)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g9", "name": "g9", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "translate(770,43)", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 2469 200" }, "type": "ia.shapes.svg" }, { "meta": { "name": "AlarmRed Icon" }, "position": { "height": 1, "width": 1 }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "if({/root.custom.AlarmSeverity}!\u003d4,false,true)\r\n\r\n\t" }, "type": "expr" } } }, "props": { "elements": [ { "id": "defs5", "name": "defs5", "type": "defs" }, { "elements": [ { "cx": "75", "cy": "47", "fill": { "paint": "#e22028" }, "id": "circle1", "name": "circle1", "rx": "11.612939", "ry": "11.612941", "stroke": { "paint": "#000000", "width": "0.774118px" }, "type": "ellipse" }, { "elements": [ { "elements": [ { "d": "M 0.088,-0.195 0.056,-0.705 H 0.181 L 0.15,-0.195 Z M 0.059,0 V -0.119 H 0.178 V 0 Z", "fill": { "paint": "#ffffff", "rule": "nonzero" }, "id": "path1", "name": "path1", "type": "path" } ], "id": "g1", "name": "g1", "transform": "matrix(845.675,0,0,845.675,322.381,879.38)", "type": "group" }, { "elements": [ { "d": "M 0.088,-0.195 0.056,-0.705 H 0.181 L 0.15,-0.195 Z M 0.059,0 V -0.119 H 0.178 V 0 Z", "fill": { "paint": "#ffffff", "rule": "nonzero" }, "id": "path2", "name": "path2", "type": "path" } ], "id": "g2", "name": "g2", "transform": "matrix(845.675,0,0,845.675,522.806,879.38)", "type": "group" } ], "id": "g4", "name": "g4", "transform": "matrix(0.02322588,0,0,0.02101536,62.903178,34.784214)", "type": "group" } ], "fill": { "rule": "evenodd" }, "id": "g10", "name": "g10", "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "transform": "translate(770,43)", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 2469 200" }, "type": "ia.shapes.svg" } ], "meta": { "name": "Alarm block" }, "position": { "height": 1, "width": 1 }, "props": { "mode": "percent" }, "type": "ia.container.coord" } ], "meta": { "name": "Element" }, "position": { "grow": 1 }, "props": { "mode": "percent", "style": { "overflow": "hidden" } }, "type": "ia.container.coord" } ], "meta": { "name": "root" }, "propConfig": { "custom.AlarmSeverity": { "binding": { "config": { "expression": "tag(tostr({view.params.tagPath})+\u0027/AlarmSeverity\u0027)" }, "type": "expr" } } }, "props": { "direction": "column" }, "type": "ia.container.flex" } }