{ "custom": {}, "params": { "boxColor": "var(--olGray)", "inputPower": 1, "outputPower": 1, "tagPath": "", "textColor": "var(--olGray)" }, "propConfig": { "params.boxColor": { "paramDirection": "input", "persistent": true }, "params.inputPower": { "paramDirection": "input", "persistent": true }, "params.outputPower": { "paramDirection": "input", "persistent": true }, "params.tagPath": { "paramDirection": "input", "persistent": true }, "params.textColor": { "paramDirection": "input", "persistent": true } }, "props": { "defaultSize": { "height": 90, "width": 109 } }, "root": { "children": [ { "custom": { "ColorHandler": {} }, "meta": { "name": "FP_DS" }, "position": { "height": 90, "width": 109 }, "propConfig": { "custom.ColorHandler.Box": { "binding": { "config": { "path": "view.params.boxColor" }, "type": "property" } }, "custom.ColorHandler.Bus": { "binding": { "config": { "path": "view.params.inputPower" }, "transforms": [ { "fallback": "purple", "inputType": "scalar", "mappings": [ { "input": 0, "output": "var(--elec-off)" }, { "input": 1, "output": "var(--elec-on)" } ], "outputType": "scalar", "type": "map" } ], "type": "property" } }, "custom.ColorHandler.CB": { "binding": { "config": { "expression": "concat(\u0027var(\u0027,\r\nif({view.params.inputPower} \r\n//\u0026\u0026 tag(tostr({view.params.tagPath}+\u0027/Alarms/tagname\u0027))\r\n,\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)" }, "type": "expr" } }, "custom.ColorHandler.text": { "binding": { "config": { "path": "view.params.textColor" }, "type": "property" } }, "props.elements[1].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Box" }, "type": "property" } }, "props.elements[2].elements[0].elements[1].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Box" }, "type": "property" } }, "props.elements[2].elements[0].elements[3].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Box" }, "type": "property" } }, "props.elements[2].elements[0].elements[5].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Box" }, "type": "property" } }, "props.elements[2].elements[1].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.CB" }, "type": "property" } }, "props.elements[2].elements[2].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.CB" }, "type": "property" } }, "props.elements[2].elements[3].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.CB" }, "type": "property" } }, "props.elements[2].elements[4].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.CB" }, "enabled": false, "type": "property" } }, "props.elements[2].elements[5].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[3].elements[1].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.text" }, "type": "property" } }, "props.elements[3].elements[3].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.text" }, "type": "property" } }, "props.elements[3].elements[5].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.text" }, "type": "property" } }, "props.elements[3].elements[7].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.text" }, "type": "property" } }, "props.elements[4].elements[1].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[4].elements[3].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[4].elements[5].fill": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[4].elements[6].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[4].elements[7].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } }, "props.elements[4].elements[8].stroke.paint": { "binding": { "config": { "path": "this.custom.ColorHandler.Bus" }, "type": "property" } } }, "props": { "elements": [ { "fill": { "opacity": "0" }, "height": "67.5", "id": "Box", "name": "Box", "type": "rect", "width": "37.5", "x": "0", "y": "0" }, { "d": "M0,4.018l0,-4.018l4.464,0l0,0.75l-3.714,-0l-0,3.268l-0.75,-0Zm10.714,-4.018l0,0.75l-2.678,0l-0,-0.75l2.678,0Zm12.5,0l0,0.75l-8.928,0l-0,-0.75l8.928,0Zm6.25,0l0,0.75l-2.678,0l-0,-0.75l2.678,0Zm8.036,4.018l-0.75,-0l0,-3.268l-3.714,0l-0,-0.75l4.464,0l0,4.018Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm0,11.25l-0.75,-0l0,-8.036l0.75,0l0,8.036Zm0,5.625l-0.75,-0l0,-2.411l0.75,0l0,2.411Zm-4.464,7.232l-0,-0.75l3.714,0l0,-3.268l0.75,0l0,4.018l-4.464,0Zm-6.25,0l-0,-0.75l2.678,0l0,0.75l-2.678,0Zm-12.5,0l-0,-0.75l8.928,0l0,0.75l-8.928,0Zm-6.25,0l-0,-0.75l2.678,0l0,0.75l-2.678,0Zm-8.036,-4.018l0.75,0l-0,3.268l3.714,0l0,0.75l-4.464,0l0,-4.018Zm0,-5.625l0.75,0l-0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l-0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l-0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l-0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l-0,2.411l-0.75,-0l0,-2.411Zm0,-11.25l0.75,0l-0,8.036l-0.75,-0l0,-8.036Zm0,-5.625l0.75,0l-0,2.411l-0.75,-0l0,-2.411Z", "name": "path", "type": "path" }, { "elements": [ { "elements": [ { "name": "group", "transform": "matrix(4.16667,0,0,4.16667,24.9004,12.3698)", "type": "group" }, { "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "250AF", "type": "text", "x": "12.624px", "y": "12.37px" }, { "name": "group", "transform": "matrix(4.16667,0,0,4.16667,24.5911,16.1198)", "type": "group" }, { "elements": [ { "name": "tspan", "text": "T", "type": "tspan", "x": "22.046px ", "y": "16.12px " } ], "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "250A", "type": "text", "x": "12.624px", "y": "16.12px" }, { "name": "group", "transform": "matrix(4.16667,0,0,4.16667,27.2642,19.9105)", "type": "group" }, { "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "LSI, NO", "type": "text", "x": "12.445px", "y": "19.91px" } ], "id": "Text", "name": "Text", "type": "group" }, { "d": "M30.068,10.418c1.262,1.2 1.897,2.695 1.871,4.5c0.009,2.095 -0.592,3.616 -1.871,4.5", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "width": "0.75px" }, "type": "path" }, { "d": "M28.943,9.293c0.621,0 1.125,0.504 1.125,1.125c0,0.621 -0.504,1.125 -1.125,1.125c-0.62,0 -1.125,-0.504 -1.125,-1.125c0,-0.621 0.505,-1.125 1.125,-1.125Zm0,0.75c-0.207,0 -0.375,0.168 -0.375,0.375c0,0.207 0.168,0.375 0.375,0.375c0.207,0 0.375,-0.168 0.375,-0.375c0,-0.207 -0.168,-0.375 -0.375,-0.375Z", "name": "path", "type": "path" }, { "d": "M28.943,18.293c0.621,0 1.125,0.504 1.125,1.125c0,0.621 -0.504,1.125 -1.125,1.125c-0.62,0 -1.125,-0.504 -1.125,-1.125c0,-0.621 0.505,-1.125 1.125,-1.125Zm0,0.75c-0.207,0 -0.375,0.168 -0.375,0.375c0,0.207 0.168,0.375 0.375,0.375c0.207,0 0.375,-0.168 0.375,-0.375c0,-0.207 -0.168,-0.375 -0.375,-0.375Z", "name": "path", "type": "path" }, { "d": "M33.729,10.418c1.261,1.2 1.896,2.695 1.87,4.5c0.009,2.095 -0.592,3.616 -1.87,4.5", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "paint": "var(--elec-off)", "width": "0.75px" }, "type": "path", "visibility": "hidden" }, { "d": "M28.943,33.75l0,-13.509", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linecap": "butt", "linejoin": "bevel", "miterlimit": "1", "width": "0.75px" }, "type": "path" } ], "id": "CB", "name": "CB", "type": "group" }, { "elements": [ { "id": "Line1", "name": "Line1", "transform": "matrix(4.16667,0,0,4.16667,61.345,47.8121)", "type": "group" }, { "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "FIRE PUMP", "type": "text", "x": "38.658px", "y": "47.812px" }, { "id": "Line2", "name": "Line2", "transform": "matrix(4.16667,0,0,4.16667,76.7197,51.615)", "type": "group" }, { "elements": [ { "name": "tspan", "text": "", "type": "tspan", "x": "64.297px 66.767px 69.312px ", "y": "51.615px 51.615px 51.615px " } ], "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "DOCKING STON", "type": "text", "x": "38.679px", "y": "51.615px" }, { "id": "Line3", "name": "Line3", "transform": "matrix(4.16667,0,0,4.16667,70.6898,55.3243)", "type": "group" }, { "elements": [ { "name": "tspan", "text": ", ", "type": "tspan", "x": "60.269px 61.427px ", "y": "55.324px 55.324px " } ], "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "250A, 480V3PH", "type": "text", "x": "38.874px", "y": "55.324px" }, { "id": "Line4", "name": "Line4", "transform": "matrix(4.16667,0,0,4.16667,61.9818,59.113)", "type": "group" }, { "elements": [ { "name": "tspan", "text": ", ", "type": "tspan", "x": "44.845px 46.003px ", "y": "59.113px 59.113px " } ], "name": "text", "style": { "fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027", "fontSize": "4.167px" }, "text": "3W65 kAIC", "type": "text", "x": "38.825px", "y": "59.113px" } ], "id": "TagPlate", "name": "TagPlate", "type": "group" }, { "elements": [ { "cx": "28.943", "cy": "33.75", "name": "circle", "r": "1.125", "type": "circle" }, { "d": "M28.943,32.625c0.621,0 1.125,0.505 1.125,1.125c0,0.621 -0.504,1.125 -1.125,1.125c-0.62,0 -1.125,-0.504 -1.125,-1.125c0,-0.62 0.505,-1.125 1.125,-1.125Zm0,0.75c-0.207,0 -0.375,0.169 -0.375,0.375c0,0.207 0.168,0.375 0.375,0.375c0.207,0 0.375,-0.168 0.375,-0.375c0,-0.206 -0.168,-0.375 -0.375,-0.375Z", "name": "path", "type": "path" }, { "cx": "18.743", "cy": "33.75", "name": "circle", "r": "1.125", "type": "circle" }, { "d": "M18.743,32.625c0.621,-0 1.125,0.504 1.125,1.125c-0,0.621 -0.504,1.125 -1.125,1.125c-0.621,-0 -1.125,-0.504 -1.125,-1.125c-0,-0.621 0.504,-1.125 1.125,-1.125Zm-0,0.75c-0.207,-0 -0.375,0.168 -0.375,0.375c-0,0.207 0.168,0.375 0.375,0.375c0.207,-0 0.375,-0.168 0.375,-0.375c-0,-0.207 -0.168,-0.375 -0.375,-0.375Z", "name": "path", "type": "path" }, { "cx": "8.702", "cy": "33.75", "name": "circle", "r": "1.125", "type": "circle" }, { "d": "M8.702,32.625c0.621,0 1.125,0.505 1.125,1.125c0,0.621 -0.504,1.125 -1.125,1.125c-0.621,0 -1.125,-0.504 -1.125,-1.125c0,-0.62 0.504,-1.125 1.125,-1.125Zm0,0.75c-0.207,0 -0.375,0.169 -0.375,0.375c0,0.207 0.168,0.375 0.375,0.375c0.207,0 0.375,-0.168 0.375,-0.375c0,-0.206 -0.168,-0.375 -0.375,-0.375Z", "name": "path", "type": "path" }, { "d": "M2.105,30.75l-0,6", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "miter", "miterlimit": "10", "width": "0.75px" }, "type": "path" }, { "d": "M35.38,30.75l0,6", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "miter", "miterlimit": "10", "width": "0.75px" }, "type": "path" }, { "d": "M2.105,33.75l33.275,-0", "fill": { "paint": "transparent" }, "name": "path", "stroke": { "linejoin": "miter", "miterlimit": "1", "width": "0.75px" }, "type": "path" } ], "id": "Bus", "name": "Bus", "type": "group" } ], "fill": { "rule": "evenodd" }, "stroke": { "linecap": "round", "linejoin": "round", "miterlimit": "1.5" }, "style": { "clipRule": "evenodd" }, "viewBox": "0 0 82 68" }, "type": "ia.shapes.svg" } ], "meta": { "name": "root" }, "type": "ia.container.coord" } }