From 98304fc7d9f64b387cb525af02049b85f0535861 Mon Sep 17 00:00:00 2001 From: beka makharadze Date: Wed, 9 Jul 2025 19:16:18 +0400 Subject: [PATCH] Update MCM docked-east --- .../Information-Docked-East-MCM/view.json | 128 +++--------------- 1 file changed, 19 insertions(+), 109 deletions(-) diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-MCM/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-MCM/view.json index 1905b88..90b170a 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-MCM/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/PopUp-Views/Controller-Equipment/Information-Docked-East-MCM/view.json @@ -10,12 +10,12 @@ "MCM07" ], "running_state": -1, - "state": 0, + "state": 2, "views_data": [] }, "params": { "tagProps": [ - "MCM", + "System/MCM01/MCM01", "value", "value", "value", @@ -2443,14 +2443,6 @@ } }, "props.style.backgroundColor": { - "binding": { - "config": { - "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {this.props.text} \u003d \"MOTOR FAULT RESET PRESSED\",\r\n \"#FCFF86\",\r\n if(\r\n {this.props.text} \u003d \"MOTOR FAULT RESET\",\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - }, - "props.text": { "binding": { "config": { "fallbackDelay": 2.5, @@ -2467,20 +2459,8 @@ "type": "expression" }, { - "fallback": "MOTOR FAULT RESET", - "inputType": "scalar", - "mappings": [ - { - "input": 2, - "output": "MOTOR FAULT RESET PRESSED" - }, - { - "input": 4, - "output": "MOTOR FAULT RESET PRESSED" - } - ], - "outputType": "scalar", - "type": "map" + "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {value} \u003d 2 || {value} \u003d 4,\r\n \"#FCFF86\",\r\n if(\r\n {value},\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n", + "type": "expression" } ], "type": "tag" @@ -2497,6 +2477,7 @@ "style": { "classes": "Background-Styles/Controller" }, + "text": "MOTOR FAULT RESET", "textStyle": { "color": "#000000" } @@ -2549,14 +2530,6 @@ } }, "props.style.backgroundColor": { - "binding": { - "config": { - "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {this.props.text} \u003d \"POWER BRANCH FAULT RESET PRESSED\",\r\n \"#FCFF86\",\r\n if(\r\n {this.props.text} \u003d \"POWER BRANCH FAULT RESET\",\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - }, - "props.text": { "binding": { "config": { "fallbackDelay": 2.5, @@ -2573,20 +2546,8 @@ "type": "expression" }, { - "fallback": "POWER BRANCH FAULT RESET", - "inputType": "scalar", - "mappings": [ - { - "input": 2, - "output": "POWER BRANCH FAULT RESET PRESSED" - }, - { - "input": 4, - "output": "POWER BRANCH FAULT RESET PRESSED" - } - ], - "outputType": "scalar", - "type": "map" + "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#BCBC52\",\r\n if(\r\n {value} \u003d 2 || {value} \u003d 4,\r\n \"#FCFF86\",\r\n if(\r\n {value},\r\n \"#DCDC03\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n", + "type": "expression" } ], "type": "tag" @@ -2603,6 +2564,7 @@ "style": { "classes": "Background-Styles/Controller" }, + "text": "POWER BRANCH FAULT", "textStyle": { "color": "#000000" } @@ -2655,14 +2617,6 @@ } }, "props.style.backgroundColor": { - "binding": { - "config": { - "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#9090C2\",\r\n if(\r\n {this.props.text} \u003d \"LOW AIR PRESSURE RESET PRESSED\",\r\n \"#5D5DFF\",\r\n if(\r\n {this.props.text} \u003d \"LOW AIR PRESSURE RESET\",\r\n \"#0A0AA4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - }, - "props.text": { "binding": { "config": { "fallbackDelay": 2.5, @@ -2679,20 +2633,8 @@ "type": "expression" }, { - "fallback": "LOW AIR PRESSURE RESET", - "inputType": "scalar", - "mappings": [ - { - "input": 2, - "output": "LOW AIR PRESSURE RESET PRESSED" - }, - { - "input": 4, - "output": "LOW AIR PRESSURE RESET PRESSED" - } - ], - "outputType": "scalar", - "type": "map" + "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#9090C2\",\r\n if(\r\n {value} \u003d 2 || {value} \u003d 4,\r\n \"#5D5DFF\",\r\n if(\r\n {value},\r\n \"#0A0AA4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n", + "type": "expression" } ], "type": "tag" @@ -2707,7 +2649,8 @@ }, "style": { "classes": "Background-Styles/Controller" - } + }, + "text": "LOW AIR PRESSURE RESET" }, "type": "ia.input.button" } @@ -2757,14 +2700,6 @@ } }, "props.style.backgroundColor": { - "binding": { - "config": { - "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {this.props.text} \u003d \"JAM RESTART PRESSED\",\r\n \"#FFFFFF\",\r\n if(\r\n {this.props.text} \u003d \"JAM RESTART\",\r\n \"#D4D4D4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - }, - "props.text": { "binding": { "config": { "fallbackDelay": 2.5, @@ -2781,20 +2716,8 @@ "type": "expression" }, { - "fallback": "JAM RESTART", - "inputType": "scalar", - "mappings": [ - { - "input": 2, - "output": "JAM RESTART PRESSED" - }, - { - "input": 4, - "output": "" - } - ], - "outputType": "scalar", - "type": "map" + "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {value} \u003d 2 || {value} \u003d 4,\r\n \"#FFFFFF\",\r\n if(\r\n {value},\r\n \"#D4D4D4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)", + "type": "expression" } ], "type": "tag" @@ -2811,6 +2734,7 @@ "style": { "classes": "Background-Styles/Controller" }, + "text": "JAM RESTART", "textStyle": { "color": "#000000" } @@ -2863,14 +2787,6 @@ } }, "props.style.backgroundColor": { - "binding": { - "config": { - "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {this.props.text} \u003d \"SETUP MOTOR SPEEDS PRESSED\",\r\n \"#FFFFFF\",\r\n if(\r\n {this.props.text} \u003d \"SETUP MOTOR SPEEDS\",\r\n \"#D4D4D4\",\r\n \"#FFFFFF\"\r\n )\r\n )\r\n)\r\n" - }, - "type": "expr" - } - }, - "props.text": { "binding": { "config": { "fallbackDelay": 2.5, @@ -2887,16 +2803,8 @@ "type": "expression" }, { - "fallback": "SETUP MOTOR SPEEDS", - "inputType": "scalar", - "mappings": [ - { - "input": 1, - "output": "SETUP MOTOR SPEEDS PRESSED" - } - ], - "outputType": "scalar", - "type": "map" + "expression": "if(\r\n {this.props.enabled} \u003d False,\r\n \"#A1A1A1\",\r\n if(\r\n {value} \u003d 1,\r\n \"#FFFFFF\",\r\n \"#D4D4D4\"\r\n )\r\n)\r\n", + "type": "expression" } ], "type": "tag" @@ -2913,6 +2821,7 @@ "style": { "classes": "Background-Styles/Controller" }, + "text": "SETUP MOTOR SPEEDS", "textStyle": { "color": "#000000" } @@ -2977,6 +2886,7 @@ "grow": 1 }, "props": { + "currentTabIndex": 2, "menuType": "modern", "tabSize": { "width": 1000