209 lines
5.2 KiB
Plaintext
209 lines
5.2 KiB
Plaintext
{
|
|
"custom": {},
|
|
"params": {
|
|
"tagpath": "value",
|
|
"title": "value"
|
|
},
|
|
"propConfig": {
|
|
"params.tagpath": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
},
|
|
"params.title": {
|
|
"paramDirection": "input",
|
|
"persistent": true
|
|
}
|
|
},
|
|
"props": {
|
|
"defaultSize": {
|
|
"height": 111,
|
|
"width": 51
|
|
}
|
|
},
|
|
"root": {
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Title"
|
|
},
|
|
"position": {
|
|
"basis": "15%"
|
|
},
|
|
"props": {
|
|
"style": {
|
|
"fontSize": 12,
|
|
"textAlign": "center"
|
|
},
|
|
"text": "Dewpoint"
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "MovingAnalogIndicator"
|
|
},
|
|
"position": {
|
|
"basis": "50%"
|
|
},
|
|
"propConfig": {
|
|
"props.processValue": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"DH": "{view.params.DH}",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/OPC Tags/SATB1_DH{DH}_Dwpt"
|
|
},
|
|
"enabled": false,
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "###.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"desiredHigh": 65,
|
|
"desiredLow": 40,
|
|
"desiredRangeColor": "#4BC7D3",
|
|
"highAlarm": 90,
|
|
"highHighAlarm": null,
|
|
"highInterlock": null,
|
|
"label": {
|
|
"style": {
|
|
"fontSize": 30,
|
|
"fontWeight": "normal",
|
|
"overflow": "visible",
|
|
"textAlign": "left"
|
|
}
|
|
},
|
|
"lowAlarm": 10,
|
|
"lowInterlock": null,
|
|
"lowLowAlarm": null,
|
|
"processValue": 65,
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.display.moving-analog-indicator"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer"
|
|
},
|
|
"position": {
|
|
"basis": "80%"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
},
|
|
{
|
|
"children": [
|
|
{
|
|
"meta": {
|
|
"name": "Value"
|
|
},
|
|
"position": {
|
|
"basis": "50px"
|
|
},
|
|
"propConfig": {
|
|
"props.text": {
|
|
"binding": {
|
|
"config": {
|
|
"fallbackDelay": 2.5,
|
|
"mode": "indirect",
|
|
"references": {
|
|
"DH": "{view.params.DH}",
|
|
"tagPath": "{view.params.tagPath}"
|
|
},
|
|
"tagPath": "{tagPath}/OPC Tags/SATB1_DH{DH}_Dwpt"
|
|
},
|
|
"transforms": [
|
|
{
|
|
"code": "\tif value is None:\n\t\treturn 0\n\treturn value",
|
|
"type": "script"
|
|
},
|
|
{
|
|
"formatType": "numeric",
|
|
"formatValue": "###.##",
|
|
"type": "format"
|
|
}
|
|
],
|
|
"type": "tag"
|
|
}
|
|
}
|
|
},
|
|
"props": {
|
|
"textStyle": {
|
|
"color": "--tagvalue-color",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12,
|
|
"textAlign": "end"
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
},
|
|
{
|
|
"meta": {
|
|
"name": "EU"
|
|
},
|
|
"position": {
|
|
"basis": "50px"
|
|
},
|
|
"props": {
|
|
"text": "degF",
|
|
"textStyle": {
|
|
"color": "--units-color",
|
|
"fontFamily": "inherit",
|
|
"fontSize": 12
|
|
}
|
|
},
|
|
"type": "ia.display.label"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "FlexContainer_0"
|
|
},
|
|
"position": {
|
|
"basis": "15%"
|
|
},
|
|
"props": {
|
|
"justify": "center",
|
|
"style": {
|
|
"gap": "5px",
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
],
|
|
"meta": {
|
|
"name": "root"
|
|
},
|
|
"props": {
|
|
"direction": "column",
|
|
"style": {
|
|
"overflow": "visible"
|
|
}
|
|
},
|
|
"type": "ia.container.flex"
|
|
}
|
|
} |