{ "custom": {}, "params": { "BoxColor": "--olGray", "InputPower_1": 0, "InputPower_2": 0, "OutputPower": 0, "proportion": "", "tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/ATS\n" }, "propConfig": { "params.BoxColor": { "paramDirection": "input", "persistent": true }, "params.InputPower_1": { "paramDirection": "input", "persistent": true }, "params.InputPower_2": { "paramDirection": "input", "persistent": true }, "params.OutputPower": { "binding": { "config": { "expression": "if({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\nif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n)" }, "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].fill": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[1].fill": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[2].stroke.paint": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[3].fill": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[4].stroke.paint": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[5].stroke.paint": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[5].visibility": { "binding": { "config": { "expression": "if(!tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027)),\u0027visible\u0027,\u0027hidden\u0027)" }, "type": "expr" } }, "props.elements[0].elements[6].stroke.paint": { "binding": { "config": { "expression": "case(\r\n\tif({view.params.InputPower_1} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d0,1,\r\n\tif({view.params.InputPower_2} \u0026\u0026 tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027))\u003d1,1,0)\r\n\t)\r\n\t,1,\u0027var(--elec-on)\u0027\r\n\t,0,\u0027var(--elec-off)\u0027\r\n\t,\u0027var(--olGray)\u0027\r\n)\r\n" }, "type": "expr" } }, "props.elements[0].elements[6].visibility": { "binding": { "config": { "expression": "if(tag((tostr({view.params.tagPath})+\u0027/SwitchPosition\u0027)),\u0027visible\u0027,\u0027hidden\u0027)" }, "type": "expr" } } }, "props": { "elements": [ { "elements": [ { "d": "M557.884,228.24c-0,-4.312 -3.501,-7.813 -7.813,-7.813c-4.312,0 -7.812,3.501 -7.812,7.813c-0,4.312 3.5,7.812 7.812,7.812c4.312,0 7.813,-3.5 7.813,-7.812Z", "id": "Out1", "name": "Out1", "type": "path" }, { "d": "M660.381,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", "name": "path", "type": "path" }, { "d": "M550.071,228.24l0,20.16l116.56,-0l-0,-98.508", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "4.17px" }, "type": "path" }, { "cx": "595.833", "cy": "149.892", "id": "Terminal34", "name": "Terminal34", "r": "7.813", "type": "circle" }, { "d": "M595.833,149.892l0,0Z", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "4.17px" }, "type": "path" }, { "d": "M550.071,227.293l-42.46,-90.654", "fill": { "paint": "transparent" }, "id": "SRC01", "name": "SRC01", "stroke": { "width": "4.17px" }, "type": "path" }, { "d": "M550.071,227.293l43.15,-90.654", "fill": { "paint": "transparent" }, "id": "SRC02", "name": "SRC02", "stroke": { "width": "4.17px" }, "type": "path" } ], "id": "ATS", "name": "ATS", "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": 66, "id": "rect1", "name": "rect1", "stroke": { "dasharray": "none", "dashoffset": "0", "opacity": "1", "width": 1.5 }, "type": "rect", "width": 100, "x": 170, "y": 82 } ], "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(195,35)", "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(195,35)", "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(195,35)", "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(195,35)", "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" } }