{ "custom": { "Alarm": 0, "RunningSts": 1, "alarmSeverity": 0 }, "params": { "objectName": "Motor", "tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_CH37_MOTOR" }, "propConfig": { "custom.Alarm": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}/Alarms/Alarm Summary" }, "enabled": false, "type": "tag" }, "persistent": true }, "custom.RunningSts": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}/Status Running" }, "enabled": false, "type": "tag" }, "persistent": true }, "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" }, "persistent": true }, "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 150, "width": 200 } }, "root": { "children": [ { "meta": { "name": "AlarmBorder" }, "position": { "height": 0.8333, "width": 0.91, "x": 0.005, "y": 0.1259 }, "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" }, { "custom": { "colorHandler": { "lines": "var(--text-muted)" } }, "meta": { "name": "Chiller" }, "position": { "height": 0.98, "width": 0.97, "x": 0.02, "y": -0.0001 }, "propConfig": { "custom.colorHandler.status": { "binding": { "config": { "expression": "if({view.custom.Alarm}, \"var(--state-faulted)\",if({view.custom.RunningSts},\"var(--state-running)\",\"var(--state-standby)\"))" }, "type": "expr" } }, "props.elements[0].elements[0].fill.paint": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "visible" }, { "input": 4, "output": "hidden" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[0].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "visible" }, { "input": 4, "output": "hidden" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[1].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "visible" }, { "input": 4, "output": "hidden" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[2].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "visible" }, { "input": 3, "output": "hidden" }, { "input": 4, "output": "hidden" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[3].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "visible" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "hidden" }, { "input": 4, "output": "hidden" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[4].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "hidden" }, { "input": 4, "output": "visible" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[0].elements[5].visibility": { "binding": { "config": { "path": "view.custom.alarmSeverity" }, "transforms": [ { "fallback": "hidden", "inputType": "scalar", "mappings": [ { "input": -1, "output": "hidden" }, { "input": 0, "output": "hidden" }, { "input": 1, "output": "hidden" }, { "input": 2, "output": "hidden" }, { "input": 3, "output": "hidden" }, { "input": 4, "output": "visible" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "props.elements[1].elements[0].fill.paint": { "binding": { "config": { "path": "this.custom.colorHandler.status" }, "type": "property" } }, "props.elements[1].elements[0].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "enabled": false, "type": "property" } }, "props.elements[1].elements[1].fill.paint": { "binding": { "config": { "path": "this.custom.colorHandler.status" }, "type": "property" } }, "props.elements[1].elements[1].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "enabled": false, "type": "property" } }, "props.elements[1].elements[2].fill.paint": { "binding": { "config": { "path": "this.custom.colorHandler.status" }, "type": "property" } }, "props.elements[1].elements[2].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "enabled": false, "type": "property" } }, "props.elements[1].elements[3].fill.paint": { "binding": { "config": { "path": "this.custom.colorHandler.status" }, "type": "property" } }, "props.elements[1].elements[3].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "enabled": false, "type": "property" } }, "props.elements[1].elements[4].elements[0].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[10].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[11].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[12].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[13].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[14].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[15].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[16].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[17].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[18].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[1].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[2].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[3].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[4].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[5].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[6].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[7].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[8].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } }, "props.elements[1].elements[4].elements[9].stroke.paint": { "binding": { "config": { "path": "this.custom.colorHandler.lines" }, "type": "property" } } }, "props": { "elements": [ { "elements": [ { "d": "M100.525,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": {}, "name": "path", "stroke": { "paint": "#000", "width": "0.48px" }, "type": "path" }, { "elements": [ { "elements": [ { "d": "M99.83,8.96l-0.351,-4.735l1.371,0l-0.34,4.735l-0.68,-0Zm-0.318,1.81l-0,-1.105l1.305,0l-0,1.105l-1.305,0Z", "fill": { "paint": "#fff", "rule": "nonzero" }, "name": "path", "type": "path" } ], "name": "group", "type": "group" } ], "name": "group", "type": "group" }, { "elements": [ { "d": "M99.522,1.849c0.134,-0.227 0.378,-0.367 0.642,-0.367c0.265,-0 0.509,0.14 0.643,0.367c1.411,2.401 4.768,8.113 6.195,10.541c0.135,0.231 0.137,0.516 0.004,0.748c-0.133,0.232 -0.379,0.375 -0.647,0.375l-12.39,0c-0.267,0 -0.514,-0.143 -0.647,-0.375c-0.132,-0.232 -0.131,-0.517 0.005,-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": "M99.793,9.942l-0.39,-4.988l1.522,0l-0.377,4.988l-0.755,-0Zm-0.353,1.907l-0,-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": "M104.973,1.181l0,12.633c0,0.265 -0.215,0.481 -0.481,0.481l-8.656,-0c-0.265,-0 -0.481,-0.216 -0.481,-0.481l0,-12.633c0,-0.265 0.216,-0.48 0.481,-0.48l8.656,-0c0.266,-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": "M99.793,9.042l-0.39,-5.001l1.522,-0l-0.377,5.001l-0.755,0Zm-0.353,1.912l-0,-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": "100.164", "cy": "7.498", "fill": { "paint": "#e22028" }, "name": "circle", "r": "7.198", "stroke": { "paint": "#000", "width": "0.48px" }, "type": "circle" }, { "elements": [ { "elements": [ { "d": "M98.379,9.232l-0.39,-5.617l1.522,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l-0,-1.31l1.448,-0l0,1.31l-1.448,0Z", "fill": { "paint": "#fff", "rule": "nonzero" }, "name": "path", "type": "path" } ], "name": "group", "type": "group" }, { "elements": [ { "d": "M101.264,9.232l-0.39,-5.617l1.522,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l-0,-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": "Alarm-Items", "name": "Alarm-Items", "type": "group" }, { "elements": [ { "d": "M0.417,15.187l78.328,-0.004l0.099,35.067l16.823,0l-0,25.323l-95.25,0l-0,-60.386Z", "fill": {}, "name": "path", "stroke": { "paint": "var(--olGray)", "width": "0.83px" }, "type": "path" }, { "d": "M55.647,14.775l0.004,-2.433l20.681,-0l0,2.433", "fill": {}, "name": "path", "stroke": { "linecap": "butt", "paint": "var(--olGray)", "width": "0.75px" }, "type": "path" }, { "d": "M30.391,14.775l0.003,-2.433l20.681,-0l0,2.433", "fill": {}, "name": "path", "stroke": { "linecap": "butt", "paint": "var(--olGray)", "width": "0.75px" }, "type": "path" }, { "d": "M4.748,14.775l0.004,-2.433l20.681,-0l-0,2.433", "fill": {}, "name": "path", "stroke": { "linecap": "butt", "paint": "var(--olGray)", "width": "0.75px" }, "type": "path" }, { "elements": [ { "d": "M3.417,15.313l-0,58.004", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M3.417,73.317l92.25,0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M3.417,48.317l75.333,0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M3.417,50.234l75.333,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M28.122,16.632l-11.787,31.367", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M53.385,16.286l-11.821,31.714", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M78.745,15.766l-12.206,32.251", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M3.417,18.62l11.099,29.379", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.77px" }, "type": "path" }, { "d": "M28.187,16.632l12.015,31.363", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M53.385,16.286l11.86,31.731", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M4.344,15.183l11.143,29.462", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.79px" }, "type": "path" }, { "d": "M29.88,15.183l10.966,28.45", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.79px" }, "type": "path" }, { "d": "M55.063,15.183l10.796,28.317", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.79px" }, "type": "path" }, { "d": "M26.618,15.183l-11.103,29.462", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.83px" }, "type": "path" }, { "d": "M51.6,15.183l-10.754,28.45", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.82px" }, "type": "path" }, { "d": "M76.657,15.183l-10.798,28.321", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.82px" }, "type": "path" }, { "d": "M30.392,13.943l20.683,0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "butt", "width": "0.83px" }, "type": "path" }, { "d": "M4.749,13.943l20.684,0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "butt", "width": "0.83px" }, "type": "path" }, { "d": "M55.649,13.943l20.683,0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "butt", "width": "0.83px" }, "type": "path" } ], "id": "Internal-Lines", "name": "Internal-Lines", "type": "group" } ], "id": "Chiller", "name": "Chiller", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 108 76" }, "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": "Hover", "tooltip": { "enabled": true, "location": "top-right" } }, "position": { "height": 0.84, "width": 0.92, "y": 0.1192 }, "propConfig": { "meta.tooltip.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}/Parameters.DeviceLabel" }, "type": "tag" } } }, "props": { "style": { "classes": "containers/HoverOver", "outlineColor": "#FF0000", "outlineStyle": "none", "outlineWidth": "3" } }, "type": "ia.display.label" }, { "meta": { "name": "Label_0" }, "position": { "height": 0.1533, "width": 0.52, "x": 0.195, "y": 0.7133 }, "propConfig": { "props.text": { "binding": { "config": { "expression": "if({view.custom.Alarm}, \"Faulted\",if({view.custom.RunningSts},\"Running\",\"OFF\"))" }, "type": "expr" } } }, "props": { "style": { "color": "var(--tagvalue-color)", "fontSize": 12, "textAlign": "center" } }, "type": "ia.display.label" }, { "meta": { "name": "Label" }, "position": { "height": 0.1467, "width": 0.41, "x": 0.39, "y": 0.0267 }, "propConfig": { "custom.LLSAssignment": { "binding": { "config": { "struct": { "MotorNo": "{this.custom.motorNumber}", "tagPath": "{[Ignition_Common_IO_Gtwy]CHWS/Chiller_LLS/Reference Devices}" }, "waitOnAll": true }, "transforms": [ { "code": "\tLLSasignment \u003d value[\u0027tagPath\u0027][value[\u0027MotorNo\u0027]-1]\n\treturn LLSasignment", "type": "script" } ], "type": "expr-struct" } }, "custom.motorNumber": { "binding": { "config": { "path": "view.params.tagPath" }, "transforms": [ { "code": "\tparts \u003d value.split(\u0027_\u0027)[5][2:]\n\treturn int(parts)", "type": "script" } ], "type": "property" } }, "meta.visible": { "binding": { "config": { "expression": "if({this.custom.LLSAssignment}\u003e0,True,False)" }, "type": "expr" } }, "props.text": { "binding": { "config": { "expression": "concat(\u0027LLS: \u0027, {this.custom.LLSAssignment})" }, "type": "expr" } } }, "type": "ia.display.label" } ], "meta": { "name": "root" }, "props": { "mode": "percent", "style": { "overflow": "visible" } }, "type": "ia.container.coord" } }