206 lines
4.9 KiB
Plaintext
206 lines
4.9 KiB
Plaintext
{
|
|
"custom": {
|
|
"EU": "tons",
|
|
"Tag": "DH1"
|
|
},
|
|
"params": {
|
|
"DH": 1,
|
|
"tagPath": "[default]simulator/CHW_System/Ton1"
|
|
},
|
|
"propConfig": {
|
|
"custom.EU": {
|
|
"persistent": true
|
|
},
|
|
"custom.Tag": {
|
|
"binding": {
|
|
"config": {
|
|
"expression": "concat(\"DH\",{view.params.DH})"
|
|
},
|
|
"type": "expr"
|
|
},
|
|
"persistent": true
|
|
},
|
|
"params.DH": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.tagPath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 63,
|
|
"width": 128
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Label"
|
|
},
|
|
"position": {
|
|
"basis": "40%"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.Tag"
|
|
},
|
|
"type": "property"
|
|
}
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "Transmitter"
|
|
},
|
|
"position": {
|
|
"basis": "60%"
|
|
},
|
|
"propConfig": {
|
|
"props.params.EU": {
|
|
"binding": {
|
|
"config": {
|
|
"path": "view.custom.EU"
|
|
},
|
|
"type": "property"
|
|
}
|
|
},
|
|
"props.params.Value": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}.value"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"params": {
|
|
"EU_Pos": 1,
|
|
"Size": 12
|
|
},
|
|
"path": "Library/Widgets/Wgt_Variable",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.view"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "60%"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 12,
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "MovingAnalogIndicator"
|
|
},
|
|
"position": {
|
|
"basis": "40%"
|
|
},
|
|
"propConfig": {
|
|
"props.desiredHigh": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}.value"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "{value} + 100",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.desiredLow": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}.value"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"expression": "{value} - 100",
|
|
"type": "expression"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
},
|
|
"props.processValue": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}.value"
|
|
},
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"desiredRangeColor": "var(--state-running)",
|
|
"highAlarm": 1900,
|
|
"highHighAlarm": 1950,
|
|
"highInterlock": null,
|
|
"inactiveAlarmColor": "var(--alarm-high)",
|
|
"lowAlarm": 100,
|
|
"lowInterlock": 0,
|
|
"lowLowAlarm": 0,
|
|
"maxValue": 2000,
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.moving-analog-indicator"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |