1027 lines
28 KiB
Plaintext
1027 lines
28 KiB
Plaintext
{
|
|
"custom": {
|
|
"AlarmSeverity": 0,
|
|
"anyFan": false,
|
|
"colorHandler": {
|
|
"lines": "var(--olGray)",
|
|
"text": "var(--olGray)"
|
|
},
|
|
"fan_1": 1,
|
|
"fan_2": 1,
|
|
"fan_3": 1
|
|
},
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "CRAH",
|
|
"tagPath": "[Ignition_SATB1_IO1_default]ER1243/SATB1_P1_2_ER1243_CRAH_01"
|
|
},
|
|
"propConfig": {
|
|
"custom.AlarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d alarm.summary.calcMaxPriority(self.view.params.tagPath)\n\tif output is None:\n\t\toutput \u003d 1\n\treturn output",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.anyFan": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"Fan1": "{view.custom.fan_1}",
|
|
"Fan2": "{view.custom.fan_2}",
|
|
"Fan3": "{view.custom.fan_3}",
|
|
"update": "now(5000)"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tf1 \u003d value[\u0027Fan1\u0027]\n\tf2 \u003d value[\u0027Fan2\u0027]\n\tf3 \u003d value[\u0027Fan3\u0027]\n\tif (f1 is True) or (f2 is True) or (f3 is True):\n\t\treturn True\n\telse:\n\t\treturn False",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.colorHandler": {
|
|
"persistent": true
|
|
},
|
|
"custom.fan_1": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan 1 Status"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.fan_2": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan 2 Status"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.fan_3": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan 3 Status"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.embedded": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 600,
|
|
"width": 300
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "CRAH"
|
|
},
|
|
"position": {
|
|
"height": 546,
|
|
"width": 184,
|
|
"x": 82,
|
|
"y": 27
|
|
},
|
|
"propConfig": {
|
|
"props.elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.colorHandler.lines"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[1].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.colorHandler.lines"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[2].elements[0].stroke.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.colorHandler.lines"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.elements[3].fill.paint": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.anyFan"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": null,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": true,
|
|
"output": "var(--state-running)"
|
|
},
|
|
{
|
|
"input": false,
|
|
"output": "var(--state-standby)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elements": [
|
|
{
|
|
"d": "M69.021,2237.92l389.773,0l77.531,-116.085l-77.531,-116.084l-154.638,-0l-0,-1783.85l-117.568,79.967l-117.567,-79.967l-0,2016.02Z",
|
|
"fill": {
|
|
"paint": "var(--containerNested)"
|
|
},
|
|
"id": "CRAH-Box",
|
|
"name": "CRAH-Box",
|
|
"stroke": {
|
|
"paint": "var(--text-muted)",
|
|
"width": "4.17px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"paint": "#ebebeb"
|
|
},
|
|
"height": "262.671",
|
|
"name": "rect",
|
|
"stroke": {
|
|
"width": "4.17px"
|
|
},
|
|
"type": "rect",
|
|
"width": "233.652",
|
|
"x": "69.021",
|
|
"y": "824.952"
|
|
}
|
|
],
|
|
"id": "CHW-Cooling-Coil",
|
|
"name": "CHW-Cooling-Coil",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"fill": {
|
|
"paint": "#ebebeb"
|
|
},
|
|
"height": "80.497",
|
|
"name": "rect",
|
|
"stroke": {
|
|
"width": "4.17px"
|
|
},
|
|
"type": "rect",
|
|
"width": "233.652",
|
|
"x": "69.021",
|
|
"y": "530.189"
|
|
},
|
|
{
|
|
"d": "M185.847,610.685l58.413,-80.496l58.413,80.496",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "4.17px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M69.021,610.685l58.413,-80.496l58.413,80.496",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "4.17px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"d": "M69.021,570.437l233.652,-0",
|
|
"fill": {
|
|
"paint": "transparent"
|
|
},
|
|
"name": "path",
|
|
"stroke": {
|
|
"paint": "#000",
|
|
"width": "4.17px"
|
|
},
|
|
"type": "path"
|
|
}
|
|
],
|
|
"id": "Heater",
|
|
"name": "Heater",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"d": "M187.771,1795.36c-63.241,-0 -114.584,-51.343 -114.584,-114.584c0,-63.24 51.343,-114.583 114.584,-114.583c63.24,0 114.583,51.343 114.583,114.583l0,174.266l-114.583,0l-0,-59.682Z",
|
|
"fill": {
|
|
"paint": "var(--state-running)"
|
|
},
|
|
"id": "Fan",
|
|
"name": "Fan",
|
|
"stroke": {
|
|
"paint": "black",
|
|
"width": "4.17px"
|
|
},
|
|
"type": "path"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,666.922,268.877)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,205.595,911.638)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "50px"
|
|
},
|
|
"text": "CHW",
|
|
"type": "text",
|
|
"x": "86.186px",
|
|
"y": "911.638px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,257.042,969.413)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "50px"
|
|
},
|
|
"text": "Cooling",
|
|
"type": "text",
|
|
"x": "87.486px",
|
|
"y": "969.413px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,173.619,1036.19)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "50px"
|
|
},
|
|
"text": "Coil",
|
|
"type": "text",
|
|
"x": "87.486px",
|
|
"y": "1036.19px"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,735.72,930.793)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,738.479,1137.05)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"elements": [
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,232.928,1666.75)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "50px"
|
|
},
|
|
"text": "Fan",
|
|
"type": "text",
|
|
"x": "146.771px",
|
|
"y": "1666.75px"
|
|
},
|
|
{
|
|
"name": "group",
|
|
"transform": "matrix(50,0,0,50,239.788,1717.62)",
|
|
"type": "group"
|
|
},
|
|
{
|
|
"name": "text",
|
|
"style": {
|
|
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
|
|
"fontSize": "50px"
|
|
},
|
|
"text": "(SF)",
|
|
"type": "text",
|
|
"x": "142.596px",
|
|
"y": "1717.62px"
|
|
}
|
|
],
|
|
"name": "group",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"id": "Text-Elements",
|
|
"name": "Text-Elements",
|
|
"type": "group"
|
|
}
|
|
],
|
|
"fill": {
|
|
"rule": "evenodd"
|
|
},
|
|
"stroke": {
|
|
"linecap": "round",
|
|
"linejoin": "round",
|
|
"miterlimit": "1.5"
|
|
},
|
|
"style": {
|
|
"clipRule": "evenodd"
|
|
},
|
|
"viewBox": "0 0 767 2275"
|
|
},
|
|
"type": "ia.shapes.svg"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "CHW Valve"
|
|
},
|
|
"position": {
|
|
"height": 93,
|
|
"width": "auto",
|
|
"x": 161,
|
|
"y": 182
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"Layout": true,
|
|
"objectName": "value",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]Common/Roof/CV31"
|
|
},
|
|
"path": "Library/Symbols/Mechanical/Sym_ValveC"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "RA Humidity"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 90,
|
|
"x": 7,
|
|
"y": 243.018
|
|
},
|
|
"propConfig": {
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/CHW Valve Command"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "%",
|
|
"EU_Pos": 0,
|
|
"Size": 12,
|
|
"Value": 27.1
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "RA Temp"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 90,
|
|
"x": 7,
|
|
"y": 125.02
|
|
},
|
|
"propConfig": {
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Return Air Temperature"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "degF",
|
|
"EU_Pos": 0,
|
|
"Size": 12,
|
|
"Value": 70.5
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "RA DP"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 90,
|
|
"x": 7,
|
|
"y": 98.0023
|
|
},
|
|
"propConfig": {
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Return Air Humidity"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "%RH",
|
|
"EU_Pos": 0,
|
|
"Size": 12,
|
|
"Value": 46.1,
|
|
"color": "var(--tagvalue-color)"
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Fan Speed"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 90,
|
|
"x": 7,
|
|
"y": 420.1
|
|
},
|
|
"propConfig": {
|
|
"custom.s1": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan Speed 1"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.s2": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan Speed 2"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"custom.s3": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Fan Speed 3"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"s1": "{this.custom.s1}",
|
|
"s2": "{this.custom.s2}",
|
|
"s3": "{this.custom.s3}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tarray \u003d []\n\tarray.append(value[\u0027s1\u0027])\n\tarray.append(value[\u0027s2\u0027])\n\tarray.append(value[\u0027s3\u0027])\n\treturn max(array)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "%",
|
|
"EU_Pos": 0,
|
|
"Size": 12,
|
|
"Value": 60
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "SA Temp"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 90,
|
|
"x": 196,
|
|
"y": 481.031
|
|
},
|
|
"propConfig": {
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Supply Air Temperature"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "degF",
|
|
"EU_Pos": 0,
|
|
"Size": 12,
|
|
"Value": 69.7
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_3"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 93,
|
|
"x": 161,
|
|
"y": 420.1
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.anyFan"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "Fan Stopped"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "Fan Running"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_4"
|
|
},
|
|
"position": {
|
|
"height": 35,
|
|
"width": 93,
|
|
"x": 4,
|
|
"y": 483
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Alarms/Leak Detected"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": "error",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "No Leak detected"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "Leak detected"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "No leak detected",
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_5"
|
|
},
|
|
"position": {
|
|
"height": 25,
|
|
"width": 93,
|
|
"x": 167,
|
|
"y": 145
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Dirty Filter"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"fallback": null,
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": false,
|
|
"output": "Filter OK"
|
|
},
|
|
{
|
|
"input": true,
|
|
"output": "Filter Dirty"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "Filter OK",
|
|
"textStyle": {
|
|
"color": "var(--tagvalue-color)",
|
|
"fontSize": 12,
|
|
"textAlign": "start"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tif(self.view.params.embedded \u003d\u003d True):\n\t\tpageId \u003d self.page.props.pageId\n\t\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tutils.nav.openEQPopup(objectName, tagPath)\n\telse:\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tpayload\u003d{\n\t\t\t\u0027objectName\u0027: objectName,\n\t\t\t\u0027tagPath\u0027: tagPath,\n\t\t\t\u0027modal\u0027: False,\n\t\t\t\u0027resizable\u0027: True,\n\t\t\t\u0027draggable\u0027: True,\n\t\t\t\u0027position\u0027: {\n\t#\t\t\t\u0027left\u0027:\u00270\u0027,\n\t#\t\t\t\u0027top\u0027:\u00270\u0027,\n\t\t\t\u0027width\u0027: \u00271000px\u0027,\n\t\t\t\u0027height\u0027: \u0027800px\u0027\n\t\t\t}\n\t\t}\n\t\tutils.nav.eqPopupMsg(self, payload)\n\t\n\t"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"height": 510,
|
|
"width": 140,
|
|
"x": 82,
|
|
"y": 67.02
|
|
},
|
|
"propConfig": {
|
|
"props.style.outlineColor": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSeverity"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "none",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": -1,
|
|
"output": "white"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "white"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "var(--coolpurple)"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "var(--goldenyellow)"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "var(--sunsetorange)"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "var(--alarmred)"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.outlineStyle": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSeverity"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"fallback": "none",
|
|
"inputType": "scalar",
|
|
"mappings": [
|
|
{
|
|
"input": -1,
|
|
"output": "none"
|
|
},
|
|
{
|
|
"input": 0,
|
|
"output": "none"
|
|
},
|
|
{
|
|
"input": 1,
|
|
"output": "solid"
|
|
},
|
|
{
|
|
"input": 2,
|
|
"output": "solid"
|
|
},
|
|
{
|
|
"input": 3,
|
|
"output": "solid"
|
|
},
|
|
{
|
|
"input": 4,
|
|
"output": "solid"
|
|
}
|
|
],
|
|
"outputType": "scalar",
|
|
"type": "map"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"classes": "containers/HoverOver"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "AlarmIcons"
|
|
},
|
|
"position": {
|
|
"height": 45,
|
|
"width": 38,
|
|
"x": 204,
|
|
"y": 42.5156
|
|
},
|
|
"propConfig": {
|
|
"props.params.AlarmSeverity": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.AlarmSeverity"
|
|
},
|
|
"enabled": false,
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"AlarmSeverity": 0
|
|
},
|
|
"path": "Library/Alarms/Icons"
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Label_0"
|
|
},
|
|
"position": {
|
|
"height": 32,
|
|
"width": 207,
|
|
"x": 52,
|
|
"y": 35.02
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/Meta/EqName"
|
|
},
|
|
"enabled": false,
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"text": "CRAH01"
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--container)",
|
|
"borderBottomLeftRadius": "var(--borderRadius)",
|
|
"borderBottomRightRadius": "var(--borderRadius)",
|
|
"borderTopLeftRadius": "var(--borderRadius)",
|
|
"borderTopRightRadius": "var(--borderRadius)",
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.coord"
|
|
}
|
|
} |