{ "custom": {}, "params": { "objectName": "AnalogIn", "tagPath": "[Ignition_Common_IO_Gtwy]MPR1240/SATB1_MPR1240_M1_PQM/Real Power" }, "propConfig": { "params.objectName": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 50, "width": 100 } }, "root": { "children": [ { "children": [ { "meta": { "name": "Value" }, "position": { "grow": 1, "shrink": 0 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}" }, "transforms": [ { "formatType": "numeric", "formatValue": "#.00", "type": "format" } ], "type": "tag" } } }, "props": { "style": { "fontSize": 12, "overflow": "visible" }, "textStyle": { "color": "var(--tagvalue-color)", "fontSize": 12, "format": "##0.00", "textAlign": "right" } }, "type": "ia.display.label" }, { "meta": { "name": "EU" }, "position": { "grow": 1, "shrink": 0 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}.EngUnit" }, "type": "tag" } } }, "props": { "textStyle": { "color": "--units-color", "fontFamily": "inherit", "fontSize": 12 } }, "type": "ia.display.label" } ], "meta": { "name": "FlexContainer" }, "position": { "basis": "99.9%", "grow": 1, "shrink": 0 }, "propConfig": { "props.style.outlineColor": { "binding": { "config": { "path": "view.custom.AlarmSeverity" }, "overlayOptOut": true, "transforms": [ { "fallback": "none", "inputType": "scalar", "mappings": [ { "input": -1, "output": "white" }, { "input": 0, "output": "white" }, { "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" }, "overlayOptOut": true, "transforms": [ { "fallback": "none", "inputType": "scalar", "mappings": [ { "input": -1, "output": "none" }, { "input": 0, "output": "none" }, { "input": 1, "output": "solid" }, { "input": 2, "output": "solid" }, { "input": 3, "output": "solid" }, { "input": 4, "output": "solid" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } } }, "props": { "style": { "gap": "3px", "overflow": "hidden" } }, "type": "ia.container.flex" } ], "events": { "dom": { "onClick": { "config": { "script": "\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tutils.nav.openEQPopup(objectName, tagPath)\t" }, "enabled": false, "scope": "G", "type": "script" } } }, "meta": { "name": "root" }, "props": { "style": { "overflow": "visible", "padding": "3px" } }, "type": "ia.container.flex" } }