20260505 Backup
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"custom": {},
|
||||
"params": {
|
||||
"deviceDataset": "[default]Device Datasets/String/Info",
|
||||
"objectName": "String",
|
||||
"tagPath": "[PHXA2_IG_COMN]CP2321/PHXA2_UPS_BATT_VM_R2/2_1/Strings/1"
|
||||
},
|
||||
"propConfig": {
|
||||
"params.deviceDataset": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.objectName": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
},
|
||||
"params.tagPath": {
|
||||
"paramDirection": "input",
|
||||
"persistent": true
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"defaultSize": {
|
||||
"height": 479
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"children": [
|
||||
{
|
||||
"meta": {
|
||||
"name": "FlexRepeater"
|
||||
},
|
||||
"position": {
|
||||
"basis": "98.7%"
|
||||
},
|
||||
"propConfig": {
|
||||
"props.instances": {
|
||||
"binding": {
|
||||
"config": {
|
||||
"path": "view.params.tagPath"
|
||||
},
|
||||
"transforms": [
|
||||
{
|
||||
"code": "\tdeviceDataset \u003d system.tag.readBlocking(self.view.params.deviceDataset)[0].value\n\treturn Global.DeviceDatasets.getTagInstances(deviceDataset\u003ddeviceDataset, tagPath\u003dvalue)",
|
||||
"type": "script"
|
||||
}
|
||||
],
|
||||
"type": "property"
|
||||
}
|
||||
}
|
||||
},
|
||||
"props": {
|
||||
"alignContent": "flex-start",
|
||||
"elementPosition": {
|
||||
"basis": "50%",
|
||||
"grow": 0
|
||||
},
|
||||
"loading": {
|
||||
"order": "with-parent"
|
||||
},
|
||||
"path": "Library/Templates/Framework/Tag Info",
|
||||
"style": {
|
||||
"border": "1px solid var(--border)",
|
||||
"gap": "10px 0",
|
||||
"padding": "10px"
|
||||
},
|
||||
"useDefaultViewHeight": false,
|
||||
"useDefaultViewWidth": false,
|
||||
"wrap": "wrap"
|
||||
},
|
||||
"type": "ia.display.flex-repeater"
|
||||
}
|
||||
],
|
||||
"events": {
|
||||
"dom": {
|
||||
"onClick": {
|
||||
"config": {
|
||||
"script": "\t\n\tpageId \u003d self.page.props.pageId\n#\tsystem.perspective.print(\u0027pageId: {}\u0027.format(pageId))\n\t\n\ttagPath \u003d self.view.params.tagPath\n\tobjectName \u003d self.view.params.objectName\n\tutils.nav.openEQPopup(objectName, tagPath)\t"
|
||||
},
|
||||
"scope": "G",
|
||||
"type": "script"
|
||||
}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"name": "root"
|
||||
},
|
||||
"props": {
|
||||
"direction": "column",
|
||||
"style": {
|
||||
"classes": "containers/padded-container"
|
||||
}
|
||||
},
|
||||
"type": "ia.container.flex"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user