194 lines
5.3 KiB
Plaintext
194 lines
5.3 KiB
Plaintext
{
|
|
"custom": {
|
|
"DOAS_tagPath": "[Ignition_Common_IO_Gtwy]Roof/DOAS1",
|
|
"data": [
|
|
"[Ignition_Common_IO_Gtwy]Roof/DOAS1",
|
|
"[Ignition_Common_IO_Gtwy]Roof/DOAS2",
|
|
"[Ignition_Common_IO_Gtwy]Roof/DOAS3"
|
|
],
|
|
"key": null,
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]"
|
|
},
|
|
"params": {},
|
|
"propConfig": {
|
|
"custom.DOAS_tagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.key"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d \"\"\n\tif(value is None):\n\t\toutput \u003d \"[Ignition_Common_IO_Gtwy]Roof/DOAS1\"\n\telse:\n\t\toutput \u003d self.custom.data[value]\n\treturn output",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.data": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"tagPath": "{view.custom.tagPath}",
|
|
"time": "now(3000)"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d []\n\ttags \u003d system.tag.browse(value[\"tagPath\"],{\"typeId\":\"Objects/Air/DOAS\", \"recursive\":True ,\"tagType\":\"UdtInstance\"})\n\tfor item in tags:\n\t\toutput.append(str(item[\"fullPath\"]))\n\treturn output",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.key": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "/root/Location/Table.props.selection.selectedRow"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif(value \u003d\u003d \"null\"):\n\t\tvalue \u003d 0\n\treturn value",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"custom.tagPath": {
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"width": 1200
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 40,
|
|
"fontWeight": "bold"
|
|
},
|
|
"text": "Fire System"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Main Pump"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "Motor MainFP",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]RM1141/SATB1_RM1141_PMP_01"
|
|
},
|
|
"path": "Library/Symbols/Mechanical/Sym_SP",
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(--borderRadius)",
|
|
"borderBottomRightRadius": "var(--borderRadius)",
|
|
"borderTopLeftRadius": "var(--borderRadius)",
|
|
"borderTopRightRadius": "var(--borderRadius)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Jockey Pump"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "Motor JockeyFP",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]RM1141/SATB1_RM1141_PMP_02"
|
|
},
|
|
"path": "Library/Symbols/Mechanical/Sym_SP",
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(--borderRadius)",
|
|
"borderBottomRightRadius": "var(--borderRadius)",
|
|
"borderTopLeftRadius": "var(--borderRadius)",
|
|
"borderTopRightRadius": "var(--borderRadius)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "First Floor"
|
|
},
|
|
"props": {
|
|
"alignContent": "center",
|
|
"alignItems": "center",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": 200,
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "Fire Panel",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]RM1102/SATB1_RM1102_Fire System Panel"
|
|
},
|
|
"path": "Library/Symbols/Sym_Panel",
|
|
"useDefaultViewHeight": true,
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"alignContent": "center",
|
|
"alignItems": "center",
|
|
"direction": "column",
|
|
"style": {
|
|
"gap": 50,
|
|
"overflow": "visible",
|
|
"padding": 15
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |