208 lines
5.3 KiB
JSON

{
"custom": {
"currentTab": null
},
"params": {
"Tab_ID": null,
"Table": null
},
"propConfig": {
"custom.currentTab": {
"binding": {
"config": {
"path": "/root/Header.custom.currentTab"
},
"type": "property"
},
"persistent": true
},
"params.Tab_ID": {
"binding": {
"config": {
"path": "/root/Status_tab.props.currentTabIndex"
},
"type": "property"
},
"paramDirection": "output",
"persistent": true
},
"params.Table": {
"binding": {
"config": {
"path": "/root/Status_tab.meta.name"
},
"type": "property"
},
"paramDirection": "output",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 930,
"width": 1920
}
},
"root": {
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.custom.TabName \u003d \"DPMs\""
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Content"
},
"position": {
"height": 0.9964,
"width": 0.9956,
"x": 0.0015
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "!{session.custom.show_dpm_device_view} \u0026\u0026 !{session.custom.show_dpm_view}"
},
"type": "expr"
}
}
},
"props": {
"path": "Windows/Tabs/Enternet Windows/Enternet"
},
"type": "ia.display.view"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.parent.custom.TabName \u003d \"Devices\""
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "DPMs"
},
"position": {
"height": 0.9987,
"width": 0.9967,
"y": 0.0005
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"path": "session.custom.show_dpm_view"
},
"type": "property"
}
},
"props.path": {
"binding": {
"config": {
"path": "session.custom.dpm_view_path"
},
"type": "property"
}
},
"props.style.opacity": {
"binding": {
"config": {
"path": "this.meta.visible"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": true,
"output": 100
},
{
"input": false,
"output": 0
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"type": "ia.display.view"
},
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tif self.parent.custom.TabName \u003d\u003d \"DPMs\":\n\t\tself.session.custom.show_dpm_view \u003d False\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\tif self.parent.custom.TabName \u003d\u003d \"Devices\":\n\t\tself.session.custom.show_dpm_device_view \u003d False\n\t\tself.session.custom.show_dpm_view \u003d False\n\tsystem.perspective.closeDock(\u0027Docked-East-VFD\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-DS\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-TPR\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-Extendo\u0027)\n\tsystem.perspective.closeDock(\u0027Docked-East-MCM\u0027)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "BACK"
},
"position": {
"height": 0.0459,
"width": 0.0739,
"x": 0.0083,
"y": 0.9349
},
"propConfig": {
"meta.visible": {
"binding": {
"config": {
"expression": "{session.custom.show_dpm_device_view} || {session.custom.show_dpm_view} "
},
"type": "expr"
}
}
},
"props": {
"style": {
"backgroundColor": "#D7D7D7",
"borderStyle": "solid",
"borderWidth": 1,
"color": "#000000"
},
"text": "BACK"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "root"
},
"position": {
"x": 8,
"y": -39
},
"props": {
"mode": "percent",
"style": {
"backgroundColor": "#F1F1F1",
"overflow": "hidden"
}
},
"type": "ia.container.coord"
}
}