SAT9/.resources/b1302c9f04901665cf2d7f81aaf1e06c1ea757dfccd3c76a1891ea5f31e621ec

242 lines
6.7 KiB
Plaintext

{
"custom": {},
"params": {},
"props": {
"defaultSize": {
"height": 155,
"width": 1910
}
},
"root": {
"children": [
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "233px"
},
"props": {
"text": "Console Log",
"textStyle": {
"fontWeight": "bold",
"padding": "5px",
"textDecoration": "underline"
}
},
"type": "ia.display.label"
},
{
"events": {
"component": {
"onActionPerformed": {
"config": {
"script": "\tpayload \u003d {}\n\tsystem.perspective.sendMessage(\"clearFeedback\" , payload , \"page\")"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "Button"
},
"position": {
"basis": "40px"
},
"props": {
"image": {
"icon": {
"path": "material/delete_forever"
}
},
"primary": false,
"style": {
"borderStyle": "solid"
},
"text": ""
},
"type": "ia.input.button"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "40px"
},
"props": {
"justify": "space-between",
"style": {
"paddingBottom": "5px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Table"
},
"position": {
"basis": "400px",
"grow": 1
},
"props": {
"columns": [
{
"align": "center",
"boolean": "checkbox",
"dateFormat": "MM/DD/YYYY",
"editable": false,
"field": "Value",
"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",
"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": true,
"style": {
"classes": ""
},
"toggleSwitch": {
"color": {
"selected": "",
"unselected": ""
}
},
"viewParams": {},
"viewPath": "Main-Views/Commissioning Tool/Message",
"visible": true,
"width": "100px"
}
],
"data": [
{
"Value": {
"Msg": "",
"Timestamp": ""
}
}
],
"enableHeader": false,
"pager": {
"bottom": false
},
"rows": {
"subviewExpansionMode": "single"
},
"selection": {
"enableRowSelection": false
}
},
"scripts": {
"customMethods": [],
"extensionFunctions": null,
"messageHandlers": [
{
"messageType": "clearFeedback",
"pageScope": true,
"script": "\t# implement your handler here\n\t\n\tself.props.data \u003d []",
"sessionScope": false,
"viewScope": false
},
{
"messageType": "addFeedback",
"pageScope": true,
"script": "\t# implement your handler here\n\t\n\trecord \u003d {\n\t \"Value\": {\n\t \"Timestamp\": str(system.date.now()),\n\t \"Msg\": payload[\"Msg\"]\n\t }\n\t}\n\tself.props.data.insert(0, record)",
"sessionScope": false,
"viewScope": false
}
]
},
"type": "ia.display.table"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "80px",
"grow": 1,
"shrink": 0
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"padding": "5px"
}
},
"type": "ia.container.flex"
}
}