Files
Stream_PHX_A7/Gateways/FE/projects/.resources/6ecd1e73c75b7e2722472457871d9a10dc0fe4678c6d684c8a4d91cd722849b1

220 lines
5.1 KiB
Plaintext

{
"custom": {
"key": 1
},
"params": {
"DH": "DH101"
},
"propConfig": {
"custom.key": {
"binding": {
"config": {
"path": "view.params.DH"
},
"transforms": [
{
"fallback": 1,
"inputType": "scalar",
"mappings": [
{
"input": "DH101",
"output": 1
},
{
"input": "DH102",
"output": 2
},
{
"input": "DH201",
"output": 3
},
{
"input": "DH202",
"output": 4
},
{
"input": "DH203",
"output": 5
}
],
"outputType": "scalar",
"type": "map"
}
],
"type": "property"
},
"persistent": true
},
"params.DH": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 150,
"width": 300
}
},
"root": {
"children": [
{
"meta": {
"name": "Gauge"
},
"position": {
"basis": "150px"
},
"propConfig": {
"props.value": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"key": "{view.custom.key}"
},
"tagPath": "[default]simulator/CHW_System/Ton{key}"
},
"type": "tag"
}
}
},
"props": {
"backgroundColor": "",
"innerAxis": {
"data": "secondaryValue",
"maxValue": 80,
"percentRadius": 10,
"show": false,
"width": 0
},
"outerAxis": {
"data": "value",
"maxValue": 4000,
"percentRadius": 90,
"ranges": [
{
"color": "#77b6d8",
"end": 4000,
"start": 0,
"width": 10
}
],
"show": true,
"width": 1
},
"style": {
"overflow": "visible"
}
},
"type": "ia.chart.gauge"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "32px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"path": "view.params.DH"
},
"type": "property"
}
}
},
"props": {
"style": {
"marginRight": 25
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_0"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"fallbackDelay": 2.5,
"mode": "indirect",
"references": {
"key": "{view.custom.key}"
},
"tagPath": "[default]simulator/CHW_System/Ton{key}"
},
"type": "tag"
}
}
},
"props": {
"textStyle": {
"color": "var(--tagvalue-color)",
"fontFamily": "inherit",
"fontSize": 12,
"numberFormat": "###0.##",
"textAlign": "right"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Label_1"
},
"props": {
"text": "Tons",
"textStyle": {
"color": "--units-color",
"fontFamily": "inherit",
"fontSize": 12,
"paddingLeft": 5
}
},
"type": "ia.display.label"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "15%"
},
"props": {
"alignContent": "center",
"alignItems": "center",
"justify": "center",
"style": {
"marginTop": -20,
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container)",
"borderBottomLeftRadius": 4,
"borderBottomRightRadius": 4,
"borderTopLeftRadius": 4,
"borderTopRightRadius": 4,
"boxShadow": "var(--boxShadow2)",
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
}