{ "custom": {}, "params": { "ASdata": "value", "Browser": "Amazon", "Color": null, "DeviceType": "value", "FolderPath": "EPC/", "Vendor": "AS", "Visibility": null, "tagPath": "EPC1_ULGL2_3" }, "propConfig": { "params.ASdata": { "paramDirection": "input", "persistent": true }, "params.Browser": { "paramDirection": "output", "persistent": true }, "params.Color": { "binding": { "config": { "bidirectional": true, "fallbackDelay": 2.5, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color_Stop" }, "type": "tag" }, "paramDirection": "output", "persistent": true }, "params.DeviceType": { "paramDirection": "input", "persistent": true }, "params.FolderPath": { "paramDirection": "inout", "persistent": true }, "params.Vendor": { "paramDirection": "input", "persistent": true }, "params.Visibility": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "Browser": "{view.params.Browser}", "FolderPath": "{view.params.FolderPath}", "tagPath": "{view.params.tagPath}" }, "tagPath": "[{Browser}]{FolderPath}{tagPath}/HMI/Color_Stop" }, "transforms": [ { "fallback": null, "inputType": "scalar", "mappings": [ { "input": 1, "output": true }, { "input": 2, "output": false } ], "outputType": "scalar", "type": "map" } ], "type": "tag" }, "paramDirection": "output", "persistent": true }, "params.tagPath": { "paramDirection": "inout", "persistent": true } }, "props": { "defaultSize": { "height": 8, "width": 128 } }, "root": { "children": [ { "meta": { "name": "Estop_pullcord" }, "position": { "basis": "100%" }, "propConfig": { "meta.visible": { "binding": { "config": { "expression": "{session.custom.show.Estops}||{view.params.Visibility}" }, "type": "expr" } }, "props.elements[0].fill.paint": { "binding": { "config": { "path": "view.params.Color" }, "transforms": [ { "fallback": "#000000", "inputType": "scalar", "mappings": [ { "input": 1, "output": "#FF0000" }, { "input": 2, "output": "#00D900" } ], "outputType": "color", "type": "map" } ], "type": "property" } }, "props.style.classes": { "binding": { "config": { "expression": "if ({view.params.tagPath} \u003d {session.custom.Search},\r\n\"table/SearchTaghighlight\", \"table/highlight\")" }, "type": "expr" } } }, "props": { "elements": [ { "fill": {}, "height": "4", "name": "rect", "type": "rect", "width": "100" } ], "preserveAspectRatio": "none", "style": { "cursor": "pointer", "overflow": "visible" }, "viewBox": "0 0 100 4" }, "type": "ia.shapes.svg" } ], "events": { "dom": { "onClick": { "config": { "draggable": false, "id": "information", "modal": false, "overlayDismiss": false, "resizable": false, "showCloseIcon": false, "type": "open", "viewParams": { "ASdata": "{view.params.ASdata}", "Browser": "{view.params.Browser}", "DeviceType": "{view.params.DeviceType}", "FolderPath": "{view.params.FolderPath}", "Vendor": "{view.params.Vendor}", "tagPath": "{view.params.tagPath}" }, "viewPath": "Windows/Information/Information", "viewportBound": false }, "scope": "C", "type": "popup" } } }, "meta": { "name": "root", "tooltip": { "enabled": true, "style": { "backgroundColor": "#2B2B2BBF", "color": "#FFFFFF", "fontSize": 12, "textAlign": "left", "white-space": "pre" } } }, "propConfig": { "meta.tooltip.text": { "binding": { "config": { "expression": "replace({view.params.tagPath}, \"_\", \"-\") +\r\n\"\\nStatus: \" + \r\ncase (tag(\"[\"+{view.params.Browser}+\"]\"+{view.params.FolderPath}+{view.params.tagPath}+\"/HMI/Color_Stop\"),\r\n1 ,\"E-Stop Activated\",\r\n2 ,\"OK\",\r\n\"not response\")" }, "type": "expr" } } }, "props": { "direction": "column", "justify": "center", "style": { "overflow": "visible", "transform": "translate3d(0,0,0)" } }, "type": "ia.container.flex" } }