122 lines
2.8 KiB
Plaintext
122 lines
2.8 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"enabled": true,
|
|
"format": "###.##",
|
|
"max": 9999999,
|
|
"min": -9999999,
|
|
"tagPath": "[Ignition_Common_IO_Gtwy]GAL1261/SATB1_GAL1261_HUM_03/Config/Relative Humidity Setpoint"
|
|
},
|
|
"propConfig": {
|
|
"params.enabled": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.format": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.max": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.min": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 40,
|
|
"width": 200
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "NumericEntryField"
|
|
},
|
|
"position": {
|
|
"grow": 1
|
|
},
|
|
"propConfig": {
|
|
"props.enabled": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.enabled"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.format": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.format"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.inputBounds.maximum": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.max"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.inputBounds.minimum": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.params.min"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.style.color": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
|
|
},
|
|
"type": "expr"
|
|
}
|
|
},
|
|
"props.value": {
|
|
"binding": {
|
|
"config": {
|
|
"bidirectional": true,
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"inputBounds": {},
|
|
"style": {
|
|
"fontWeight": "bold",
|
|
"min-height": "30px"
|
|
}
|
|
},
|
|
"type": "ia.input.numeric-entry-field"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"alignItems": "center",
|
|
"justify": "center"
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |