diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json index bce7f19..f5ab67c 100644 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Status/view.json @@ -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": { diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/resource.json new file mode 100644 index 0000000..8867a0e --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/thumbnail.png new file mode 100644 index 0000000..08bc1e5 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/view.json new file mode 100644 index 0000000..ec380f5 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM01-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/resource.json new file mode 100644 index 0000000..1ee496a --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/thumbnail.png new file mode 100644 index 0000000..a8b0c4b Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/view.json new file mode 100644 index 0000000..bd69b51 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM02-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/resource.json new file mode 100644 index 0000000..2551499 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/thumbnail.png new file mode 100644 index 0000000..c5f525b Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/view.json new file mode 100644 index 0000000..10fc784 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM03-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/resource.json new file mode 100644 index 0000000..97264e7 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/thumbnail.png new file mode 100644 index 0000000..2907f71 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/view.json new file mode 100644 index 0000000..2c15fbd --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM04-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/resource.json new file mode 100644 index 0000000..211d099 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/thumbnail.png new file mode 100644 index 0000000..d697dab Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/view.json new file mode 100644 index 0000000..3cb9767 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM05-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/resource.json new file mode 100644 index 0000000..7e8a8c1 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/thumbnail.png new file mode 100644 index 0000000..d09a659 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/view.json new file mode 100644 index 0000000..7502806 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM06-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/resource.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/resource.json new file mode 100644 index 0000000..990482b --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/resource.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/thumbnail.png b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/thumbnail.png new file mode 100644 index 0000000..fdbf6b9 Binary files /dev/null and b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/thumbnail.png differ diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/view.json new file mode 100644 index 0000000..87e7968 --- /dev/null +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/DPMs/MCM07-DPM/view.json @@ -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" + } +} \ No newline at end of file diff --git a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/Enternet/view.json b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/Enternet/view.json index 63594e0..0656cb1 100644 --- a/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/Enternet/view.json +++ b/MTN6_SCADA/com.inductiveautomation.perspective/views/Windows/Tabs/Enternet Windows/Enternet/view.json @@ -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" }, diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Navigation-Views/Docked-West/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Navigation-Views/Docked-West/view.json index d701dd5..33228b6 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Navigation-Views/Docked-West/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Navigation-Views/Docked-West/view.json @@ -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"