From 6376c5ccbf5b18f3b93bd0cbbe21b28ed09d59a4 Mon Sep 17 00:00:00 2001 From: bmidf <81828475+bmidf@users.noreply.github.com> Date: Fri, 18 Jul 2025 16:09:29 +0400 Subject: [PATCH] Fix Buttons --- .../view.json | 26 ++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-SS-Button/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-SS-Button/view.json index 643ee2d..9d2f483 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-SS-Button/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-SS-Button/view.json @@ -640,7 +640,7 @@ }, "transforms": [ { - "expression": "if({this.props.enabled} \u003d false, 3, coalesce({value}, {view.params.forceFaultStatus}, 0))\r\n", + "expression": "if({this.props.enabled} \u003d false, 8, coalesce({value}, {view.params.forceFaultStatus}, 0))\r\n", "type": "expression" }, { @@ -648,7 +648,7 @@ "inputType": "scalar", "mappings": [ { - "input": 2, + "input": 0, "output": "#00A700" }, { @@ -656,11 +656,31 @@ "output": "#41E841" }, { - "input": 0, + "input": 2, "output": "#41E841" }, { "input": 3, + "output": "#41E841" + }, + { + "input": 4, + "output": "#00A700" + }, + { + "input": 5, + "output": "#41E841" + }, + { + "input": 6, + "output": "#41E841" + }, + { + "input": 7, + "output": "#41E841" + }, + { + "input": 8, "output": "#7DB17D" } ],