{ "custom": {}, "params": { "deviceType": "beacon", "meta": { "name": "" }, "props": { "config": { "alwaysShowAll": true, "enableHighlight": true, "isClickable": false, "isRightOfSorter": false, "mirror": false, "originSide": "left", "paddleThickness": 10, "showLabel": true, "type": "belt" }, "status": { "color": "#aaa", "isExtended": true, "isManual": false, "isRetracted": false, "showAlways": true, "showLabel": "B", "tagPath": "", "tooltip": "" } }, "tabs": [ "Status", "Alarm History", "Devices", "Controls" ] }, "propConfig": { "params.deviceType": { "paramDirection": "input", "persistent": true }, "params.meta": { "paramDirection": "input", "persistent": true }, "params.meta.name": { "paramDirection": "input", "persistent": true }, "params.props": { "paramDirection": "input", "persistent": true }, "params.props.config": { "paramDirection": "input", "persistent": true }, "params.props.config.alwaysShowAll": { "paramDirection": "input", "persistent": true }, "params.props.config.isRightOfSorter": { "paramDirection": "input", "persistent": true }, "params.props.config.mirror": { "paramDirection": "input", "persistent": true }, "params.props.config.originSide": { "paramDirection": "input", "persistent": true }, "params.props.config.paddleThickness": { "paramDirection": "input", "persistent": true }, "params.props.config.showLabel": { "paramDirection": "input", "persistent": true }, "params.props.config.type": { "paramDirection": "input", "persistent": true }, "params.props.status": { "paramDirection": "input", "persistent": true }, "params.props.status.background": { "paramDirection": "input", "persistent": true }, "params.props.status.isExtended": { "paramDirection": "input", "persistent": true }, "params.props.status.isFaulted": { "paramDirection": "input", "persistent": true }, "params.props.status.isManual": { "paramDirection": "input", "persistent": true }, "params.props.status.isRetracted": { "paramDirection": "input", "persistent": true }, "params.props.status.showLabel": { "paramDirection": "input", "persistent": true }, "params.props.status.tooltip": { "paramDirection": "input", "persistent": true }, "params.tabs": { "paramDirection": "inout", "persistent": true }, "params.tabs[0]": { "paramDirection": "input", "persistent": true }, "params.tabs[1]": { "paramDirection": "input", "persistent": true }, "params.tabs[2]": { "paramDirection": "input", "persistent": true }, "params.tabs[3]": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 569, "width": 900 } }, "root": { "children": [ { "meta": { "name": "Label_0" }, "position": { "height": 35, "width": "100%" }, "props": { "style": { "backgroundColor": "#1A4A5E", "borderColor": "#000", "borderStyle": "solid", "borderWidth": "1px", "color": "#FFF", "fontSize": "20px", "fontWeight": "bold", "paddingLeft": 5 }, "text": "Oiler" }, "type": "ia.display.label" }, { "meta": { "name": "TabContainer" }, "position": { "height": "calc(100% - 35px)", "width": "100%", "y": 35 }, "propConfig": { "custom.key": { "binding": { "config": { "path": "session.props.auth.user.roles" }, "transforms": [ { "code": "\troles \u003d [\"Administrator\", \"Developer\"]\n\treturn value !\u003d None and len(value) \u003e 0 and len([i for i in value if i in roles]) \u003e 0", "type": "script" } ], "type": "property" } } }, "props": { "menuStyle": { "backgroundColor": "#225E77" }, "tabSize": { "height": 35, "width": 150 }, "tabStyle": { "active": { "backgroundColor": "#2D7D9F", "color": "#FFF", "fontWeight": "bold" }, "inactive": { "backgroundColor": "#389CC7", "color": "#FFF" } }, "tabs": [ "Controls" ] }, "type": "ia.container.tab" }, { "meta": { "name": "EmbeddedView" }, "position": { "height": "calc(100% - 69px)", "width": "100%", "y": 69 }, "props": { "path": "Popups/Device/Controls/oiler" }, "type": "ia.display.view" } ], "meta": { "name": "root" }, "props": { "style": { "classes": "window" } }, "type": "ia.container.coord" } }