2026-04-24 FE Backup
This commit is contained in:
@@ -0,0 +1,482 @@
|
||||
{
|
||||
"custom": {
|
||||
"Alarm": false,
|
||||
"AlarmSeverity": 2,
|
||||
"Running": 0,
|
||||
"Status": 0
|
||||
},
|
||||
"params": {
|
||||
"TagPosition": true,
|
||||
"objectName": "STU",
|
||||
"tagPath": "[Ignition_Common_IO_Gtwy]MMR1188/SATB1_HS1_MMR1188_CRAC1"
|
||||
},
|
||||
"propConfig": {
|
||||
"custom.Alarm": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.custom.AlarmSeverity"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tif(value\u003e2):\n\t\tvalue \u003d True\n\telse:\n\t\tvalue \u003d False\n\treturn value",
|
||||
"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.Running": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"fallbackDelay": 2.5,
|
||||
"mode": "indirect",
|
||||
"references": {
|
||||
"tagPath": "{view.params.tagPath}"
|
||||
},
|
||||
"tagPath": "{tagPath}/Fan Status"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"fallback": 0,
|
||||
"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.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"
|
||||
}
|
||||
}
|
||||
},
|
||||
"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": "SAT °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 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 02"
|
||||
},
|
||||
"position": {
|
||||
"height": 23,
|
||||
"width": 44,
|
||||
"x": 60,
|
||||
"y": 30
|
||||
},
|
||||
"props": {
|
||||
"text": "RAT °F",
|
||||
"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