444 lines
14 KiB
Plaintext
444 lines
14 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]",
|
|
"tpe": "AnalogIn"
|
|
},
|
|
"params": {
|
|
"objectName": "AnalogIn",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1229/SATB1_RM1200_SpaceDP"
|
|
},
|
|
"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
|
|
},
|
|
"custom.tpe": {
|
|
"persistent": true
|
|
},
|
|
"params.objectName": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"width": 1200
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "SecondFloor Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--container)",
|
|
"borderBottomLeftRadius": "var(--borderRadius)",
|
|
"borderBottomRightRadius": "var(--borderRadius)",
|
|
"borderTopLeftRadius": "var(--borderRadius)",
|
|
"borderTopRightRadius": "var(--borderRadius)",
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"overflow": "visible",
|
|
"paddingBottom": 5,
|
|
"paddingLeft": 15,
|
|
"paddingRight": 15,
|
|
"paddingTop": 5
|
|
},
|
|
"text": "Second Floor"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "EF",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]RT_Tags/SATB1_HS1_RT_EF02"
|
|
},
|
|
"path": "Library/Diagrams/HVAC/Dgrm_EF",
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(-borderRadius)",
|
|
"borderBottomRightRadius": "var(-borderRadius)",
|
|
"borderTopLeftRadius": "var(-borderRadius)",
|
|
"borderTopRightRadius": "var(-borderRadius)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView_2"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "EF_V2",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1229/SATB1_ER1229_EF4_VFD"
|
|
},
|
|
"path": "Library/Diagrams/HVAC/Dgrm_EF_VFD",
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(-borderRadius)",
|
|
"borderBottomRightRadius": "var(-borderRadius)",
|
|
"borderTopLeftRadius": "var(-borderRadius)",
|
|
"borderTopRightRadius": "var(-borderRadius)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView_3"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "EF_V2",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]ER1229/SATB1_ER1229_EF5_VFD"
|
|
},
|
|
"path": "Library/Diagrams/HVAC/Dgrm_EF_VFD",
|
|
"style": {
|
|
"borderBottomLeftRadius": "var(-borderRadius)",
|
|
"borderBottomRightRadius": "var(-borderRadius)",
|
|
"borderTopLeftRadius": "var(-borderRadius)",
|
|
"borderTopRightRadius": "var(-borderRadius)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewWidth": true
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"props": {
|
|
"text": "Space DP"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"events": {
|
|
"dom": {
|
|
"onClick": {
|
|
"config": {
|
|
"script": "\tif(self.view.params.embedded \u003d\u003d True):\n\t\tpageId \u003d self.page.props.pageId\n\t\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tutils.nav.openEQPopup(objectName, tagPath)\n\telse:\n\t\ttagPath \u003d self.view.params.tagPath\n\t\tobjectName \u003d self.view.params.objectName\n\t\tpayload\u003d{\n\t\t\t\u0027objectName\u0027: objectName,\n\t\t\t\u0027tagPath\u0027: tagPath,\n\t\t\t\u0027modal\u0027: False,\n\t\t\t\u0027resizable\u0027: True,\n\t\t\t\u0027draggable\u0027: True,\n\t\t\t\u0027position\u0027: {\n\t#\t\t\t\u0027left\u0027:\u00270\u0027,\n\t#\t\t\t\u0027top\u0027:\u00270\u0027,\n\t\t\t\u0027width\u0027: \u00271000px\u0027,\n\t\t\t\u0027height\u0027: \u0027800px\u0027\n\t\t\t}\n\t\t}\n\t\tutils.nav.eqPopupMsg(self, payload)\n\t\n\t"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "Transmitter_3"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU": "inWc",
|
|
"EU_Pos": 1,
|
|
"Val": 0.108
|
|
},
|
|
"path": "Library/Symbols/Sym_Xmtr",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "7.7%"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "5px",
|
|
"padding": "25px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"dataType": "Float4",
|
|
"enabled": true,
|
|
"max": 120,
|
|
"min": 0,
|
|
"name": "Space DP Setpoint",
|
|
"options": [],
|
|
"tagPath": "[default]simulator/DH/Temp16",
|
|
"visible": true
|
|
},
|
|
"path": "Library/Framework/Tag Config",
|
|
"style": {
|
|
"overflow": "visible",
|
|
"padding": "17px"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView_0"
|
|
},
|
|
"position": {
|
|
"basis": "30%"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"dataType": "Boolean",
|
|
"enabled": false,
|
|
"max": 9999,
|
|
"min": -9999,
|
|
"name": "Enable RM1200 EF",
|
|
"options": [],
|
|
"tagPath": "[default]simulator/TestBoolean",
|
|
"visible": true
|
|
},
|
|
"path": "Library/Framework/Tag Config",
|
|
"style": {
|
|
"padding": "17px"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "450px"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"gap": "5px",
|
|
"overflow": "visible",
|
|
"padding": "4px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "28.4%"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "50px",
|
|
"overflow": "visible",
|
|
"padding": "5px"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "FirstFloor Label"
|
|
},
|
|
"position": {
|
|
"basis": "32px"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"backgroundColor": "var(--container)",
|
|
"borderBottomLeftRadius": "var(--borderRadius)",
|
|
"borderBottomRightRadius": "var(--borderRadius)",
|
|
"borderTopLeftRadius": "var(--borderRadius)",
|
|
"borderTopRightRadius": "var(--borderRadius)",
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"overflow": "visible",
|
|
"paddingBottom": 5,
|
|
"paddingLeft": 15,
|
|
"paddingRight": 15,
|
|
"paddingTop": 5
|
|
},
|
|
"text": "First Floor"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "EF",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]SR1133/SATB1_HS1_SR1136_EF01"
|
|
},
|
|
"path": "Library/Diagrams/HVAC/Dgrm_EF",
|
|
"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": "EmbeddedView_0"
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"embedded": false,
|
|
"objectName": "EF",
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]SR1133/SATB1_HS1_SR1133_EF03"
|
|
},
|
|
"path": "Library/Diagrams/HVAC/Dgrm_EF",
|
|
"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"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"alignContent": "center",
|
|
"alignItems": "center",
|
|
"direction": "column",
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": 50,
|
|
"overflow": "visible",
|
|
"padding": 15
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |