Merge pull request 'Add clicking PLC opens DPM in status page' (#76) from beka-branch into main

Reviewed-on: http://192.168.5.191:3000/LCI/MTN6/pulls/76
This commit is contained in:
GigiMamaladze 2025-05-01 12:04:14 +00:00
commit 033bfd6ff9
24 changed files with 521 additions and 17 deletions

View File

@ -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": {

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "ff911499224a15fdd587bb4bf39422dbfcc66db1f3e3d20dbafbc6f67c1fa5bf"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM01"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "7fd9cafc7372eec68a9c879229bf3a0427fa66ecb3eaacd5d50bd4d493def75f"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM02"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "005753a0c0ea47f578772620b093db865ca65ebc1bd3f12b9d2e551e6bf6a211"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM03"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "8df756f9c63872a7ef65bf7a41506b4afaa6f4f820b4295bdec902e452e2672a"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM04"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "376191010d8e13e9aead532376bd85754c3d96358cd06e09fd3322b20efbb889"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM05"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "91c24778158ff4eb8606b147a2748a1f1b33c4ca31dfdd828cf18039daba2301"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM06"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -0,0 +1,17 @@
{
"scope": "G",
"version": 1,
"restricted": false,
"overridable": true,
"files": [
"view.json",
"thumbnail.png"
],
"attributes": {
"lastModification": {
"actor": "admin",
"timestamp": "2025-05-01T11:16:00Z"
},
"lastModificationSignature": "5f097cbfb056b00471ce54b2325fd65ffc3728de40385484af08d64300646f5e"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.0 KiB

View File

@ -0,0 +1,38 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 894,
"width": 1920
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 32,
"width": 50,
"x": 935,
"y": 431
},
"props": {
"text": "MCM07"
},
"type": "ia.display.label"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"backgroundColor": "#ffffff"
}
},
"type": "ia.container.coord"
}
}

View File

@ -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"
},

View File

@ -699,7 +699,7 @@
"component": {
"onActionPerformed": {
"config": {
"script": "\tsystem.perspective.navigate(\"/Windows/Status\")"
"script": "\tsystem.perspective.navigate(\"/Windows/Status\")\n\tself.session.custom.show_dpm_view \u003d False"
},
"scope": "G",
"type": "script"