From d04a4e5f35b633cd96d2a228bce2274aa74a57bf Mon Sep 17 00:00:00 2001 From: "gigi.mamaladze" Date: Tue, 17 Jun 2025 19:17:17 +0400 Subject: [PATCH] Updated legend popup --- .../Legend_Popup/Legend-popup-view/view.json | 351 +++++++++++++++--- 1 file changed, 299 insertions(+), 52 deletions(-) diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Legend_Popup/Legend-popup-view/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Legend_Popup/Legend-popup-view/view.json index 1a47bff..79af848 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Legend_Popup/Legend-popup-view/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Legend_Popup/Legend-popup-view/view.json @@ -21,6 +21,9 @@ { "path": "Symbol-Views/Equipment-Views/AUS" }, + { + "path": "Symbol-Views/Equipment-Views/Button" + }, { "path": "Symbol-Views/Equipment-Views/Camera" }, @@ -30,6 +33,9 @@ { "path": "Symbol-Views/Equipment-Views/ControlCabinet" }, + { + "path": "Symbol-Views/Equipment-Views/Divert_Arm" + }, { "path": "Symbol-Views/Equipment-Views/Estop" }, @@ -39,6 +45,15 @@ { "path": "Symbol-Views/Equipment-Views/JAM" }, + { + "path": "Symbol-Views/Equipment-Views/JR_Button" + }, + { + "path": "Symbol-Views/Equipment-Views/Kobukuro" + }, + { + "path": "Symbol-Views/Equipment-Views/Lift" + }, { "path": "Symbol-Views/Equipment-Views/Light_Curtain" }, @@ -48,6 +63,18 @@ { "path": "Symbol-Views/Equipment-Views/Network" }, + { + "path": "Symbol-Views/Equipment-Views/PPI" + }, + { + "path": "Symbol-Views/Equipment-Views/Photocell2_Lift" + }, + { + "path": "Symbol-Views/Equipment-Views/Photocell_Lift" + }, + { + "path": "Symbol-Views/Equipment-Views/PinDetection" + }, { "path": "Symbol-Views/Equipment-Views/Pointer" }, @@ -75,9 +102,18 @@ { "path": "Symbol-Views/Equipment-Views/SLAMs" }, + { + "path": "Symbol-Views/Equipment-Views/SS_Button" + }, { "path": "Symbol-Views/Equipment-Views/SafetyGate" }, + { + "path": "Symbol-Views/Equipment-Views/SmartPac" + }, + { + "path": "Symbol-Views/Equipment-Views/Spiral" + }, { "path": "Symbol-Views/Equipment-Views/Stacker_Destacker" }, @@ -121,6 +157,16 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/Button", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/Camera", "forceFault": null, @@ -151,6 +197,16 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/Divert_Arm", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/Estop", "forceFault": null, @@ -181,6 +237,36 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/JR_Button", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/Kobukuro", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/Lift", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/Light_Curtain", "forceFault": null, @@ -211,6 +297,46 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/PPI", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/Photocell2_Lift", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/Photocell_Lift", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/PinDetection", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/Pointer", "forceFault": null, @@ -301,6 +427,16 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/SS_Button", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/SafetyGate", "forceFault": null, @@ -311,6 +447,26 @@ "classes": "" } }, + { + "Path": "Symbol-Views/Equipment-Views/SmartPac", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, + { + "Path": "Symbol-Views/Equipment-Views/Spiral", + "forceFault": null, + "forceRunning": 3, + "has_state": true, + "instancePosition": {}, + "instanceStyle": { + "classes": "" + } + }, { "Path": "Symbol-Views/Equipment-Views/Stacker_Destacker", "forceFault": null, @@ -400,6 +556,54 @@ "name": "Table" }, "propConfig": { + "props.data[11].Color.style.backgroundColor": { + "binding": { + "config": { + "path": "session.custom.colours.state5" + }, + "type": "property" + } + }, + "props.data[11].Color.style.color": { + "binding": { + "config": { + "expression": "if({session.custom.colours.colour_impaired}\u003d true, \u0027#000000\u0027,\u0027#FFFFFF\u0027) " + }, + "type": "expr" + } + }, + "props.data[12].Color.style.backgroundColor": { + "binding": { + "config": { + "path": "session.custom.colours.state4" + }, + "type": "property" + } + }, + "props.data[13].Color.style.backgroundColor": { + "binding": { + "config": { + "path": "session.custom.colours.state3" + }, + "type": "property" + } + }, + "props.data[14].Color.style.backgroundColor": { + "binding": { + "config": { + "path": "session.custom.colours.state2" + }, + "type": "property" + } + }, + "props.data[15].Color.style.backgroundColor": { + "binding": { + "config": { + "path": "session.custom.colours.state1" + }, + "type": "property" + } + }, "props.data[1].Color.style.backgroundColor": { "binding": { "config": { @@ -408,7 +612,7 @@ "type": "property" } }, - "props.data[2].Color.style.backgroundColor": { + "props.data[3].Color.style.backgroundColor": { "binding": { "config": { "path": "session.custom.colours.state5" @@ -416,61 +620,13 @@ "type": "property" } }, - "props.data[2].Color.style.color": { + "props.data[3].Color.style.color": { "binding": { "config": { "expression": "if({session.custom.colours.colour_impaired}\u003d true, \u0027#000000\u0027,\u0027#FFFFFF\u0027) " }, "type": "expr" } - }, - "props.data[4].Color.style.backgroundColor": { - "binding": { - "config": { - "path": "session.custom.colours.state5" - }, - "type": "property" - } - }, - "props.data[4].Color.style.color": { - "binding": { - "config": { - "expression": "if({session.custom.colours.colour_impaired}\u003d true, \u0027#000000\u0027,\u0027#FFFFFF\u0027) " - }, - "type": "expr" - } - }, - "props.data[5].Color.style.backgroundColor": { - "binding": { - "config": { - "path": "session.custom.colours.state4" - }, - "type": "property" - } - }, - "props.data[6].Color.style.backgroundColor": { - "binding": { - "config": { - "path": "session.custom.colours.state3" - }, - "type": "property" - } - }, - "props.data[7].Color.style.backgroundColor": { - "binding": { - "config": { - "path": "session.custom.colours.state2" - }, - "type": "property" - } - }, - "props.data[8].Color.style.backgroundColor": { - "binding": { - "config": { - "path": "session.custom.colours.state1" - }, - "type": "property" - } } }, "props": { @@ -710,7 +866,20 @@ }, "value": "Stopped" }, - "Description": "MHE is stopped (State2)" + "Description": "MHE is Stopped/Disabled\n" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#c9fcc0", + "classes": "", + "color": "#000000" + }, + "value": "Enabled" + }, + "Description": "MHE is Enabled (Not Running)" }, { "Color": { @@ -721,7 +890,85 @@ }, "value": "Running" }, - "Description": "MHE is running (State 3)" + "Description": "MHE is Running" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#00ffd0", + "classes": "", + "color": "#000000" + }, + "value": "Power Saving" + }, + "Description": "MHE is in Power Saving Mode" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#ff8c00", + "classes": "", + "color": "#000000" + }, + "value": "Jammed" + }, + "Description": "MHE is Jammed" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#0008ff", + "classes": "", + "color": "#FFFFFF" + }, + "value": "Full" + }, + "Description": "MHE is Full" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#946446", + "classes": "", + "color": "#FFFFFF" + }, + "value": "Maint Mode" + }, + "Description": "MHE is in Maintenance Mode" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#B45C5C", + "classes": "", + "color": "#FFFFFF" + }, + "value": "Maint Running Mode" + }, + "Description": "MHE Running in Maintenance Mode" + }, + { + "Color": { + "align": "center", + "justify": "left", + "style": { + "backgroundColor": "#ff0000", + "classes": "", + "color": "#FFFFFF" + }, + "value": "Estop / Faulted\n" + }, + "Description": "MHE is Estopped / Faulted\n" }, { "Color": {