2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,568 @@
|
||||
{
|
||||
"custom": {
|
||||
"Alarm": false,
|
||||
"AlarmSeverity": null,
|
||||
"AvgSF": null,
|
||||
"Running": false,
|
||||
"SF1": null,
|
||||
"SF2": null,
|
||||
"SF3": null,
|
||||
"Status": 0
|
||||
},
|
||||
"params": {
|
||||
"TagPosition": true,
|
||||
"objectName": "CRAH",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]IDF1263/SATB1_IDF1263_CRAH_01"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.Alarm": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AlarmSeverity"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tif value \u003e 0:\n\t\treturn True\n\telse:\n\t\treturn False",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.AlarmSeverity": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\treturn alarm.summary.calcMaxPriority(self.view.params.tagPath)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.AvgSF": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"struct": {
|
||||
"sf1": "{view.custom.SF1}",
|
||||
"sf2": "{view.custom.SF2}",
|
||||
"sf3": "{view.custom.SF3}"
|
||||
},
|
||||
"waitOnAll": true
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"expression": "({value}[\u0027sf1\u0027] + {value}[\u0027sf2\u0027] +{value}[\u0027sf3\u0027])/3",
|
||||
"type": "expression"
|
||||
}
|
||||
],
|
||||
"type": "expr-struct"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.Running": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"struct": {
|
||||
"fanSpeed_1": "tag({view.params.tagPath}+\u0027/Fan Speed 1\u0027)",
|
||||
"fanSpeed_2": "tag({view.params.tagPath}+\u0027/Fan Speed 2\u0027)",
|
||||
"fanSpeed_3": "tag({view.params.tagPath}+\u0027/Fan Speed 3\u0027)"
|
||||
},
|
||||
"waitOnAll": true
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tif (value[\u0027fanSpeed_1\u0027] \u003e 0)or(value[\u0027fanSpeed_2\u0027] \u003e 0)or(value[\u0027fanSpeed_3\u0027] \u003e 0):\n\t\treturn True\n\telse:\n\t\treturn False",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "expr-struct"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.SF1": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Fan Speed 1"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.SF2": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Fan Speed 2"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.SF3": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Fan Speed 3"
|
||||
},
|
||||
"type": "tag"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"custom.Status": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"expression": "if({view.custom.Alarm}, 2, if({view.custom.Running},1,0))"
|
||||
},
|
||||
"type": "expr"
|
||||
},
|
||||
"persistent": true
|
||||
},
|
||||
"params.TagPosition": {
|
||||
"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": 70,
|
||||
"width": 120
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"type": "tag"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"color": "var(--olGray)",
|
||||
"fontFamily": "inherit",
|
||||
"fontSize": 12,
|
||||
"paddingLeft": 8,
|
||||
"textAlign": "start"
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "Container"
|
||||
},
|
||||
"position": {
|
||||
"height": 41,
|
||||
"width": 92,
|
||||
"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": "#4F4F4F",
|
||||
"borderStyle": "solid",
|
||||
"borderWidth": 1
|
||||
}
|
||||
},
|
||||
"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"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"formatType": "numeric",
|
||||
"formatValue": "#.##",
|
||||
"type": "format"
|
||||
}
|
||||
],
|
||||
"type": "tag"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"color": "var(--tagvalue-color)",
|
||||
"fontSize": 12
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "EU 01"
|
||||
},
|
||||
"position": {
|
||||
"height": 23,
|
||||
"width": 44,
|
||||
"x": 60,
|
||||
"y": 15
|
||||
},
|
||||
"props": {
|
||||
"text": "RA °F",
|
||||
"textStyle": {
|
||||
"fontSize": 12
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"contextMenu": {
|
||||
"items": [
|
||||
{
|
||||
"children": [],
|
||||
"icon": {
|
||||
"color": "",
|
||||
"path": "",
|
||||
"style": {}
|
||||
},
|
||||
"link": {
|
||||
"target": "self",
|
||||
"url": ""
|
||||
},
|
||||
"message": {
|
||||
"payload": {},
|
||||
"scope": "page",
|
||||
"type": ""
|
||||
},
|
||||
"method": {
|
||||
"name": "",
|
||||
"params": {}
|
||||
},
|
||||
"style": {
|
||||
"classes": ""
|
||||
},
|
||||
"text": "menu-item",
|
||||
"type": "link"
|
||||
}
|
||||
]
|
||||
},
|
||||
"name": "Var02"
|
||||
},
|
||||
"position": {
|
||||
"height": 23,
|
||||
"width": 44,
|
||||
"x": 20,
|
||||
"y": 30
|
||||
},
|
||||
"propConfig": {
|
||||
"props.text": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AvgSF"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"formatType": "numeric",
|
||||
"formatValue": "0.0",
|
||||
"type": "format"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"textStyle": {
|
||||
"color": "var(--tagvalue-color)",
|
||||
"fontSize": 12
|
||||
}
|
||||
},
|
||||
"type": "ia.display.label"
|
||||
},
|
||||
{
|
||||
"meta": {
|
||||
"name": "EU 02"
|
||||
},
|
||||
"position": {
|
||||
"height": 23,
|
||||
"width": 44,
|
||||
"x": 60,
|
||||
"y": 30
|
||||
},
|
||||
"props": {
|
||||
"text": "SF %",
|
||||
"textStyle": {
|
||||
"fontSize": 12
|
||||
}
|
||||
},
|
||||
"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": "Box"
|
||||
},
|
||||
"position": {
|
||||
"height": 50,
|
||||
"width": 102,
|
||||
"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": 97.99,
|
||||
"y": -1.01
|
||||
},
|
||||
"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"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user