Files
Stream_PHX_A7/Gateways/FE/projects/.resources/59cf9634f998fa1af78bf0e7d4b995f20061f02bae9bdd7a5604802043cc7e65

1083 lines
33 KiB
Plaintext

{
"custom": {
"AlarmSeverity": 0,
"Postion": {
"Closed": 0,
"Faulted": 0,
"Open": 1
},
"Status": 2,
"Val": "Open",
"colorHandler": {},
"tag": "Valve"
},
"params": {
"Layout": 1,
"objectName": "value",
"tagPath": "[Ignition_Common_IO_Gtwy]DH1/SATB1_DH1260_FCV69"
},
"propConfig": {
"custom.AlarmSeverity": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/AlarmSummary/ActiveAlarms"
},
"enabled": false,
"transforms": [
{
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.Postion": {
"persistent": true
},
"custom.Postion.Closed": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Status Closed"
},
"enabled": false,
"type": "tag"
}
},
"custom.Postion.Faulted": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarms/Alarm Summary"
},
"enabled": false,
"type": "tag"
}
},
"custom.Postion.Open": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Status Open"
},
"enabled": false,
"type": "tag"
}
},
"custom.Status": {
"binding": {
"config": {
"expression": "binEnum({view.custom.Postion.Closed},{view.custom.Postion.Open},{view.custom.Postion.Faulted})\r\n\t "
},
"type": "expr"
},
"persistent": true
},
"custom.Val": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "Actuating"
},
{
"input": 1,
"output": "Closed"
},
{
"input": 2,
"output": "Open"
},
{
"input": 3,
"output": "Faulted"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"custom.colorHandler": {
"persistent": true
},
"custom.colorHandler.text": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "black"
},
{
"input": 1,
"output": "black"
},
{
"input": 2,
"output": "black"
},
{
"input": 3,
"output": "white"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"custom.colorHandler.valve": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "var(--state-auto)"
},
{
"input": 1,
"output": "var(--state-standby)"
},
{
"input": 2,
"output": "var(--state-running)"
},
{
"input": 3,
"output": "var(--state-faulted)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"custom.tag": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Meta/EqName"
},
"enabled": false,
"type": "tag"
},
"persistent": true
},
"params.Layout": {
"paramDirection": "input",
"persistent": true
},
"params.objectName": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 75,
"width": 84
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Val"
},
"position": {
"height": 10,
"width": 40,
"x": 2,
"y": 61
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Valve Position Feedback"
},
"enabled": false,
"transforms": [
{
"formatType": "numeric",
"formatValue": "##0.#",
"type": "format"
}
],
"type": "tag"
}
}
},
"props": {
"text": 30,
"textStyle": {
"color": "var(--tagvalue-color)",
"fontFamily": "inherit",
"fontSize": 12,
"textAlign": "end"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Tag"
},
"position": {
"height": 15,
"width": 74,
"x": 3
},
"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": "Valve",
"textStyle": {
"fontFamily": "Arial",
"fontSize": 12,
"textAlign": "center"
}
},
"type": "ia.display.label"
},
{
"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": "Valve_Vertical"
},
"position": {
"height": 50,
"width": 50,
"x": 15,
"y": 12
},
"propConfig": {
"props.elements[0].elements[0].fill.paint": {
"binding": {
"config": {
"path": "view.custom.colorHandler.valve"
},
"type": "property"
}
},
"props.elements[0].elements[2].fill.paint": {
"binding": {
"config": {
"path": "view.custom.colorHandler.valve"
},
"type": "property"
}
},
"props.elements[0].elements[3].fill.paint": {
"binding": {
"config": {
"path": "view.custom.colorHandler.valve"
},
"type": "property"
}
},
"props.elements[0].elements[5].text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/ModeCMD"
},
"enabled": false,
"transforms": [
{
"fallback": "M",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "M"
},
{
"input": true,
"output": "A"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
},
"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": {
"elements": [
{
"elements": [
{
"fill": {},
"height": "11.25",
"name": "rect",
"stroke": {
"paint": "#000",
"width": "0.75px"
},
"type": "rect",
"width": "15.75",
"x": "4.167",
"y": "0.375"
},
{
"d": "M12.042,11.625l-0,12.75",
"fill": {
"paint": "transparent"
},
"name": "path",
"stroke": {
"paint": "#000",
"width": "0.75px"
},
"type": "path"
},
{
"d": "M12.042,24.375l11.625,-5.25l-0,10.5l-11.625,-5.25Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000",
"width": "0.83px"
},
"type": "path"
},
{
"d": "M12.042,24.375l-11.625,-5.25l-0,10.5l11.625,-5.25Z",
"fill": {},
"name": "path",
"stroke": {
"paint": "#000",
"width": "0.83px"
},
"type": "path"
},
{
"name": "group",
"transform": "matrix(10.4167,0,0,10.4167,16.3879,9.72823)",
"type": "group"
},
{
"name": "text",
"style": {
"fontFamily": "\u0027ArialMT\u0027, \u0027Arial\u0027",
"fontSize": "10.417px"
},
"text": "A",
"type": "text",
"x": "7.711px",
"y": "9.728px"
}
],
"id": "Valve",
"name": "Valve",
"type": "group"
}
],
"fill": {
"rule": "evenodd"
},
"stroke": {
"linecap": "round",
"linejoin": "round",
"miterlimit": "1.5"
},
"style": {
"borderStyle": "none",
"classes": "containers/HoverOver",
"clipRule": "evenodd",
"outlineWidth": 2,
"paddingBottom": 3,
"paddingLeft": 3,
"paddingRight": 3,
"paddingTop": 3
},
"viewBox": "0 0 25 31"
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 20,
"rotate": {
"anchor": "50% 39%"
},
"width": 20,
"x": 56
},
"propConfig": {
"props.elements[0].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "hidden"
},
{
"input": 2,
"output": "hidden"
},
{
"input": 3,
"output": "visible"
},
{
"input": 4,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[1].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "hidden"
},
{
"input": 2,
"output": "hidden"
},
{
"input": 3,
"output": "visible"
},
{
"input": 4,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[2].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "hidden"
},
{
"input": 2,
"output": "visible"
},
{
"input": 3,
"output": "hidden"
},
{
"input": 4,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[3].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "visible"
},
{
"input": 2,
"output": "hidden"
},
{
"input": 3,
"output": "hidden"
},
{
"input": 4,
"output": "hidden"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[4].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "hidden"
},
{
"input": 2,
"output": "hidden"
},
{
"input": 3,
"output": "hidden"
},
{
"input": 4,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.elements[5].visibility": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"transforms": [
{
"fallback": "hiden",
"inputType": "scalar",
"mappings": [
{
"input": -1,
"output": "hidden"
},
{
"input": 0,
"output": "hidden"
},
{
"input": 1,
"output": "hidden"
},
{
"input": 2,
"output": "hidden"
},
{
"input": 3,
"output": "hidden"
},
{
"input": 4,
"output": "visible"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"elements": [
{
"d": "M7.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": "M7.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": "M6.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": "M7.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": "M12.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": "M7.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": "7.498",
"cy": "7.498",
"fill": {
"paint": "#e22028"
},
"name": "circle",
"r": "7.198",
"stroke": {
"paint": "#000",
"width": "0.48px"
},
"type": "circle"
},
{
"elements": [
{
"elements": [
{
"d": "M5.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": "M8.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"
}
],
"fill": {
"rule": "evenodd"
},
"stroke": {
"linecap": "round",
"linejoin": "round",
"miterlimit": "1.5"
},
"style": {
"clipRule": "evenodd"
},
"viewBox": "0 0 15 15"
},
"type": "ia.shapes.svg"
},
{
"meta": {
"name": "EU"
},
"position": {
"height": 15,
"width": 36,
"x": 47.4978,
"y": 58.9933
},
"props": {
"text": "%",
"textStyle": {
"fontFamily": "Arial",
"fontSize": 12,
"textAlign": "start"
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "VierticalView"
},
"position": {
"basis": "100%"
},
"propConfig": {
"position.display": {
"binding": {
"config": {
"path": "view.params.Layout"
},
"transforms": [
{
"fallback": false,
"inputType": "scalar",
"mappings": [
{
"input": 1,
"output": true
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"type": "ia.container.coord"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
}