{ "custom": { "alarmSeverity": 1, "colorHandler": { "lines": "var(--olGray)" } }, "params": { "inPower": true, "objectName": "RTU01", "tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_RTU01" }, "propConfig": { "custom.alarmSeverity": { "binding": { "config": { "path": "view.params.tagPath" }, "transforms": [ { "code": "\treturn alarm.summary.calcMaxPriority(value)", "type": "script" } ], "type": "property" }, "persistent": true }, "custom.colorHandler": { "persistent": true }, "custom.colorHandler.cables": { "binding": { "config": { "path": "view.params.inPower" }, "transforms": [ { "fallback": "purple", "inputType": "scalar", "mappings": [ { "input": false, "output": "var(--elec-off)" }, { "input": true, "output": "var(--elec-on)" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "params.inPower": { "paramDirection": "input", "persistent": true }, "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 110, "width": 80 } }, "root": { "children": [ { "meta": { "name": "RTU" }, "position": { "height": 110, "width": 80 }, "propConfig": { "props.elements[0].elements[1].fill": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[0].elements[2].elements[0].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[0].elements[2].elements[1].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[0].elements[2].elements[2].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[0].elements[2].elements[4].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[0].elements[0].stroke.paint": { "binding": { "config": { "path": "view.custom.colorHandler.cables" }, "type": "property" } }, "props.elements[1].elements[0].elements[1].stroke.paint": { "binding": { "config": { "path": "view.custom.colorHandler.cables" }, "type": "property" } }, "props.elements[1].elements[0].elements[2].stroke.paint": { "binding": { "config": { "path": "view.custom.colorHandler.cables" }, "type": "property" } }, "props.elements[1].elements[1].elements[1].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[1].elements[3].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[3].fill.paint": { "binding": { "config": { "path": "view.custom.colorHandler.lines" }, "type": "property" } } }, "props": { "elements": [ { "elements": [ { "fill": { "opacity": "0" }, "height": "67.5", "id": "Enclosure", "name": "Enclosure", "type": "rect", "width": "45", "x": "3.75", "y": "11.25" }, { "d": "M3.75,15.268l0,-4.018l5.357,0l0,0.75l-4.607,-0l0,3.268l-0.75,-0Zm12.857,-4.018l0,0.75l-3.214,0l-0,-0.75l3.214,0Zm15,0l0,0.75l-10.714,0l-0,-0.75l10.714,0Zm7.5,0l0,0.75l-3.214,0l-0,-0.75l3.214,0Zm9.643,4.018l-0.75,-0l0,-3.268l-4.607,0l-0,-0.75l5.357,0l0,4.018Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm-5.357,7.232l-0,-0.75l4.607,0l0,-3.268l0.75,0l0,4.018l-5.357,0Zm-7.5,0l-0,-0.75l3.214,0l0,0.75l-3.214,0Zm-15,0l-0,-0.75l10.714,0l0,0.75l-10.714,0Zm-7.5,0l-0,-0.75l3.214,0l0,0.75l-3.214,0Zm-9.643,-4.018l0.75,0l-0,3.268l4.607,0l0,0.75l-5.357,0l0,-4.018Zm0,-5.625l0.75,0l0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l0,2.411l-0.75,-0l0,-2.411Z", "name": "path", "type": "path" }, { "elements": [ { "elements": [ { "d": "M0.077,-0l0,-0.705l0.306,0c0.077,0 0.137,0.019 0.179,0.056c0.042,0.037 0.063,0.088 0.063,0.155c0,0.043 -0.01,0.081 -0.029,0.112c-0.019,0.031 -0.046,0.055 -0.082,0.072c-0.036,0.017 -0.08,0.025 -0.131,0.025l0.009,-0.015l0.033,-0c0.027,-0 0.051,0.007 0.071,0.02c0.021,0.013 0.039,0.034 0.054,0.063l0.118,0.217l-0.141,-0l-0.122,-0.225c-0.008,-0.015 -0.017,-0.026 -0.027,-0.034c-0.01,-0.009 -0.021,-0.015 -0.034,-0.018c-0.013,-0.003 -0.027,-0.005 -0.044,-0.005l-0.095,-0l0,0.282l-0.128,-0Zm0.128,-0.377l0.156,-0c0.046,-0 0.081,-0.009 0.104,-0.028c0.024,-0.019 0.036,-0.048 0.036,-0.086c0,-0.037 -0.012,-0.065 -0.036,-0.084c-0.023,-0.019 -0.058,-0.029 -0.104,-0.029l-0.156,0l0,0.227Z", "fill": { "rule": "nonzero" }, "name": "path", "type": "path" } ], "fill": {}, "name": "group", "transform": "matrix(18.6413,0,0,18.6413,32.7595,63.7053)", "type": "group" }, { "fill": {}, "name": "group", "transform": "matrix(18.6413,0,0,18.6413,45.5474,63.7053)", "type": "group" }, { "elements": [ { "d": "M0.247,-0l0,-0.598l-0.242,0l-0,-0.107l0.612,0l0,0.107l-0.242,0l0,0.598l-0.128,-0Z", "fill": { "rule": "nonzero" }, "name": "path", "type": "path" } ], "fill": {}, "name": "group", "transform": "matrix(18.6413,0,0,18.6413,32.7595,82.3466)", "type": "group" }, { "name": "group", "transform": "matrix(18.6413,0,0,18.6413,44.3357,82.3466)", "type": "group" }, { "elements": [ { "d": "M0.37,0.01c-0.097,0 -0.171,-0.025 -0.222,-0.075c-0.051,-0.051 -0.076,-0.125 -0.076,-0.224l0,-0.416l0.128,0l0,0.415c0,0.063 0.014,0.111 0.043,0.143c0.029,0.031 0.072,0.047 0.127,0.047c0.055,0 0.097,-0.016 0.126,-0.047c0.029,-0.032 0.043,-0.08 0.043,-0.143l0,-0.415l0.127,0l0,0.416c0,0.099 -0.025,0.173 -0.075,0.224c-0.05,0.05 -0.124,0.075 -0.221,0.075Z", "fill": { "rule": "nonzero" }, "name": "path", "type": "path" } ], "fill": {}, "name": "group", "transform": "matrix(18.6413,0,0,18.6413,32.7595,100.988)", "type": "group" }, { "name": "group", "transform": "matrix(18.6413,0,0,18.6413,46.5168,100.988)", "type": "group" } ], "id": "Name", "name": "Name", "transform": "matrix(0.654499,0,0,0.670554,15.7034,-6.33664)", "type": "group" } ], "id": "Box", "name": "Box", "type": "group" }, { "elements": [ { "elements": [ { "cx": "22.5", "cy": "45", "fill": { "opacity": "0" }, "name": "circle", "r": "5.625", "stroke": { "width": "0.75px" }, "type": "circle" }, { "d": "M18.6,41.002l-6.229,5.897", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "round", "width": "0.75px" }, "type": "path" }, { "d": "M32.629,43.323l-6.3,5.832", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "round", "width": "0.75px" }, "type": "path" } ], "id": "Motor1", "name": "Motor1", "type": "group" }, { "elements": [ { "name": "group", "transform": "matrix(4.16667,0,0,4.16667,31.2492,55.4948)", "type": "group" }, { "fill": {}, "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "245 KVA", "type": "text", "x": "15.111px", "y": "55.495px" }, { "name": "group", "transform": "matrix(4.16667,0,0,4.16667,30.8626,59.2448)", "type": "group" }, { "fill": {}, "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "297 FLA", "type": "text", "x": "15.111px", "y": "59.245px" } ], "id": "Text", "name": "Text", "type": "group" } ], "id": "Motor", "name": "Motor", "type": "group" }, { "id": "TagID", "name": "TagID", "transform": "matrix(4.16667,0,0,4.16667,49.4275,9.24479)", "type": "group" }, { "fill": {}, "name": "text", "style": { "fontFamily": "\u0027Arial-BoldMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px", "fontWeight": "700" }, "text": "RTU-01", "type": "text", "x": "34.842px", "y": "9.245px" } ], "fill": { "rule": "evenodd" }, "stroke": { "miterlimit": "1" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 60 83" }, "type": "ia.shapes.svg" }, { "meta": { "name": "AlarmBorder" }, "position": { "height": 94, "width": 65, "x": 2.76, "y": 12.26 }, "propConfig": { "props.style.outlineColor": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": null, "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.style.outlineStyle": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "code": "\tif value \u003e 0:\n\t\treturn \"solid\"\n\telse:\n\t\treturn \"none\"", "type": "script" } ], "type": "property" } } }, "props": { "style": { "outlineWidth": "3" } }, "type": "ia.display.label" }, { "meta": { "name": "EmbeddedView" }, "position": { "height": 15, "width": 15, "x": 60.75, "y": 5 }, "propConfig": { "props.params.AlarmSeverity": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "type": "property" } } }, "props": { "params": { "ack": false }, "path": "Library/Alarms/Icons" }, "type": "ia.display.view" } ], "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" }, "props": { "style": { "classes": "containers/HoverOver" } }, "type": "ia.container.coord" } }