139 lines
3.2 KiB
Plaintext
139 lines
3.2 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 1080,
|
|
"width": 1920
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "FlexRepeater"
|
|
},
|
|
"position": {
|
|
"basis": "1080px"
|
|
},
|
|
"props": {
|
|
"alignContent": "flex-start",
|
|
"alignItems": "flex-start",
|
|
"elementPosition": {
|
|
"grow": 0,
|
|
"shrink": 0
|
|
},
|
|
"instances": [
|
|
{
|
|
"Counts": {
|
|
"Diag": 0,
|
|
"High": 0,
|
|
"Low": 0,
|
|
"Medium": 0
|
|
},
|
|
"area": "Fluid Inbound",
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": "",
|
|
"margin": "5px"
|
|
},
|
|
"subarea": "",
|
|
"tagProps": [
|
|
"MCM01",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value"
|
|
]
|
|
},
|
|
{
|
|
"Counts": {
|
|
"Diag": 0,
|
|
"High": 0,
|
|
"Low": 0,
|
|
"Medium": 0
|
|
},
|
|
"area": "Non Con Sorter",
|
|
"instancePosition": {},
|
|
"instanceStyle": {
|
|
"classes": "",
|
|
"margin": "5px"
|
|
},
|
|
"subarea": "",
|
|
"tagProps": [
|
|
"MCM02",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value",
|
|
"value"
|
|
]
|
|
}
|
|
],
|
|
"path": "autStand/Equipment/Controller-Views/ControllerStatus",
|
|
"style": {
|
|
"overflow": "visible"
|
|
},
|
|
"wrap": "wrap"
|
|
},
|
|
"type": "ia.display.flex-repeater"
|
|
}
|
|
],
|
|
"custom": {
|
|
"Devices": [
|
|
[
|
|
"MCM01",
|
|
"Fluid Inbound"
|
|
],
|
|
[
|
|
"MCM02",
|
|
"Non Con Sorter"
|
|
]
|
|
],
|
|
"count": "value",
|
|
"delay": 2000,
|
|
"run_update": true
|
|
},
|
|
"events": {
|
|
"system": {
|
|
"onStartup": {
|
|
"config": {
|
|
"script": "\tautStand.Visualisation.home_page.create_home_page(self)"
|
|
},
|
|
"scope": "G",
|
|
"type": "script"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"propConfig": {
|
|
"custom.update": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "now({this.custom.delay})"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"onChange": {
|
|
"enabled": false,
|
|
"script": "\n if (self.session.custom.fc \u003d\u003d \u0027\u0027) or (self.session.custom.fc is None):\n \tself.getChild(\"FlexRepeater\").props.instances \u003d []\n \treturn\n \n if self.custom.run_update:\n \tautStand.Visualisation.home_page.update_home_status(self)"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"direction": "column"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |