282 lines
6.9 KiB
Plaintext
282 lines
6.9 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 1500,
|
|
"width": 1700
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "DH Overview"
|
|
},
|
|
"position": {
|
|
"basis": "631px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"elementPosition": {
|
|
"basis": "100%"
|
|
},
|
|
"instances": [
|
|
{
|
|
"DH": 101,
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": ""
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]DH1"
|
|
},
|
|
{
|
|
"DH": 102,
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": ""
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]DH2"
|
|
},
|
|
{
|
|
"DH": 201,
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": ""
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]DH3"
|
|
},
|
|
{
|
|
"DH": 202,
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": ""
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]DH4"
|
|
},
|
|
{
|
|
"DH": 203,
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": ""
|
|
},
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]DH5"
|
|
}
|
|
],
|
|
"path": "Library/Cards/Card_DH",
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewHeight": false,
|
|
"useDefaultViewWidth": false
|
|
},
|
|
"type": "ia.display.flex-repeater"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "CHW System"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"path": "Library/Cards/Card_Mech",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)",
|
|
"overflow": "hidden"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Electrical Resume"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"path": "Library/Cards/Card_Electrical",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Lower Section 01",
|
|
"tooltip": {
|
|
"width": "250px"
|
|
}
|
|
},
|
|
"position": {
|
|
"basis": "250px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "DOAS Equipment"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"path": "Library/Cards/Card_DOAS",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "RTU Equipment"
|
|
},
|
|
"position": {
|
|
"basis": "50%",
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"path": "Library/Cards/Card_RTU",
|
|
"style": {
|
|
"borderBottomLeftRadius": 5,
|
|
"borderBottomRightRadius": 5,
|
|
"borderTopLeftRadius": 5,
|
|
"borderTopRightRadius": 5,
|
|
"boxShadow": "var(--boxShadow2)"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Lower Section 02"
|
|
},
|
|
"position": {
|
|
"basis": "192px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Server Status"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"props": {
|
|
"path": "Library/Cards/Card_Gtwys",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "Lower Section 2"
|
|
},
|
|
"position": {
|
|
"basis": "250px",
|
|
"shrink": 0
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"gap": "10px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"contextMenu": {
|
|
"enabled": true,
|
|
"items": [
|
|
{
|
|
"children": [],
|
|
"icon": {
|
|
"color": "",
|
|
"path": "",
|
|
"style": {}
|
|
},
|
|
"link": {
|
|
"target": "self",
|
|
"url": ""
|
|
},
|
|
"message": {
|
|
"payload": {},
|
|
"scope": "page",
|
|
"type": ""
|
|
},
|
|
"method": {
|
|
"name": "setHomepage",
|
|
"params": {}
|
|
},
|
|
"style": {
|
|
"classes": ""
|
|
},
|
|
"text": "Set Homepage",
|
|
"type": "method"
|
|
}
|
|
]
|
|
},
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"backgroundColor": "var(--containerRoot)",
|
|
"gap": "var(--space-md)",
|
|
"overflow": "scroll",
|
|
"padding": "var(--space-md)"
|
|
}
|
|
},
|
|
"scripts": {
|
|
"customMethods": [
|
|
{
|
|
"name": "setHomepage",
|
|
"params": [],
|
|
"script": "\t# implement your method here\n\tview \u003d self.page.props.path\n\tuser \u003d self.session.props.auth.user.userName\n\tif user !\u003d \"\":\n\t\tutils.admin.user.saveSettings({\"Homepage\":view}, user)\n\t\tself.session.refreshBinding(\"custom.user_settings\")"
|
|
}
|
|
],
|
|
"extensionFunctions": null,
|
|
"messageHandlers": []
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |