{ "custom": { "AlarmSeverity": 2, "color": "Red" }, "params": { "objectName": "VSD", "tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_CH45_HF" }, "propConfig": { "custom.AlarmSeverity": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}/AlarmSummary/ActiveAlarms" }, "transforms": [ { "code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)", "type": "script" } ], "type": "tag" }, "persistent": true }, "custom.color": { "binding": { "config": { "path": "view.custom.AlarmSeverity" }, "transforms": [ { "code": "\tif value \u003e 0:\n\t\treturn \"Red\"\n\treturn \"Black\"", "type": "script" } ], "type": "property" }, "persistent": true }, "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 66, "width": 48 } }, "root": { "children": [ { "meta": { "name": "1652620303816" }, "position": { "height": 1, "rotate": { "anchor": "50% 37%" }, "width": 1 }, "propConfig": { "props.elements[0].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[10].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[1].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[2].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[3].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[4].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[5].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[6].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[7].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[8].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } }, "props.elements[9].stroke.paint": { "binding": { "config": { "path": "view.custom.color" }, "type": "property" } } }, "props": { "elements": [ { "fill": { "paint": "transparent" }, "height": "820.258", "name": "rect", "stroke": { "width": "41.67px" }, "type": "rect", "width": "820.258", "x": "20.833", "y": "20.833" }, { "d": "M20.833,841.092l820.259,-820.259", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M480.421,629.619l275.556,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M480.421,738.987l275.556,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M226.688,1102.86l150.876,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M480.421,1102.86l150.876,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M631.297,841.092l0,261.765", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M226.688,841.092l-0,261.765", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M377.564,971.974l0,261.765", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M480.421,971.974l-0,261.765", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" }, { "d": "M108.413,180.726c30.798,-34.424 58.294,-68.741 88.196,-68.741c26.385,0 50.08,30.832 88.196,68.741c36.864,36.666 59.888,63.842 88.195,63.842c28.308,-0 57.398,-32.539 88.196,-63.842", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "41.67px" }, "type": "path" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 862 1255" }, "type": "ia.shapes.svg" } ], "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": { "mode": "percent", "style": { "classes": "containers/HoverOver", "overflow": "visible" } }, "type": "ia.container.coord" } }