diff --git a/.resources/a11e9a1d8d91c1f2a1d32968913a33055b5348b27d6b44cd4b7deb47d100e0b9 b/.resources/a11e9a1d8d91c1f2a1d32968913a33055b5348b27d6b44cd4b7deb47d100e0b9 new file mode 100644 index 00000000..36ab122a Binary files /dev/null and b/.resources/a11e9a1d8d91c1f2a1d32968913a33055b5348b27d6b44cd4b7deb47d100e0b9 differ diff --git a/.resources/548f698fa6e2e0d37cf20036970f7dcad43ce762eb76ad1868ee8a19c9951cd7 b/.resources/a4e30995159973100a7155769b0e0aecd84f802d66e78d222d9c5e479ad6cb4d similarity index 86% rename from .resources/548f698fa6e2e0d37cf20036970f7dcad43ce762eb76ad1868ee8a19c9951cd7 rename to .resources/a4e30995159973100a7155769b0e0aecd84f802d66e78d222d9c5e479ad6cb4d index 0b05b00b..eed39c22 100644 --- a/.resources/548f698fa6e2e0d37cf20036970f7dcad43ce762eb76ad1868ee8a19c9951cd7 +++ b/.resources/a4e30995159973100a7155769b0e0aecd84f802d66e78d222d9c5e479ad6cb4d @@ -1,5 +1,7 @@ { - "custom": {}, + "custom": { + "FilteredViews": [] + }, "events": { "system": { "onStartup": { @@ -11,167 +13,9 @@ } } }, - "params": { - "FilteredViews": [ - { - "Path": "autStand/Equipment/Beacon", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Button", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Camera", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Chute", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Conveyor", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Conveyor45", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Conveyor_Left90", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Conveyor_Right90", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/DPM", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/EPC", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Encoder", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Field_IO", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/JAM", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/MCM", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Photoeye_Tracking", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Photoeye_Long", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Photoeye_Chute", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/ProxSwitch", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/SS_Button", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Safety_IO", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/Solenoid", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - }, - { - "Path": "autStand/Equipment/VFD", - "instancePosition": {}, - "instanceStyle": { - "classes": "" - } - } - ] - }, + "params": {}, "propConfig": { - "params.FilteredViews": { - "paramDirection": "input", + "custom.FilteredViews": { "persistent": true } }, @@ -742,7 +586,7 @@ "props.params.FilteredViews": { "binding": { "config": { - "path": "view.params.FilteredViews" + "path": "view.custom.FilteredViews" }, "type": "property" } diff --git a/.resources/aff02c503003a10fb6084db01ab885373d793b94956240c1cb54419f1e7fef3d b/.resources/aff02c503003a10fb6084db01ab885373d793b94956240c1cb54419f1e7fef3d deleted file mode 100644 index cb3038cc..00000000 Binary files a/.resources/aff02c503003a10fb6084db01ab885373d793b94956240c1cb54419f1e7fef3d and /dev/null differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/resource.json index 819f1c28..9b8c6969 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/resource.json @@ -10,8 +10,8 @@ "attributes": { "lastModification": { "actor": "admin", - "timestamp": "2025-09-09T16:42:57Z" + "timestamp": "2025-09-10T07:16:44Z" }, - "lastModificationSignature": "a7013250d8fe0dd82fb5c1ad6719db46614c80aef139aee98d9c92f4ff2fdeec" + "lastModificationSignature": "1fbbd48f74c3d1f7cb590d090d3d808a1acd6e136d8d28d8010bc3f43271ca6d" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/thumbnail.png index cb3038cc..e5dcf8f4 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/thumbnail.png differ diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/view.json b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/view.json index 0b05b00b..412109b0 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/view.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-popup-view/view.json @@ -1,17 +1,5 @@ { - "custom": {}, - "events": { - "system": { - "onStartup": { - "config": { - "script": "\tproject_info \u003d system.perspective.getProjectInfo()\n\tviews \u003d project_info.get(\u0027views\u0027,[])\n\tfilter_criterion \u003d \"Symbol-Views\"\n\tfilter_criterion2 \u003d \"Symbol-Library-Views\"\n\tfilter_criterion3 \u003d \"Controller-Views\"\n\tfilter_criterion4 \u003d \"Device-Views\"\n\tfiltered_views \u003d [\n\t\tview for view in views \n\t\t\t\n\t\tif filter_criterion in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion2 in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion3 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\tand not filter_criterion4 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\t]\n\tjson_structure \u003d []\n\tfor view in filtered_views:\n\t\t\n\t\tif \u0027Test\u0027 not in view[\u0027path\u0027]:\n\t\t\tinstance \u003d {\n\t\t\t\t\"instanceStyle\": {\n\t\t\t\t\t\"classes\": \"\"\n\t\t\t\t},\n\t\t\t\t\"instancePosition\": {},\n\t\t\t\t\"Path\": view.get(\u0027path\u0027,\u0027\u0027),\n\t\t\t\t\"forceRunning\":3,\n\t\t\t\t\"forceFault\": None,\n\t\t\t\t\"has_state\":True\n\t\t\t}\n\t\t\tjson_structure.append(instance)\n\t\t\n\tjson_result \u003d system.util.jsonEncode(json_structure)\n\tself.params.Dataset \u003d filtered_views\n\tself.params.FilteredViews \u003d json_structure\n\tself.session.custom.alarm_filter.show_running \u003d True\n\tself.session.custom.alarm_filter.show_safety \u003d True\n\tself.session.custom.alarm_filter.show_diagnostic \u003d True\n\tself.session.custom.alarm_filter.show_gateways \u003d True\n\tself.session.custom.alarm_filter.show_low_alarm \u003d True\n\t" - }, - "scope": "G", - "type": "script" - } - } - }, - "params": { + "custom": { "FilteredViews": [ { "Path": "autStand/Equipment/Beacon", @@ -169,9 +157,20 @@ } ] }, + "events": { + "system": { + "onStartup": { + "config": { + "script": "\tproject_info \u003d system.perspective.getProjectInfo()\n\tviews \u003d project_info.get(\u0027views\u0027,[])\n\tfilter_criterion \u003d \"Symbol-Views\"\n\tfilter_criterion2 \u003d \"Symbol-Library-Views\"\n\tfilter_criterion3 \u003d \"Controller-Views\"\n\tfilter_criterion4 \u003d \"Device-Views\"\n\tfiltered_views \u003d [\n\t\tview for view in views \n\t\t\t\n\t\tif filter_criterion in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion2 in view.get(\u0027path\u0027,\u0027\u0027) \n\t\tand not filter_criterion3 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\tand not filter_criterion4 in view.get(\u0027path\u0027,\u0027\u0027)\n\t\t]\n\tjson_structure \u003d []\n\tfor view in filtered_views:\n\t\t\n\t\tif \u0027Test\u0027 not in view[\u0027path\u0027]:\n\t\t\tinstance \u003d {\n\t\t\t\t\"instanceStyle\": {\n\t\t\t\t\t\"classes\": \"\"\n\t\t\t\t},\n\t\t\t\t\"instancePosition\": {},\n\t\t\t\t\"Path\": view.get(\u0027path\u0027,\u0027\u0027),\n\t\t\t\t\"forceRunning\":3,\n\t\t\t\t\"forceFault\": None,\n\t\t\t\t\"has_state\":True\n\t\t\t}\n\t\t\tjson_structure.append(instance)\n\t\t\n\tjson_result \u003d system.util.jsonEncode(json_structure)\n\tself.params.Dataset \u003d filtered_views\n\tself.params.FilteredViews \u003d json_structure\n\tself.session.custom.alarm_filter.show_running \u003d True\n\tself.session.custom.alarm_filter.show_safety \u003d True\n\tself.session.custom.alarm_filter.show_diagnostic \u003d True\n\tself.session.custom.alarm_filter.show_gateways \u003d True\n\tself.session.custom.alarm_filter.show_low_alarm \u003d True\n\t" + }, + "scope": "G", + "type": "script" + } + } + }, + "params": {}, "propConfig": { - "params.FilteredViews": { - "paramDirection": "input", + "custom.FilteredViews": { "persistent": true } }, @@ -742,7 +741,7 @@ "props.params.FilteredViews": { "binding": { "config": { - "path": "view.params.FilteredViews" + "path": "view.custom.FilteredViews" }, "type": "property" } diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/resource.json b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/resource.json index a11cdd04..6f7342f8 100644 --- a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/resource.json +++ b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/resource.json @@ -10,8 +10,8 @@ "attributes": { "lastModification": { "actor": "admin", - "timestamp": "2025-09-09T14:21:03Z" + "timestamp": "2025-09-10T07:16:22Z" }, - "lastModificationSignature": "f6b213c99a03ed3175a5e4ce92cd7ee57d3ecb513a559f7bed938b15815221f9" + "lastModificationSignature": "24350725cca8bf003e9ddef0ef34a77e8ddfd0cd993e4727889f42379c286fa3" } } \ No newline at end of file diff --git a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/thumbnail.png b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/thumbnail.png index bb2f5fac..af767bad 100644 Binary files a/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/thumbnail.png and b/BNA8/com.inductiveautomation.perspective/views/autStand/PopUp-Views/Legend_Popup/Legend-table/thumbnail.png differ