From 745a200047cc33d5e4576b13b0b18a213cf51052 Mon Sep 17 00:00:00 2001 From: Salijoghli <107577102+Salijoghli@users.noreply.github.com> Date: Mon, 23 Jun 2025 16:56:40 +0400 Subject: [PATCH 1/2] showing PE alarms in the docked-vfd --- .../Information-Docked-East-VFD/view.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json index 8ae2d7f..515501c 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json @@ -7,7 +7,7 @@ }, "params": { "tagProps": [ - "System/Conveyor/APF/UL1_3", + "System/MCM01/Conveyor/UL1_3_VFD1", "value", "value", "value", @@ -238,14 +238,14 @@ "grow": 1 }, "propConfig": { - "props.filters.active.text": { + "props.filters.active.conditions.displayPath": { "binding": { "config": { "path": "view.params.tagProps[0]" }, "transforms": [ { - "code": "\treturn value[1:]", + "code": "\tparts \u003d value.split(\"/\")\n\tname \u003d parts[-1]\n\t\n\t# Split on \"_\" and remove the last part\n\tname_parts \u003d name.split(\"_\")\n\tnew_name \u003d \"_\".join(name_parts[:-1])\n\t\n\treturn new_name + \"_PE*,\" + new_name + \"_VFD*\"", "type": "script" } ], @@ -272,6 +272,7 @@ }, "filters": { "active": { + "conditions": {}, "priorities": { "critical": false, "high": false, @@ -1898,7 +1899,6 @@ "grow": 1 }, "props": { - "currentTabIndex": 1, "menuType": "modern", "tabSize": { "width": 1000 From 0097bc907eeab93b7b020d17355ce64a8849aa91 Mon Sep 17 00:00:00 2001 From: Salijoghli <107577102+Salijoghli@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:32:36 +0400 Subject: [PATCH 2/2] Changed alarm colors in docked-vfd --- .../Information-Docked-East-VFD/view.json | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json index 515501c..f36d3ec 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-VFD/view.json @@ -270,6 +270,10 @@ } } }, + "enableAcknowledge": false, + "enableDetails": false, + "enableShelve": false, + "enableUnshelve": false, "filters": { "active": { "conditions": {}, @@ -284,8 +288,65 @@ } } }, + "pager": { + "enabled": false + }, "refreshRate": 500, + "rowStyles": { + "activeAcked": { + "priorities": { + "diagnostic": { + "backgroundColor": "#579af1" + }, + "high": { + "backgroundColor": "#fb615b" + }, + "low": { + "backgroundColor": "#f8fa6e" + }, + "medium": { + "backgroundColor": "#ee9b5c" + } + } + }, + "activeUnacked": { + "base": { + "color": "black" + }, + "priorities": { + "critical": { + "backgroundColor": "#7C2320" + }, + "diagnostic": { + "backgroundColor": "#579af1" + }, + "high": { + "backgroundColor": "#fb615b" + }, + "low": { + "backgroundColor": "#f8fa6e" + }, + "medium": { + "backgroundColor": "#ee9b5c" + } + } + } + }, + "selection": { + "active": { + "mode": "none" + }, + "shelved": { + "mode": "none" + } + }, "toolbar": { + "enableActiveTab": false, + "enableConfiguration": false, + "enableFilter": false, + "enableFilterResults": false, + "enablePreFilters": false, + "enableShelvedTab": false, "enabled": false } },