Files
Stream_PHX_A7/Gateways/FE/projects/.resources/5f4114e0e7c13e009722ddaeda79df10dbc142b4942311337871c9142103e84d

278 lines
6.9 KiB
Plaintext

{
"custom": {
"OCmd": {}
},
"params": {
"auth": {
"almAck": true,
"almShelve": true,
"config": true,
"control": true
},
"tagPath": "[Ignition_Common_IO_Gtwy]DH1/SATB1_DH1_PNL24_C0_HT01"
},
"propConfig": {
"custom.OCmd": {
"persistent": true
},
"custom.OCmd.Reset": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_Reset"
},
"type": "tag"
}
},
"custom.OCmd.SubEn": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_SubstituteEN"
},
"type": "tag"
}
},
"custom.OCmd.SubVal": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"tagPath": "{view.params.tagPath}"
},
"tagPath": "{tagPath}/Control/OCmd_SubstituteVal"
},
"type": "tag"
}
},
"params.auth": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {},
"root": {
"children": [
{
"children": [
{
"events": {
"dom": {
"onClick": {
"config": {
"script": "\tself.view.custom.OCmd.Reset \u003d True"
},
"scope": "G",
"type": "script"
}
}
},
"meta": {
"name": "OOSBtn"
},
"position": {
"basis": "50px"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
}
},
"props": {
"primary": false,
"text": "Reset"
},
"type": "ia.input.button"
}
],
"meta": {
"name": "Left Column"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column",
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"children": [
{
"meta": {
"name": "Description",
"tooltip": {
"width": "50%"
}
},
"position": {
"basis": "50%"
},
"props": {
"style": {
"marginRight": 20
},
"text": "Substitute Enable"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Val"
},
"position": {
"basis": "50%"
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"path": "view.params.auth.control"
},
"type": "property"
}
},
"props.selected": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.custom.OCmd.SubEn"
},
"type": "property"
}
}
},
"props": {
"text": ""
},
"type": "ia.input.checkbox"
}
],
"meta": {
"name": "SubEnable"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Description"
},
"position": {
"basis": "50%"
},
"props": {
"style": {
"marginRight": 20
},
"text": "Substitute Setpoint"
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Val"
},
"position": {
"basis": "50%",
"grow": 1
},
"propConfig": {
"props.enabled": {
"binding": {
"config": {
"expression": "{view.custom.OCmd.SubEn} \u0026\u0026 {view.params.auth.control}"
},
"type": "expr"
}
},
"props.style.color": {
"binding": {
"config": {
"expression": "if({this.props.enabled}, \u0027var(--tagvalue-color)\u0027, \u0027\u0027)"
},
"type": "expr"
}
},
"props.value": {
"binding": {
"config": {
"bidirectional": true,
"path": "view.custom.OCmd.SubVal"
},
"type": "property"
}
}
},
"props": {
"style": {
"fontWeight": "bold",
"min-height": "30px"
}
},
"type": "ia.input.numeric-entry-field"
}
],
"meta": {
"name": "SubVal"
},
"position": {
"basis": "50px"
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "Right Column"
},
"position": {
"basis": "50%"
},
"props": {
"direction": "column",
"style": {
"gap": "10px"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"style": {
"classes": "containers/padded-container",
"gap": "10px"
}
},
"type": "ia.container.flex"
}
}