98 lines
2.2 KiB
Plaintext
98 lines
2.2 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"enabled": true,
|
|
"tagPath": "[Ignition_SATB1_IO1_default]Datahall 1/Development/Motor 1/Config/Cfg_FTR_DelaySP"
|
|
},
|
|
"propConfig": {
|
|
"params.enabled": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 40,
|
|
"width": 200
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField",
|
|
"tooltip": {}
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"meta.tooltip.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.enabled"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "session.props.auth.authenticated"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"1": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{1}"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "####.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"format": "###.###",
|
|
"style": {
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |