Files
Stream_PHX_A7/Gateways/FE/projects/.resources/933fc2f64119c14830525540a4aedf7ad8b724c56e50c946b3f5919bf65da57d

595 lines
15 KiB
Plaintext

{
"custom": {
"data": {
"data": [
{
"Alm": "0",
"BP": 0,
"OAD": 0,
"SAD": 0,
"SAT": 0,
"device": "DOAS1",
"path": "[default]simulator/DOAS/DOAS1"
},
{
"Alm": "0",
"BP": "0",
"OAD": "0",
"SAD": "0",
"SAT": "0",
"device": "DOAS2",
"path": "[default]simulator/DOAS/DOAS2"
},
{
"Alm": "0",
"BP": "0",
"OAD": "0",
"SAD": "0",
"SAT": "0",
"device": "DOAS3",
"path": "[default]simulator/DOAS/DOAS3"
},
{
"Alm": "0",
"BP": "0",
"OAD": "0",
"SAD": "0",
"SAT": "0",
"device": "DOAS4",
"path": "[default]simulator/DOAS/DOAS4"
},
{
"Alm": "0",
"BP": "0",
"OAD": "0",
"SAD": "0",
"SAT": "0",
"device": "DOAS5",
"path": "[default]simulator/DOAS/DOAS5"
}
]
}
},
"params": {
"device": "DOAS"
},
"propConfig": {
"custom.data": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"device": "{view.params.device}"
},
"tagPath": "[default]System/DataTables/{device}/Data"
},
"type": "tag"
},
"persistent": true
},
"params.device": {
"paramDirection": "input",
"persistent": true
}
},
"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": {
"path": "view.custom.data.data"
},
"transforms": [
{
"code": "\treturn equipment.common.style_table(value)",
"type": "script"
}
],
"type": "property"
}
}
},
"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": ""
}
]
},
"type": "ia.display.table"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"gap": "var(--space-sm)",
"padding": "var(--space-sm)"
}
},
"type": "ia.container.flex"
}
}