107 lines
2.4 KiB
Plaintext
107 lines
2.4 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"dataType": "UDT",
|
|
"isUDT": true,
|
|
"name": "CHW Valve Command",
|
|
"tagPath": "[default]UDT_Instances/Air/CRAH_Instance/CHW Valve Command",
|
|
"udtType": "Objects/Basic/DiscreteIn"
|
|
},
|
|
"propConfig": {
|
|
"params.dataType": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.isUDT": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.name": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.udtType": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 40
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "EmbeddedView"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.params.dataType": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.dataType"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.params.name": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.name"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.params.objectName": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.udtType"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\treturn value.split(\u0027/\u0027)[-1]",
|
|
"type": "script"
|
|
}
|
|
],
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.params.tagPath": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.tagPath"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.path": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({view.params.isUDT} \u003d True, \"Library/Framework/Tag UDT\", \"Library/Framework/Tag Info\")"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |