Add clicking PLC opens DPM in status page
This commit is contained in:
parent
16c0883d71
commit
00d0375e91
@ -1,6 +1,6 @@
|
||||
{
|
||||
"custom": {
|
||||
"currentTab": "value"
|
||||
"currentTab": "Windows/Tabs/Enternet Windows/Enternet"
|
||||
},
|
||||
"params": {
|
||||
"Tab_ID": null,
|
||||
@ -52,8 +52,7 @@
|
||||
"position": {
|
||||
"height": 894,
|
||||
"width": 1920,
|
||||
"x": -1.0147699,
|
||||
"y": 38
|
||||
"y": 40
|
||||
},
|
||||
"propConfig": {
|
||||
"props.path": {
|
||||
@ -97,7 +96,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tif (self.parent.custom.currentTab !\u003d \"Windows/Tabs/Enternet Windows/Enternet\"):\n\t\t\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Enternet Windows/Enternet\""
|
||||
"script": "\tif (self.parent.custom.currentTab !\u003d \"Windows/Tabs/Enternet Windows/Enternet\"):\n\t\t\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Enternet Windows/Enternet\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
@ -146,7 +145,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Lane Status\""
|
||||
"script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Lane Status\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
@ -195,7 +194,7 @@
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Scanner History\""
|
||||
"script": "\tself.parent.custom.currentTab \u003d \"Windows/Tabs/Scanner History\"\n\tself.parent.parent.getChild(\"DPMs\").meta.visible \u003d False"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
@ -302,7 +301,7 @@
|
||||
}
|
||||
],
|
||||
"custom": {
|
||||
"currentTab": "value"
|
||||
"currentTab": "Windows/Tabs/Enternet Windows/Enternet"
|
||||
},
|
||||
"meta": {
|
||||
"name": "Header"
|
||||
@ -2270,7 +2269,7 @@
|
||||
},
|
||||
"meta": {
|
||||
"name": "Period_not_Global_0",
|
||||
"visible": 0
|
||||
"visible": false
|
||||
},
|
||||
"position": {
|
||||
"height": 25.02,
|
||||
@ -2308,6 +2307,35 @@
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "DPMs"
|
||||
},
|
||||
"position": {
|
||||
"height": 894,
|
||||
"width": 1920,
|
||||
"y": 40
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 951,
|
||||
"y": 440
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM01"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM02"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM03"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM04"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM05"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM06"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
"width": 1920
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "Label"
|
||||
},
|
||||
"position": {
|
||||
"height": 32,
|
||||
"width": 50,
|
||||
"x": 960,
|
||||
"y": 447
|
||||
},
|
||||
"props": {
|
||||
"text": "MCM07"
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
}
|
||||
],
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"style": {
|
||||
"backgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.coord"
|
||||
}
|
||||
}
|
||||
@ -1,6 +1,13 @@
|
||||
{
|
||||
"custom": {},
|
||||
"custom": {
|
||||
"currentView": "Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM"
|
||||
},
|
||||
"params": {},
|
||||
"propConfig": {
|
||||
"custom.currentView": {
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 894,
|
||||
@ -10,6 +17,17 @@
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM01_PLC"
|
||||
},
|
||||
@ -21,13 +39,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM01"
|
||||
"MCM": "MCM01",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM02_PLC"
|
||||
},
|
||||
@ -39,13 +69,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM02"
|
||||
"MCM": "MCM02",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM03_PLC"
|
||||
},
|
||||
@ -57,13 +99,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM03"
|
||||
"MCM": "MCM03",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM04_PLC"
|
||||
},
|
||||
@ -75,13 +129,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM04"
|
||||
"MCM": "MCM04",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM05_PLC"
|
||||
},
|
||||
@ -93,13 +159,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM05"
|
||||
"MCM": "MCM05",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM06_PLC"
|
||||
},
|
||||
@ -111,13 +189,25 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM06"
|
||||
"MCM": "MCM06",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
"type": "ia.display.view"
|
||||
},
|
||||
{
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\tself.session.custom.dpm_view_path \u003d self.props.params.view\n\tself.session.custom.show_dpm_view \u003d True"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "MCM07_PLC"
|
||||
},
|
||||
@ -129,7 +219,8 @@
|
||||
},
|
||||
"props": {
|
||||
"params": {
|
||||
"MCM": "MCM07"
|
||||
"MCM": "MCM07",
|
||||
"view": "Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM"
|
||||
},
|
||||
"path": "Windows/Tabs/Enternet Windows/Components/PLC"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user