179 lines
4.1 KiB
Plaintext
179 lines
4.1 KiB
Plaintext
{
|
|
"custom": {
|
|
"tags": [
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Floor",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Floor",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
},
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Location",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Location",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
},
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Manufacturer",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Manufacturer",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
},
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Model",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Model",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
},
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Serial",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Serial",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
},
|
|
{
|
|
"access_level": 0,
|
|
"format": "0.0",
|
|
"group": 1,
|
|
"is_hidden": false,
|
|
"is_read_only": false,
|
|
"item_label": "Site",
|
|
"order": 1,
|
|
"states": null,
|
|
"sub_path": "/Info/Site",
|
|
"type": "info",
|
|
"widget": "meta_field"
|
|
}
|
|
]
|
|
},
|
|
"params": {
|
|
"tagpath": "[Ignition_TX21_BE]DM11/Testing_CDU",
|
|
"udt_type": "CDU"
|
|
},
|
|
"propConfig": {
|
|
"custom.tags": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagpath"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn ui.details.get_udt_configuration(value, \u0027info\u0027)",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.tagpath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.udt_type": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 803,
|
|
"width": 600
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "FlexRepeater"
|
|
},
|
|
"position": {
|
|
"basis": "663px"
|
|
},
|
|
"propConfig": {
|
|
"props.instances": {
|
|
"binding": {
|
|
"config": {
|
|
"struct": {
|
|
"path": "{view.params.tagpath}",
|
|
"tags": "{view.custom.tags}"
|
|
},
|
|
"waitOnAll": true
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn ui.details.generate_flex_array(value[\u0027tags\u0027], value[\u0027path\u0027])",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "expr-struct"
|
|
}
|
|
},
|
|
"props.instances[0]": {
|
|
"access": "PROTECTED"
|
|
}
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"elementPosition": {
|
|
"basis": "100%",
|
|
"shrink": 0
|
|
},
|
|
"path": "Components/Atoms/Fields/meta_field",
|
|
"style": {
|
|
"gap": "var(--space-sm)",
|
|
"overflow": "visible"
|
|
},
|
|
"useDefaultViewWidth": false
|
|
},
|
|
"type": "ia.display.flex-repeater"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"background": "var(--container)",
|
|
"classes": "Common/Static/card"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |