195 lines
4.2 KiB
Plaintext
195 lines
4.2 KiB
Plaintext
{
|
|
"custom": {
|
|
"tags": [
|
|
{
|
|
"access_level": null,
|
|
"config": {
|
|
"states": [
|
|
{
|
|
"label": "lbl",
|
|
"value": 0
|
|
}
|
|
],
|
|
"widget": "value"
|
|
},
|
|
"format": null,
|
|
"group": "0",
|
|
"is_hidden": false,
|
|
"label": "CDU",
|
|
"order": 0,
|
|
"read_only": false,
|
|
"states": [
|
|
{
|
|
"label": "state",
|
|
"value": 0
|
|
}
|
|
],
|
|
"sub_path": "/Config/dp_setpoint",
|
|
"type": "Config",
|
|
"widget": "config_analog"
|
|
},
|
|
{
|
|
"access_level": null,
|
|
"config": {
|
|
"states": [
|
|
{
|
|
"label": "lbl",
|
|
"value": 0
|
|
}
|
|
],
|
|
"widget": "value"
|
|
},
|
|
"format": null,
|
|
"group": "0",
|
|
"is_hidden": false,
|
|
"label": "CDU",
|
|
"order": 0,
|
|
"read_only": false,
|
|
"states": [
|
|
{
|
|
"label": "state",
|
|
"value": 0
|
|
}
|
|
],
|
|
"sub_path": "/Config/flow_setpoint",
|
|
"type": "Config",
|
|
"widget": "config_analog"
|
|
},
|
|
{
|
|
"access_level": null,
|
|
"config": {
|
|
"states": [
|
|
{
|
|
"label": "lbl",
|
|
"value": 0
|
|
}
|
|
],
|
|
"widget": "value"
|
|
},
|
|
"format": null,
|
|
"group": "0",
|
|
"is_hidden": false,
|
|
"label": "CDU",
|
|
"order": 0,
|
|
"read_only": false,
|
|
"states": [
|
|
{
|
|
"label": "state",
|
|
"value": 0
|
|
}
|
|
],
|
|
"sub_path": "/Config/status",
|
|
"type": "Config",
|
|
"widget": "config_analog"
|
|
},
|
|
{
|
|
"access_level": null,
|
|
"config": {
|
|
"states": [
|
|
{
|
|
"label": "lbl",
|
|
"value": 0
|
|
}
|
|
],
|
|
"widget": "value"
|
|
},
|
|
"format": null,
|
|
"group": "0",
|
|
"is_hidden": false,
|
|
"label": "CDU",
|
|
"order": 0,
|
|
"read_only": false,
|
|
"states": [
|
|
{
|
|
"label": "state",
|
|
"value": 0
|
|
}
|
|
],
|
|
"sub_path": "/Config/temperature_setpoint",
|
|
"type": "Config",
|
|
"widget": "config_analog"
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"tagpath": "[default]_Testing/CDU",
|
|
"udt_type": "_template"
|
|
},
|
|
"propConfig": {
|
|
"custom.tags": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagpath"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn ui.details.get_udt_configuration(value, \u0027Config\u0027)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.tagpath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.udt_type": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "FlexRepeater"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.instances": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.items"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\toutput \u003d []\n\tfor item in value:\n\t\telement \u003d {}\n\t\telement[\u0027item\u0027] \u003d item\n\t\toutput.append(element)\n\treturn output",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"elementPosition": {
|
|
"basis": "auto"
|
|
},
|
|
"justify": "center",
|
|
"path": "Components/Atoms/Fields/_generic_field",
|
|
"style": {
|
|
"marginRight": "5px"
|
|
},
|
|
"wrap": "wrap"
|
|
},
|
|
"type": "ia.display.flex-repeater"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"classes": "Common/Static/card"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |