260502 Backup

This commit is contained in:
2026-05-02 05:21:54 +00:00
parent 671e1e7c0c
commit a590cd030f
1331 changed files with 35503 additions and 87262 deletions

View File

@@ -0,0 +1,570 @@
{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 1000,
"width": 400
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"props": {
"text": "Roof"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "FirstFloor Percent"
},
"props": {
"path": "Library/Widgets/Layouts/Wdt_Bldg_Roof",
"style": {
"overflow": "visible"
},
"useDefaultViewWidth": true
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label_0"
},
"props": {
"text": "Second Floor"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "FirstFloor Percent_0"
},
"props": {
"path": "Library/Widgets/Layouts/Wdt_Bldg_2f",
"style": {
"overflow": "visible"
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label_2"
},
"props": {
"text": "First Floor"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "FirstFloor Percent_1"
},
"props": {
"path": "Library/Widgets/Layouts/Wdt_Bldg_1f",
"style": {
"overflow": "visible"
}
},
"type": "ia.display.view"
},
{
"meta": {
"name": "Label_1"
},
"position": {
"grow": 1
},
"props": {
"textStyle": {
"textAlign": "start"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_3"
},
"props": {
"text": "List of devices",
"textStyle": {
"textAlign": "start"
}
},
"type": "ia.display.label"
},
{
"events": {
"component": {
"onRowClick": {
"config": {
"script": "\tpayload \u003d {\"Room\":self.props.selection.data[0].Tag}\n\tmessageType \u003d \"roomUpdate\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_01_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_02_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)\n\tmessageType \u003d \"layout_03_Update\"\n\tsystem.perspective.sendMessage(messageType, payload)"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Table"
},
"position": {
"basis": "243px"
},
"propConfig": {
"props.data": {
"binding": {
"config": {
"struct": {
"paths": "{view.custom.data}",
"time": "now(5000)"
},
"waitOnAll": true
},
"enabled": false,
"transforms": [
{
"code": "\toutput \u003d []\n\tdata \u003d value[\"paths\"]\n\tfor item in data:\n\t\ttry:\n\t\t\tAlmS \u003d alarm.summary.calcMaxPriority(item)\n\t\texcept:\n\t\t\tAlmS \u003d -1\n\t\tif(AlmS \u003d\u003d 1):\n\t\t\tAlarmSeverity \u003d \"Controller\"\n\t\telif(AlmS \u003d\u003d 2):\n\t\t\tAlarmSeverity \u003d \"Info\"\n\t\telif(AlmS \u003d\u003d 3):\n\t\t\tAlarmSeverity \u003d \"Warning\"\n\t\telif(AlmS \u003d\u003d 4):\n\t\t\tAlarmSeverity \u003d \"Critical\"\n\t\telse:\n\t\t\tAlarmSeverity \u003d \" \"\n\t\tRAT \u003d system.tag.readBlocking(item + \"/Return Air Temperature\")[0].value\n\t\tSAT \u003d system.tag.readBlocking(item + \"/Supply Air Temperature\")[0].value\n\t\t#Name \u003d system.tag.readBlocking(item + \"/Meta/EqName\")[0].value\n\t\tName \u003d item.split(\u0027_\u0027)[5]\n\t\t#Tag \u003d system.tag.readBlocking(item + \"/Meta/Ignition Tag Name\")[0].value\n\t\tTag \u003d item.split(\u0027/\u0027)[1]\n\t\ttagPath \u003d item\n\t\toutput.append({\n\t\t\t\t\t\t\"RAT\": RAT,\n\t\t\t\t\t\t\"SAT\": SAT,\n\t\t\t\t\t\t\"Name\": Name,\n\t\t\t\t\t\t\"Tag\": Tag,\n\t\t\t\t\t\t\"AlarmSeverity\": AlarmSeverity,\n\t\t\t\t\t\t\"tagPath\": tagPath})\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"columns": [
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "Name",
"filter": {
"boolean": {
"condition": ""
},
"date": {
"condition": "",
"value": ""
},
"enabled": false,
"number": {
"condition": "",
"value": ""
},
"string": {
"condition": "",
"value": ""
},
"visible": "on-hover"
},
"footer": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": ""
},
"header": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": ""
},
"justify": "auto",
"nullFormat": {
"includeNullStrings": false,
"nullFormatValue": "",
"strict": false
},
"number": "value",
"numberFormat": "0,0.##",
"progressBar": {
"bar": {
"color": "",
"style": {
"classes": ""
}
},
"max": 100,
"min": 0,
"track": {
"color": "",
"style": {
"classes": ""
}
},
"value": {
"enabled": true,
"format": "0,0.##",
"justify": "center",
"style": {
"classes": ""
}
}
},
"render": "auto",
"resizable": true,
"sort": "none",
"sortable": true,
"strictWidth": false,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "SAT",
"filter": {
"boolean": {
"condition": ""
},
"date": {
"condition": "",
"value": ""
},
"enabled": false,
"number": {
"condition": "",
"value": ""
},
"string": {
"condition": "",
"value": ""
},
"visible": "on-hover"
},
"footer": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": ""
},
"header": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": "Supply Air Temperature"
},
"justify": "auto",
"nullFormat": {
"includeNullStrings": false,
"nullFormatValue": "",
"strict": false
},
"number": "value",
"numberFormat": "0,0.##",
"progressBar": {
"bar": {
"color": "",
"style": {
"classes": ""
}
},
"max": 100,
"min": 0,
"track": {
"color": "",
"style": {
"classes": ""
}
},
"value": {
"enabled": true,
"format": "0,0.##",
"justify": "center",
"style": {
"classes": ""
}
}
},
"render": "auto",
"resizable": true,
"sort": "none",
"sortable": true,
"strictWidth": false,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "Tag",
"filter": {
"boolean": {
"condition": ""
},
"date": {
"condition": "",
"value": ""
},
"enabled": false,
"number": {
"condition": "",
"value": ""
},
"string": {
"condition": "",
"value": ""
},
"visible": "on-hover"
},
"footer": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": ""
},
"header": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": "Tag"
},
"justify": "auto",
"nullFormat": {
"includeNullStrings": false,
"nullFormatValue": "",
"strict": false
},
"number": "value",
"numberFormat": "0,0.##",
"progressBar": {
"bar": {
"color": "",
"style": {
"classes": ""
}
},
"max": 100,
"min": 0,
"track": {
"color": "",
"style": {
"classes": ""
}
},
"value": {
"enabled": true,
"format": "0,0.##",
"justify": "center",
"style": {
"classes": ""
}
}
},
"render": "auto",
"resizable": true,
"sort": "none",
"sortable": true,
"strictWidth": false,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": false,
"width": ""
},
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "AlarmSeverity",
"filter": {
"boolean": {
"condition": ""
},
"date": {
"condition": "",
"value": ""
},
"enabled": false,
"number": {
"condition": "",
"value": ""
},
"string": {
"condition": "",
"value": ""
},
"visible": "on-hover"
},
"footer": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": ""
},
"header": {
"align": "center",
"justify": "left",
"style": {
"classes": ""
},
"title": "Alarm Severity"
},
"justify": "auto",
"nullFormat": {
"includeNullStrings": false,
"nullFormatValue": "",
"strict": false
},
"number": "value",
"numberFormat": "0,0.##",
"progressBar": {
"bar": {
"color": "",
"style": {
"classes": ""
}
},
"max": 100,
"min": 0,
"track": {
"color": "",
"style": {
"classes": ""
}
},
"value": {
"enabled": true,
"format": "0,0.##",
"justify": "center",
"style": {
"classes": ""
}
}
},
"render": "auto",
"resizable": true,
"sort": "none",
"sortable": true,
"strictWidth": false,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "",
"visible": true,
"width": ""
}
],
"data": [
{
"AlarmSeverity": " ",
"Name": "DOAS01",
"RAT": null,
"SAT": null,
"Tag": "SATB1_RF_DOAS01",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_DOAS01"
},
{
"AlarmSeverity": " ",
"Name": "DOAS02",
"RAT": null,
"SAT": null,
"Tag": "SATB1_RF_DOAS02",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_DOAS02"
},
{
"AlarmSeverity": " ",
"Name": "DOAS03",
"RAT": null,
"SAT": null,
"Tag": "SATB1_RF_DOAS03",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_DOAS03"
},
{
"AlarmSeverity": " ",
"Name": "DOAS04",
"RAT": null,
"SAT": null,
"Tag": "SATB1_RF_DOAS04",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_DOAS03"
},
{
"AlarmSeverity": " ",
"Name": "DOAS05",
"RAT": null,
"SAT": null,
"Tag": "SATB1_RF_DOAS05",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/SATB1_RF_DOAS03"
}
]
},
"type": "ia.display.table"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"type": "ia.container.flex"
}
}