{ "custom": {}, "params": { "dataType": "Int4", "enabled": false, "label": "value", "tagPath": "[default]simulator/New Tag", "visible": true }, "propConfig": { "params.dataType": { "paramDirection": "input", "persistent": true }, "params.enabled": { "paramDirection": "input", "persistent": true }, "params.label": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true }, "params.visible": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 40, "width": 200 } }, "root": { "children": [ { "meta": { "name": "Name", "tooltip": { "enabled": true } }, "position": { "basis": "50%", "grow": 1, "shrink": 0 }, "propConfig": { "meta.tooltip.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}.OpcItemPath" }, "type": "tag" } }, "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.tagPath}" }, "tagPath": "{tagPath}.Name" }, "type": "tag" } } }, "type": "ia.display.label" }, { "meta": { "name": "Input" }, "position": { "basis": "65px" }, "propConfig": { "props.params.enabled": { "binding": { "config": { "path": "view.params.enabled" }, "type": "property" } }, "props.params.tagPath": { "binding": { "config": { "path": "view.params.tagPath" }, "type": "property" } }, "props.path": { "binding": { "config": { "expression": "case({view.params.dataType},\r\n\u0027Boolean\u0027, \u0027Library/Framework/Input/Boolean\u0027,\r\n\u0027Int4\u0027, \u0027Library/Framework/Input/Int\u0027,\r\n\u0027Int8\u0027, \u0027Library/Framework/Input/Int\u0027,\r\n\u0027Float4\u0027, \u0027Library/Framework/Input/Int\u0027,\r\n\u0027Float8\u0027, \u0027Library/Framework/Input/Int\u0027,\r\n\u0027String\u0027, \u0027Library/Framework/Input/String\u0027,\r\n\u0027\u0027)" }, "type": "expr" } } }, "type": "ia.display.view" }, { "meta": { "name": "Units" }, "position": { "basis": "35px" }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "1": "{view.params.tagPath}" }, "tagPath": "{1}.EngUnit" }, "type": "tag" } } }, "props": { "textStyle": { "color": "var(--units-color)" } }, "type": "ia.display.label" } ], "meta": { "name": "root" }, "propConfig": { "meta.visible": { "binding": { "config": { "path": "view.params.visible" }, "type": "property" } } }, "props": { "justify": "center", "style": { "gap": "var(--space-xs)", "overflow": "visible", "padding": "var(--space-xs)" } }, "type": "ia.container.flex" } }