{ "custom": {}, "params": { "meta": { "name": "BCN1_BLU" }, "props": { "config": { "enableHighlight": true, "isClickable": false }, "status": { "color": "#AAA", "showAlways": true, "showLabel": "B", "tagPath": "", "tooltip": "" } } }, "propConfig": { "params.meta": { "paramDirection": "input", "persistent": true }, "params.meta.name": { "paramDirection": "input", "persistent": true }, "params.props": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 105, "width": 500 } }, "root": { "children": [ { "meta": { "name": "BCN1_BLU" }, "position": { "height": 48, "width": 48, "x": 76, "y": 11 }, "propConfig": { "meta.name": { "binding": { "config": { "path": "view.params.meta.name" }, "type": "property" }, "persistent": true }, "props.status": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.props.status.tagPath}" }, "tagPath": "{tagPath}/Graphics" }, "transforms": [ { "expression": "try(\r\n\tjsonSet({value}, \"showAlways\", true),\r\n\t{view.params.props.status}\r\n)", "type": "expression" } ], "type": "tag" } } }, "props": { "config": { "enableHighlight": false, "isClickable": false } }, "type": "dex.display.beacon" }, { "meta": { "name": "lbStatus" }, "position": { "height": 25, "width": "calc(100% - 300px)", "x": 280, "y": 40 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.props.status.tagPath}" }, "tagPath": "{tagPath}/Graphics" }, "transforms": [ { "code": "\treturn utils.extractStatus(value)", "type": "script" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000", "borderStyle": "solid", "fontSize": "14px", "fontWeight": "bold", "overflow": "hidden", "textAlign": "center", "textOverview": "ellipsis", "whiteSpace": "nowrap" } }, "type": "ia.display.label" }, { "meta": { "name": "lbName" }, "position": { "height": 25, "width": "calc(100% - 300px)", "x": 280, "y": 5 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.props.status.tagPath}" }, "tagPath": "{tagPath}/Parameters.LabelFull" }, "transforms": [ { "expression": "coalesce({value}, \u0027\u0027)", "type": "expression" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000", "borderStyle": "solid", "fontSize": "14px", "fontWeight": "bold", "overflow": "hidden", "textAlign": "center", "textOverview": "ellipsis", "whiteSpace": "nowrap" } }, "type": "ia.display.label" }, { "meta": { "name": "Label_1" }, "position": { "height": 25, "width": 75, "x": 195, "y": 5 }, "props": { "style": { "fontSize": "20px", "fontWeight": "bold", "textAlign": "right" }, "text": "Name: " }, "type": "ia.display.label" }, { "meta": { "name": "Label_11" }, "position": { "height": 25, "width": 75, "x": 195, "y": 40 }, "props": { "style": { "fontSize": "20px", "fontWeight": "bold", "textAlign": "right" }, "text": "Status:" }, "type": "ia.display.label" }, { "meta": { "name": "Label_12" }, "position": { "height": 25, "width": 75, "x": 195, "y": 75 }, "props": { "style": { "fontSize": "20px", "fontWeight": "bold", "textAlign": "right" }, "text": "Panel:" }, "type": "ia.display.label" }, { "meta": { "name": "lbStatus_0" }, "position": { "height": 25, "width": "calc(100% - 300px)", "x": 280, "y": 75 }, "propConfig": { "props.text": { "binding": { "config": { "fallbackDelay": 2.5, "mode": "indirect", "references": { "tagPath": "{view.params.props.status.tagPath}" }, "tagPath": "{tagPath}/Parameters.OPC_Server" }, "transforms": [ { "expression": "coalesce({value}, \"Unknown\")", "type": "expression" } ], "type": "tag" } } }, "props": { "style": { "borderColor": "#000", "borderStyle": "solid", "fontSize": "14px", "fontWeight": "bold", "overflow": "hidden", "textAlign": "center", "textOverview": "ellipsis", "whiteSpace": "nowrap" } }, "type": "ia.display.label" } ], "meta": { "name": "root" }, "props": { "style": { "background-color": "#CFCFCF" } }, "type": "ia.container.coord" } }