diff --git a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/MCM/view.json b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/MCM/view.json index bbf17bf..0a5b514 100644 --- a/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/MCM/view.json +++ b/SCADA_PERSPECTIVE_PARENT_PROJECT/com.inductiveautomation.perspective/views/Symbol-Views/Equipment-Views/MCM/view.json @@ -423,37 +423,25 @@ }, "props": { "defaultSize": { - "height": 46, - "width": 68 + "height": 65, + "width": 100 } }, "root": { "children": [ { "meta": { - "name": "MCM" + "name": "Control cabinet" }, "position": { "height": 1, "width": 1 }, "propConfig": { - "props.elements[0].fill.paint": { + "props.elements[0].elements[1].fill.paint": { "binding": { "config": { - "expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#000000\",\r\n {view.custom.color}\r\n)\r\n" - }, - "type": "expr" - }, - "onChange": { - "enabled": false, - "script": "" - } - }, - "props.elements[1].style.fill": { - "binding": { - "config": { - "expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#FFFFFF\",\r\n \"#000000\"\r\n)\r\n" + "expression": "if(\r\n {view.custom.state} \u003d \"Closed\",\r\n \"#808080\",\r\n {view.custom.color}\r\n)\r\n" }, "type": "expr" } @@ -462,28 +450,50 @@ "props": { "elements": [ { - "d": "M 1 0 H 60 V 40 H 1 Z", - "fill": {}, - "name": "path", - "stroke": { - "paint": "#4c4c4c", - "width": 4 - }, - "type": "path" - }, - { - "style": { - "classes": "", - "fontWeight": "bold" - }, - "text": "MCM", - "type": "text", - "x": 11, - "y": 26 + "elements": [ + { + "elements": [ + { + "name": "polygon", + "points": "2.04 0.5 124.5 0.5 124.5 64.18 2.04 0.5", + "type": "polygon" + }, + { + "d": "M124,1V63.35L4.09,1H124m1-1H0L125,65V0Z", + "name": "path", + "type": "path" + } + ], + "fill": { + "paint": "#000000" + }, + "name": "group", + "type": "group" + }, + { + "elements": [ + { + "name": "polygon", + "points": "0.5 64.5 0.5 0.82 122.95 64.5 0.5 64.5", + "type": "polygon" + }, + { + "d": "M1,1.65,120.91,64H1V1.65M0,0V65H125L0,0Z", + "name": "path", + "type": "path" + } + ], + "fill": {}, + "name": "group", + "type": "group" + } + ], + "name": "group", + "type": "group" } ], "preserveAspectRatio": "none", - "viewBox": "-0.5 -0.5 62 41" + "viewBox": "0 0 125 65" }, "type": "ia.shapes.svg" } @@ -556,18 +566,9 @@ }, "type": "expr" } - }, - "meta.visible": { - "binding": { - "config": { - "path": "session.custom.alarm_filter.show_gateways" - }, - "type": "property" - } } }, "props": { - "aspectRatio": "68:47", "mode": "percent", "style": { "cursor": "pointer",