961 lines
31 KiB
Plaintext
961 lines
31 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"boxColor": "var(--olGray)",
|
|
"inputPower": 0,
|
|
"objectName": "CAM",
|
|
"outputPower": 0,
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Yard/SATB1_YARD_CAM-P1-1",
|
|
"textColor": "var(--olGray)",
|
|
"textHandler": {
|
|
"Breaker": {
|
|
"breaker1": "3000A",
|
|
"breaker2": "MOLDED",
|
|
"breaker3": "CASE",
|
|
"breaker4": "SWITCH",
|
|
"breaker5": "CAM"
|
|
},
|
|
"CAM": {
|
|
"CAM2": "300A,480V, 3PH, 3W",
|
|
"CAM3": "STDBY POWER SWITCH IN",
|
|
"CAM4": "WATERPROOF ENCLOSURE"
|
|
}
|
|
}
|
|
},
|
|
"propConfig": {
|
|
"params.boxColor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.inputPower": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.outputPower": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.params.inputPower} \u0026\u0026 !{/root/CAM.custom.BreakerTripped}\r\n,1,0)"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"paramDirection": "output",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.textColor": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.textHandler": {
|
|
"paramDirection": "inout",
|
|
"persistent": true
|
|
},
|
|
"params.textHandler.CAM.CAM1": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Parameters.DeviceLabel"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 90,
|
|
"width": 153
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 18,
|
|
"width": 91,
|
|
"x": 72.5,
|
|
"y": 3
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Meta/EqName"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--olGray)",
|
|
"fontSize": 15,
|
|
"fontWeight": "bold"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"custom": {
|
|
"colorHandler": {}
|
|
},
|
|
"meta": {
|
|
"name": "CAM"
|
|
},
|
|
"position": {
|
|
"height": 90,
|
|
"width": 153
|
|
},
|
|
"propConfig": {
|
|
"custom.BreakerTripped": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Alarms/Tripped"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn False\n\telse:\n\t\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.ColorHandler.Box": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.boxColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"custom.colorHandler.breakerIn": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "concat(\u0027var(\u0027,\r\nif({view.params.inputPower},\u0027--olRed\u0027,\u0027--olGreen\u0027)\r\n,\u0027)\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"custom.colorHandler.breakerOut": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"BreakerTripped": "{this.custom.BreakerTripped}",
|
|
"PowerIN": "{view.params.inputPower}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "if({value}[\u0027PowerIN\u0027] \u0026\u0026 !{value}[\u0027BreakerTripped\u0027],\u0027var(--olRed)\u0027,\u0027var(--olGreen)\u0027)",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"props.elements[0].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[0].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.BreakerTripped"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "visible",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "hidden"
|
|
},
|
|
{
|
|
"input": false,
|
|
"output": "visible"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[1].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerIn"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[2].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[3].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.colorHandler.breakerOut"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[3].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "this.custom.BreakerTripped"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "visible",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "visible"
|
|
},
|
|
{
|
|
"input": false,
|
|
"output": "hidden"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[0].elements[4].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].stroke": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.boxColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[1].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[1].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.CAM.CAM1"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[3].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[3].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.CAM.CAM2"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[5].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[5].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.CAM.CAM3"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[7].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[7].text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textHandler.CAM.CAM4"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].fill": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.textColor"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].elements[0].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "case(\r\n\t{/root.custom.alarmSeverity},\r\n\t1, \"var(--coolpurple)\",\r\n\t2, \"var(--goldenyellow)\",\r\n\t3, \"var(--sunsetorange)\",\r\n\t4, \"var(--alarmred)\",\r\n\t\"transparent\"\r\n)\t"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[1].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "case(\r\n\t{/root.custom.alarmSeverity},\r\n\t1, \"var(--coolpurple)\",\r\n\t2, \"var(--goldenyellow)\",\r\n\t3, \"var(--sunsetorange)\",\r\n\t4, \"var(--alarmred)\",\r\n\t\"transparent\"\r\n)\t"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[2].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[3].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d3,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[4].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d2,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[5].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d1,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[6].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.elements[3].elements[7].visibility": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "\r\nif({/root.custom.alarmSeverity}!\u003d4,\u0027hidden\u0027,\u0027visible\u0027)\r\n"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M31.125,43.125c1.261,1.2 1.896,2.695 1.87,4.5c0.009,2.094 -0.591,3.616 -1.87,4.5",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"cx": 30,
|
|
"cy": "43.125",
|
|
"fill": {},
|
|
"name": "circle",
|
|
"r": "1.125",
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"cx": 30,
|
|
"cy": "52.125",
|
|
"fill": {},
|
|
"name": "circle",
|
|
"r": "1.125",
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"d": "M34.785,43.125c1.262,1.2 1.897,2.695 1.871,4.5c0.008,2.094 -0.592,3.616 -1.871,4.5",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"width": "0.75px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(3.33333,0,0,3.33333,38.5303,41.0409)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "3.333px"
|
|
},
|
|
"text": "CAM",
|
|
"type": "text",
|
|
"x": "31.123px",
|
|
"y": "41.041px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,18.0005,41.688)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"text": "3000A",
|
|
"type": "text",
|
|
"x": "5.952px",
|
|
"y": "41.688px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,23.7785,45.438)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"text": "MOLDED",
|
|
"type": "text",
|
|
"x": "5.952px",
|
|
"y": "45.438px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,17.2986,49.188)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"text": "CASE",
|
|
"type": "text",
|
|
"x": "5.952px",
|
|
"y": "49.188px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(4.16667,0,0,4.16667,22.3848,52.938)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"text": "SWITCH",
|
|
"type": "text",
|
|
"x": "5.952px",
|
|
"y": "52.938px"
|
|
}
|
|
],
|
|
"id": "Text",
|
|
"name": "Text",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "CB",
|
|
"name": "CB",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"opacity": "0",
|
|
"paint": "#ebebeb"
|
|
},
|
|
"height": "52.515",
|
|
"id": "Ext",
|
|
"name": "Ext",
|
|
"stroke": {
|
|
"dasharray": "7.5,3,2.25,3,0,0",
|
|
"linecap": "square",
|
|
"width": "0.75px"
|
|
},
|
|
"type": "rect",
|
|
"width": "45",
|
|
"x": "3.75",
|
|
"y": "11.235"
|
|
},
|
|
{
|
|
"fill": {
|
|
"opacity": "0"
|
|
},
|
|
"height": "18.229",
|
|
"id": "Int02",
|
|
"name": "Int02",
|
|
"stroke": {
|
|
"linejoin": "miter",
|
|
"miterlimit": "1",
|
|
"width": "0.38px"
|
|
},
|
|
"type": "rect",
|
|
"width": "15.666",
|
|
"x": "24.227",
|
|
"y": "37.174"
|
|
},
|
|
{
|
|
"fill": {
|
|
"opacity": "0"
|
|
},
|
|
"height": "8.375",
|
|
"id": "Int01",
|
|
"name": "Int01",
|
|
"stroke": {
|
|
"linejoin": "miter",
|
|
"miterlimit": "1",
|
|
"width": "0.38px"
|
|
},
|
|
"type": "rect",
|
|
"width": "15.666",
|
|
"x": "24.227",
|
|
"y": "28.799"
|
|
}
|
|
],
|
|
"id": "Box",
|
|
"name": "Box",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"id": "Line1",
|
|
"name": "Line1",
|
|
"transform": "matrix(4.16667,0,0,4.16667,74.3369,14.2834)",
|
|
"type": "group",
|
|
"visibility": "visible"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027Arial-BoldMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "12px",
|
|
"fontWeight": "700"
|
|
},
|
|
"text": "",
|
|
"type": "text",
|
|
"x": "55.355px",
|
|
"y": "14.283px"
|
|
},
|
|
{
|
|
"id": "Line2",
|
|
"name": "Line2",
|
|
"transform": "matrix(4.16667,0,0,4.16667,95.7582,18.0334)",
|
|
"type": "group",
|
|
"visibility": "visible"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "tspan",
|
|
"text": "",
|
|
"type": "tspan",
|
|
"x": "76.772px 77.93px ",
|
|
"y": "18.033px 18.033px "
|
|
}
|
|
],
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "55.377px",
|
|
"y": "18.033px"
|
|
},
|
|
{
|
|
"id": "Line3",
|
|
"name": "Line3",
|
|
"transform": "matrix(4.16667,0,0,4.16667,114.474,21.7834)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "tspan",
|
|
"text": "",
|
|
"type": "tspan",
|
|
"x": "60.38px 63.159px ",
|
|
"y": "21.783px 21.783px "
|
|
}
|
|
],
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "55.365px",
|
|
"y": "21.783px"
|
|
},
|
|
{
|
|
"id": "Line4",
|
|
"name": "Line4",
|
|
"transform": "matrix(4.16667,0,0,4.16667,111.987,25.5334)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "tspan",
|
|
"text": "",
|
|
"type": "tspan",
|
|
"x": "59.28px 61.749px 64.295px ",
|
|
"y": "25.533px 25.533px 25.533px "
|
|
}
|
|
],
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "4.167px"
|
|
},
|
|
"type": "text",
|
|
"x": "55.501px",
|
|
"y": "25.533px"
|
|
}
|
|
],
|
|
"id": "TagPlate",
|
|
"name": "TagPlate",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"opacity": "0"
|
|
},
|
|
"height": "60",
|
|
"id": "AlarmBorder",
|
|
"name": "AlarmBorder",
|
|
"type": "rect",
|
|
"width": "52.5",
|
|
"x": "0",
|
|
"y": "7.5"
|
|
},
|
|
{
|
|
"d": "M52.5,7.5l-0,60l-52.5,0l0,-60l52.5,-0Zm-0.75,0.75c0,-0 -51,-0 -51,0l-0,58.5c-0,-0 51,0 51,-0l0,-58.5Z",
|
|
"fill": {},
|
|
"name": "path",
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M52.858,0.648l6.489,6.489c0.199,0.199 0.199,0.522 0,0.721l-6.489,6.489c-0.199,0.199 -0.522,0.199 -0.721,0l-6.489,-6.489c-0.199,-0.199 -0.199,-0.522 -0,-0.721l6.489,-6.489c0.199,-0.199 0.522,-0.199 0.721,-0Z",
|
|
"fill": {
|
|
"paint": "#de7c33"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M52.163,8.96l-0.351,-4.735l1.371,0l-0.34,4.735l-0.68,-0Zm-0.318,1.81l0,-1.105l1.305,0l0,1.105l-1.305,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M51.855,1.849c0.134,-0.227 0.378,-0.367 0.643,-0.367c0.264,-0 0.508,0.14 0.642,0.367c1.411,2.401 4.768,8.113 6.195,10.541c0.136,0.231 0.137,0.516 0.005,0.748c-0.133,0.232 -0.38,0.375 -0.647,0.375l-12.39,0c-0.268,0 -0.515,-0.143 -0.647,-0.375c-0.133,-0.232 -0.131,-0.517 0.004,-0.748c1.427,-2.428 4.784,-8.14 6.195,-10.541Z",
|
|
"fill": {
|
|
"paint": "#f4b834"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M52.126,9.942l-0.389,-4.988l1.521,0l-0.377,4.988l-0.755,-0Zm-0.353,1.907l0,-1.164l1.449,0l-0,1.164l-1.449,-0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M57.307,1.181l-0,12.633c-0,0.265 -0.216,0.481 -0.481,0.481l-8.657,-0c-0.265,-0 -0.48,-0.216 -0.48,-0.481l-0,-12.633c-0,-0.265 0.215,-0.48 0.48,-0.48l8.657,-0c0.265,-0 0.481,0.215 0.481,0.48Z",
|
|
"fill": {
|
|
"paint": "#7166b7"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M52.126,9.042l-0.389,-5.001l1.521,-0l-0.377,5.001l-0.755,0Zm-0.353,1.912l0,-1.167l1.449,0l-0,1.167l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"cx": "52.498",
|
|
"cy": "7.498",
|
|
"fill": {
|
|
"paint": "#e22028"
|
|
},
|
|
"name": "circle",
|
|
"r": "7.198",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "0.48px"
|
|
},
|
|
"type": "circle"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M50.712,9.232l-0.389,-5.617l1.521,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l0,-1.31l1.449,-0l-0,1.31l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"d": "M53.597,9.232l-0.389,-5.617l1.521,-0l-0.377,5.617l-0.755,0Zm-0.353,2.148l0,-1.31l1.449,-0l-0,1.31l-1.449,0Z",
|
|
"fill": {
|
|
"paint": "#fff",
|
|
"rule": "nonzero"
|
|
},
|
|
"name": "path",
|
|
"type": "path"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "AlarmItems",
|
|
"name": "AlarmItems",
|
|
"type": "group",
|
|
"visibility": "visible"
|
|
}
|
|
],
|
|
"fill": {
|
|
"rule": "evenodd"
|
|
},
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5"
|
|
},
|
|
"style": {
|
|
"clipRule": "evenodd"
|
|
},
|
|
"viewBox": "0 0 115 68"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
}
|
|
],
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tpageId \u003d self.page.props.pageId\n\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tutils.nav.openEQPopup(objectName, tagPath)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"propConfig": {
|
|
"custom.alarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/HoverOver",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |