Files
Stream_PHX_A7/Gateways/FE/projects/.resources/f1c51beeea46fde5692d4f4d80e8660ca4cd91a9fe429fceb66a12d028758282

620 lines
15 KiB
Plaintext

{
"custom": {
"Alarm": 0,
"AlarmSeverity": 0,
"Running": 1,
"Status": 1
},
"params": {
"TagPosition": true,
"deviceDataset": "value",
"objectName": "STU",
"tagPath": "[Ignition_Common_IO_Gtwy]GAL1261/SATB1_GAL1261_DH1_STU01"
},
"propConfig": {
"custom.Alarm": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Alarms/Alarm"
},
"enabled": false,
"type": "tag"
},
"persistent": true
},
"custom.AlarmSeverity": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}"
},
"enabled": false,
"transforms": [
{
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
"type": "script"
}
],
"type": "tag"
},
"persistent": true
},
"custom.Running": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Status Running"
},
"enabled": false,
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": 0
},
{
"input": true,
"output": 1
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
},
"persistent": true
},
"custom.Status": {
"binding": {
"config": {
"expression": "if({view.custom.Alarm}, 2, {view.custom.Running})"
},
"type": "expr"
},
"persistent": true
},
"params.TagPosition": {
"paramDirection": "input",
"persistent": true
},
"params.deviceDataset": {
"paramDirection": "input",
"persistent": true
},
"params.objectName": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 70,
"width": 120
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"height": 80,
"width": 112,
"x": 8,
"y": -6
},
"propConfig": {
"props.alignVertical": {
"binding": {
"config": {
"path": "view.params.TagPosition"
},
"transforms": [
{
"fallback": "top",
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": "bottom"
},
{
"input": true,
"output": "top"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
},
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Meta/EqName"
},
"enabled": false,
"type": "tag"
}
}
},
"props": {
"text": "STU01",
"textStyle": {
"color": "var(--olGray)",
"fontFamily": "inherit",
"fontSize": 12,
"paddingLeft": 8,
"textAlign": "start"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Container"
},
"position": {
"height": 41,
"width": 105,
"x": 10,
"y": 13.5
},
"propConfig": {
"props.style.backgroundColor": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "var(--state-standby)"
},
{
"input": 1,
"output": "var(--state-running)"
},
{
"input": 2,
"output": "var(--state-faulted)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"style": {
"borderColor": "var(--olGray)",
"borderStyle": "solid",
"borderWidth": 1.5
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Var01"
},
"position": {
"height": 23,
"width": 44,
"x": 20,
"y": 15
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Return Air Temperature"
},
"enabled": false,
"transforms": [
{
"formatType": "numeric",
"formatValue": "#.##",
"type": "format"
}
],
"type": "tag"
}
}
},
"props": {
"text": 68.1,
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "EU 01"
},
"position": {
"height": 23,
"width": 44,
"x": 56,
"y": 15
},
"propConfig": {
"props.textStyle.color": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "var(--darkbluegray)"
},
{
"input": 1,
"output": "var(--darkbluegray)"
},
{
"input": 2,
"output": "var(--state-running)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "RA °F",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Var02"
},
"position": {
"height": 23,
"width": 44,
"x": 20,
"y": 30
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Supply Fan Speed Feedback"
},
"enabled": false,
"transforms": [
{
"formatType": "numeric",
"formatValue": "#.##",
"type": "format"
}
],
"type": "tag"
}
}
},
"props": {
"text": 21,
"textStyle": {
"color": "var(--tagvalue-color)",
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "EU 02"
},
"position": {
"height": 23,
"width": 44,
"x": 56,
"y": 30
},
"propConfig": {
"props.textStyle.color": {
"binding": {
"config": {
"path": "view.custom.Status"
},
"transforms": [
{
"fallback": "purple",
"inputType": "scalar",
"mappings": [
{
"input": 0,
"output": "var(--darkbluegray)"
},
{
"input": 1,
"output": "var(--darkbluegray)"
},
{
"input": 2,
"output": "var(--state-running)"
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
}
}
},
"props": {
"text": "SF %",
"textStyle": {
"fontSize": 12
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "EmbeddedView"
},
"position": {
"height": 17,
"width": 20,
"x": 92,
"y": 34
},
"propConfig": {
"props.params.Mode": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/Mode CMD"
},
"enabled": false,
"transforms": [
{
"fallback": null,
"inputType": "scalar",
"mappings": [
{
"input": false,
"output": 2
},
{
"input": true,
"output": 1
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "tag"
}
}
},
"props": {
"params": {
"Mode": 1
},
"path": "Library/Widgets/ModeBadgeSmall"
},
"type": "ia.display.view"
},
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tpayload \u003d {\n\t\t\u0027tagPath\u0027: self.view.params.tagPath,\n\t\t\u0027objectName\u0027: self.view.params.objectName,\n\t\t\u0027modal\u0027: True,\n\t\t\u0027resizable\u0027: True\n\t}\n\tsystem.perspective.sendMessage(\u0027requestEQPopup\u0027, payload \u003d payload, scope\u003d\u0027page\u0027)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Box"
},
"position": {
"height": 50,
"width": 112,
"x": 5,
"y": 9.5
},
"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",
"outlineWidth": 3
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "AlarmIcons"
},
"position": {
"height": 21,
"width": 21,
"x": 107.486,
"y": -3.00826
},
"propConfig": {
"props.params.AlarmSeverity": {
"binding": {
"config": {
"path": "view.custom.AlarmSeverity"
},
"type": "property"
}
}
},
"props": {
"path": "Library/Alarms/Icons"
},
"type": "ia.display.view"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.coord"
}
}