Files
Stream_PHX_A7/Gateways/FE/projects/.resources/fc2fd9fe9934700fe64058e5442d95513fc87adba4e505693adf5ed4deb5f864

2641 lines
82 KiB
Plaintext

{
"custom": {},
"params": {
"DH": 5,
"tagPath": "[Ignition_Common_IO_Gtwy]DH5"
},
"propConfig": {
"params.DH": {
"paramDirection": "input",
"persistent": true
},
"params.tagPath": {
"paramDirection": "input",
"persistent": true
}
},
"props": {
"defaultSize": {
"height": 700,
"width": 248
}
},
"root": {
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "22px"
},
"propConfig": {
"props.text": {
"binding": {
"config": {
"expression": "concat(\"DH\", {view.params.DH})"
},
"type": "expr"
}
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "XYChart"
},
"position": {
"basis": "300px",
"grow": 1
},
"propConfig": {
"custom.raw": {
"binding": {
"config": {
"aggregate": "MinMax",
"avoidScanClassValidation": true,
"dateRange": {
"mostRecent": "2",
"mostRecentUnits": "HOUR"
},
"enableValueCache": true,
"ignoreBadQuality": false,
"polling": {
"enabled": true,
"rate": "30"
},
"preventInterpolation": false,
"returnFormat": "Wide",
"returnSize": {
"numRows": "20",
"type": "FIXED"
},
"tags": "{this.custom.tags}",
"valueFormat": "DOCUMENT"
},
"type": "tag-history"
}
},
"custom.tags": {
"binding": {
"config": {
"struct": {},
"waitOnAll": true
},
"transforms": [
{
"code": "\toutput \u003d []\n\taggregate \u003d \"LastValue\"\n\talias \u003d \"Value\"\n\ttags \u003d system.tag.browse(self.view.params.tagPath, {\"name\":\"*C**_TT*\",\"typeId\":\"Objects/Basic/AnalogIn_RS485\",\"tagType\":\"UdtInstance\"})\n\tfor item in tags:\n\t\trun_path \u003d str(item[\"fullPath\"]) + \"/Val\"\n\t\toutput.append({\"aggregate\": aggregate, \"alias\": str(item[\"name\"]), \"path\": run_path})\n\t\n\treturn output\n\t\n\t\n\t\t\n\t\t",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Average": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput \u003d []\n\tavgValue \u003d 0\n\titems \u003d 0\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tavgValue +\u003d item[key]\n\t\t\titems +\u003d 1\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Average\": avgValue/items})\n\t\titems \u003d 0\n\t\tavgValue \u003d 0\n\treturn output\n\t\n\t",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Maximum": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput \u003d []\n\tmaxValue \u003d 0\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tif item[key] \u003e maxValue:\n\t\t\t\tmaxValue \u003d item[key]\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Maximum\": maxValue})\t\n\n\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Minimum": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput, keys, values \u003d [], [],[]\n\tminValue \u003d 99999\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tif item[key] \u003c minValue:\n\t\t\t\tminValue \u003d item[key]\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Minimum\": minValue})\t\n\n\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"background": {
"render": "gradient"
},
"dataSources": {},
"legend": {
"enabled": false
},
"series": [
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Average",
"x": "t_stamp",
"y": "Average"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Temperature"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "#F91111",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "#FA1616",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Average",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Temperature",
"zIndex": 1
},
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Minimum",
"x": "t_stamp",
"y": "Minimum"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Process Temp"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Minimum",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Temperature",
"zIndex": 2
},
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Maximum",
"x": "t_stamp",
"y": "Maximum"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Process Temp"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Maximum",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Temperature",
"zIndex": 3
}
],
"style": {
"marginBottom": -20,
"overflow": "visible"
},
"title": {
"appearance": {
"color": "#828282",
"font": {
"size": 12
},
"padding": {
"bottom": 8,
"top": -10
}
},
"text": "Temp (Avg, Min, Max)"
},
"xAxes": [
{
"appearance": {
"font": {
"size": "",
"weight": 500
},
"grid": {
"color": "",
"dashArray": "",
"minDistance": 60,
"opacity": 1,
"position": 0.5
},
"inside": false,
"labels": {
"color": "",
"horizontalCenter": "middle",
"opacity": 1,
"rotation": 0,
"verticalCenter": "middle"
},
"opposite": false
},
"category": {
"break": {
"enabled": false,
"endCategory": "",
"size": 0.05,
"startCategory": ""
}
},
"date": {
"baseInterval": {
"count": 15,
"enabled": true,
"skipEmptyPeriods": false,
"timeUnit": "minute"
},
"break": {
"enabled": false,
"endDate": "",
"size": 0.05,
"startDate": ""
},
"format": "HH:mm",
"inputFormat": "HH:mm",
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"inversed": false,
"label": {
"color": "",
"enabled": false,
"text": "Time"
},
"name": "time",
"render": "date",
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": ""
},
"value": {
"break": {
"enabled": false,
"endValue": 100,
"size": 0.05,
"startValue": 0
},
"format": "#,###.##",
"logarithmic": false,
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"visible": true
}
],
"yAxes": [
{
"appearance": {
"font": {
"size": "",
"weight": 500
},
"grid": {
"color": "",
"dashArray": "",
"minDistance": null,
"opacity": 1,
"position": 0.5
},
"inside": false,
"labels": {
"color": "",
"horizontalCenter": "middle",
"opacity": 1,
"rotation": 0,
"verticalCenter": "middle"
},
"opposite": false
},
"category": {
"break": {
"enabled": false,
"endCategory": "",
"size": 0.05,
"startCategory": ""
}
},
"date": {
"baseInterval": {
"count": 1,
"enabled": false,
"skipEmptyPeriods": false,
"timeUnit": "hour"
},
"break": {
"enabled": false,
"endDate": "",
"size": 0.05,
"startDate": ""
},
"format": "M/d/yyyy HH:mm:ss",
"inputFormat": "yyyy-MM-dd kk:mm:ss",
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"inversed": false,
"label": {
"color": "",
"enabled": false,
"text": "Temperature"
},
"name": "Temperature",
"render": "value",
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": ""
},
"value": {
"break": {
"enabled": false,
"endValue": 100,
"size": 0.05,
"startValue": 0
},
"format": "###.#",
"logarithmic": false,
"range": {
"max": 100,
"min": 0,
"useStrict": false
}
},
"visible": true
}
]
},
"type": "ia.chart.xy"
},
{
"meta": {
"name": "XYChart_0"
},
"position": {
"basis": "300px",
"grow": 1
},
"propConfig": {
"custom.raw": {
"binding": {
"config": {
"aggregate": "MinMax",
"avoidScanClassValidation": true,
"dateRange": {
"mostRecent": "2",
"mostRecentUnits": "HOUR"
},
"enableValueCache": true,
"ignoreBadQuality": false,
"polling": {
"enabled": true,
"rate": "30"
},
"preventInterpolation": false,
"returnFormat": "Wide",
"returnSize": {
"numRows": "20",
"type": "FIXED"
},
"tags": "{this.custom.tags}",
"valueFormat": "DOCUMENT"
},
"type": "tag-history"
}
},
"custom.tags": {
"binding": {
"config": {
"struct": {},
"waitOnAll": true
},
"transforms": [
{
"code": "\toutput \u003d []\n\taggregate \u003d \"LastValue\"\n\talias \u003d \"Value\"\n\ttags \u003d system.tag.browse(self.view.params.tagPath, {\"name\":\"*C**_HT*\",\"typeId\":\"Objects/Basic/AnalogIn_RS485\",\"tagType\":\"UdtInstance\"})\n\tfor item in tags:\n\t\trun_path \u003d str(item[\"fullPath\"]) + \"/Val\"\n\t\toutput.append({\"aggregate\": aggregate, \"alias\": str(item[\"name\"]), \"path\": run_path})\n\t\n\treturn output\n\t\n\t\n\t\t\n\t\t",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Average": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput \u003d []\n\tavgValue \u003d 0\n\titems \u003d 0\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tavgValue +\u003d item[key]\n\t\t\titems +\u003d 1\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Average\": avgValue/items})\n\t\titems \u003d 0\n\t\tavgValue \u003d 0\n\treturn output\n\t\n\t",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Maximum": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput \u003d []\n\tmaxValue \u003d 0\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tif item[key] \u003e maxValue:\n\t\t\t\tmaxValue \u003d item[key]\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Maximum\": maxValue})\t\n\n\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
},
"props.dataSources.Minimum": {
"binding": {
"config": {
"struct": {
"dataset": "{this.custom.raw}"
},
"waitOnAll": true
},
"transforms": [
{
"code": "\t\n\trawHist \u003d value[\u0027dataset\u0027]\n\toutput, keys, values \u003d [], [],[]\n\tminValue \u003d 99999\n\tfor item in rawHist:\n\t\tfor key in item:\n\t\t\tif key \u003d\u003d \"t_stamp\": \n\t\t\t\tstamp \u003d item[key]\n\t\t\t\tcontinue\n\t\t\tif item[key] \u003c minValue:\n\t\t\t\tminValue \u003d item[key]\n\t\toutput.append({\u0027t_stamp\u0027: stamp, \"Minimum\": minValue})\t\n\n\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"background": {
"render": "gradient"
},
"dataSources": {},
"legend": {
"enabled": false
},
"series": [
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Average",
"x": "t_stamp",
"y": "Average"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Temperature"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "#F91111",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "#FA1616",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Average",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Humidity",
"zIndex": 1
},
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Minimum",
"x": "t_stamp",
"y": "Minimum"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Process Temp"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Minimum",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Humidity",
"zIndex": 2
},
{
"candlestick": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
}
},
"high": {
"x": "",
"y": ""
},
"low": {
"x": "",
"y": ""
},
"open": {
"x": "",
"y": ""
}
},
"column": {
"appearance": {
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": "",
"min": ""
},
"height": null,
"stacked": false,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"width": null
},
"open": {
"x": "",
"y": ""
}
},
"data": {
"source": "Maximum",
"x": "t_stamp",
"y": "Maximum"
},
"defaultState": {
"visible": true
},
"hiddenInLegend": false,
"label": {
"text": "Process Temp"
},
"line": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": false,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"name": "Maximum",
"render": "line",
"stepLine": {
"appearance": {
"bullets": [
{
"deriveFieldsFromData": {
"fill": {
"color": "",
"opacity": ""
},
"rotation": "",
"stroke": {
"color": "",
"opacity": "",
"width": ""
}
},
"enabled": true,
"fill": {
"color": "",
"opacity": 1
},
"heatRules": {
"dataField": "",
"enabled": false,
"max": 100,
"min": 2
},
"height": 10,
"label": {
"position": {
"dx": 0,
"dy": 0
},
"text": "{value}"
},
"render": "circle",
"rotation": 0,
"stroke": {
"color": "",
"opacity": 1,
"width": 1
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"width": 10
}
],
"connect": true,
"fill": {
"color": "",
"opacity": 0
},
"minDistance": 0.5,
"stroke": {
"color": "",
"dashArray": "",
"opacity": 1,
"width": 3
},
"tensionX": 1,
"tensionY": 1
},
"open": {
"x": "",
"y": ""
}
},
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "{name}: [bold]{valueY}[/]"
},
"visible": true,
"xAxis": "time",
"yAxis": "Humidity",
"zIndex": 3
}
],
"style": {
"marginBottom": -20,
"overflow": "visible"
},
"title": {
"appearance": {
"color": "#828282",
"font": {
"size": 12
},
"padding": {
"bottom": 8,
"top": -10
}
},
"text": "Hum (Avg, Min, Max)"
},
"xAxes": [
{
"appearance": {
"font": {
"size": "",
"weight": 500
},
"grid": {
"color": "",
"dashArray": "",
"minDistance": 60,
"opacity": 1,
"position": 0.5
},
"inside": false,
"labels": {
"color": "",
"horizontalCenter": "middle",
"opacity": 1,
"rotation": 0,
"verticalCenter": "middle"
},
"opposite": false
},
"category": {
"break": {
"enabled": false,
"endCategory": "",
"size": 0.05,
"startCategory": ""
}
},
"date": {
"baseInterval": {
"count": 15,
"enabled": true,
"skipEmptyPeriods": false,
"timeUnit": "minute"
},
"break": {
"enabled": false,
"endDate": "",
"size": 0.05,
"startDate": ""
},
"format": "HH:mm",
"inputFormat": "HH:mm",
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"inversed": false,
"label": {
"color": "",
"enabled": false,
"text": "Time"
},
"name": "time",
"render": "date",
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": ""
},
"value": {
"break": {
"enabled": false,
"endValue": 100,
"size": 0.05,
"startValue": 0
},
"format": "#,###.##",
"logarithmic": false,
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"visible": true
}
],
"yAxes": [
{
"appearance": {
"font": {
"size": "",
"weight": 500
},
"grid": {
"color": "",
"dashArray": "",
"minDistance": null,
"opacity": 1,
"position": 0.5
},
"inside": false,
"labels": {
"color": "",
"horizontalCenter": "middle",
"opacity": 1,
"rotation": 0,
"verticalCenter": "middle"
},
"opposite": false
},
"category": {
"break": {
"enabled": false,
"endCategory": "",
"size": 0.05,
"startCategory": ""
}
},
"date": {
"baseInterval": {
"count": 1,
"enabled": false,
"skipEmptyPeriods": false,
"timeUnit": "hour"
},
"break": {
"enabled": false,
"endDate": "",
"size": 0.05,
"startDate": ""
},
"format": "M/d/yyyy HH:mm:ss",
"inputFormat": "yyyy-MM-dd kk:mm:ss",
"range": {
"max": "",
"min": "",
"useStrict": false
}
},
"inversed": false,
"label": {
"color": "",
"enabled": false,
"text": "Humidity"
},
"name": "Humidity",
"render": "value",
"tooltip": {
"background": {
"color": "",
"opacity": 1
},
"cornerRadius": 3,
"enabled": true,
"pointerLength": 4,
"text": "Humidity"
},
"value": {
"break": {
"enabled": false,
"endValue": 100,
"size": 0.05,
"startValue": 0
},
"format": "###.#",
"logarithmic": false,
"range": {
"max": 100,
"min": 0,
"useStrict": false
}
},
"visible": true
}
]
},
"type": "ia.chart.xy"
},
{
"children": [
{
"meta": {
"name": "STU PieChart"
},
"position": {
"basis": "75%",
"grow": 1
},
"propConfig": {
"custom.tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_Common_IO_Gtwy]DH\",{view.params.DH})"
},
"type": "expr"
}
},
"props.params.Values": {
"binding": {
"config": {
"struct": {},
"waitOnAll": true
},
"transforms": [
{
"code": "\toutput \u003d []\n\trunning \u003d 0\n\tstandby \u003d 0\n\tfaulted \u003d 0\n\ttags \u003d system.tag.browse(self.custom.tagPath,{\"typeId\":\"Objects/Air/STU\",\"tagType\":\"UdtInstance\"})\n\tfor item in tags:\n\t\tunitStatus \u003d system.tag.readBlocking(str(item[\"fullPath\"]) + \"/Unit Status\")\n\t\tfailureAlarm \u003d system.tag.readBlocking(str(item[\"fullPath\"]) + \"/Alarms/Failure Alarm\")\n\t\tif(failureAlarm[0].value):\n\t\t\tfaulted+\u003d1\n\t\t\tcontinue\n\t\tif(unitStatus[0].value \u003d\u003d 1):\n\t\t\trunning+\u003d1\n\t\telse:\n\t\t\tstandby+\u003d1\n\t\t\n\toutput.append({\"Status\":\"Running\", \"count\": running})\n\toutput.append({\"Status\":\"Standby\", \"count\": standby})\n\toutput.append({\"Status\":\"Faulted\", \"count\": faulted})\n\treturn output",
"type": "script"
}
],
"type": "expr-struct"
}
}
},
"props": {
"params": {
"Tag": "STU"
},
"path": "Library/CommonObjects/PieChartt",
"style": {
"overflow": "visible"
}
},
"type": "ia.display.view"
},
{
"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}/DH{DH} Dewpoint"
},
"type": "tag"
}
}
},
"props": {
"desiredHigh": 65,
"desiredLow": 40,
"highAlarm": 90,
"highHighAlarm": null,
"highInterlock": null,
"label": {
"style": {
"fontSize": 30,
"fontWeight": "normal",
"overflow": "visible",
"textAlign": "left"
}
},
"lowAlarm": 10,
"lowInterlock": null,
"lowLowAlarm": null,
"style": {
"bowShadow": "var(--boxShadow1)",
"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}/DH{DH} Dewpoint"
},
"transforms": [
{
"formatType": "numeric",
"formatValue": "#.00",
"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": "psi",
"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"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer_0",
"tooltip": {
"width": "35%"
}
},
"position": {
"basis": "55%"
},
"props": {
"direction": "column",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
}
],
"meta": {
"name": "FlexContainer"
},
"position": {
"basis": "200px",
"grow": 1
},
"props": {
"justify": "center",
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"children": [
{
"meta": {
"name": "Label"
},
"position": {
"basis": "30%"
},
"props": {
"text": "Source: ",
"textStyle": {
"fontSize": 12,
"textAlign": "left"
}
},
"type": "ia.display.label"
},
{
"meta": {
"name": "Transmitter"
},
"position": {
"basis": "50%",
"grow": 1
},
"props": {
"params": {
"FalseText": "Utility",
"TrueText": "Generators",
"objectName": "DiscreteIn",
"tagPath": "[Ignition_Common_IO_Gtwy]Roof/CH31_TT_RET"
},
"path": "Library/CommonObjects/BooleanIndicator",
"style": {
"overflow": "visible"
}
},
"type": "ia.display.view"
}
],
"meta": {
"name": "FlexContainer_0"
},
"position": {
"basis": "35px",
"grow": 1
},
"props": {
"style": {
"overflow": "visible"
}
},
"type": "ia.container.flex"
},
{
"meta": {
"name": "FlexRepeater"
},
"position": {
"basis": "75px",
"grow": 1
},
"propConfig": {
"props.instances[0].tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_SATB1_IO1_default]Yard/GEN-P\",{view.params.DH},\"_1\")"
},
"type": "expr"
}
},
"props.instances[1].tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_SATB1_IO1_default]Yard/GEN-P\",{view.params.DH},\"_2\")"
},
"type": "expr"
}
},
"props.instances[2].tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_SATB1_IO1_default]Yard/GEN-P\",{view.params.DH},\"_3\")"
},
"type": "expr"
}
},
"props.instances[3].tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_SATB1_IO1_default]Yard/GEN-P\",{view.params.DH},\"_4\")"
},
"type": "expr"
}
},
"props.instances[4].tagPath": {
"binding": {
"config": {
"expression": "concat(\"[Ignition_SATB1_IO1_default]Yard/GEN-P\",{view.params.DH},\"_5\")"
},
"type": "expr"
}
}
},
"props": {
"elementPosition": {
"basis": "auto"
},
"instances": [
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"objectName": "GEN"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"objectName": "GEN"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"objectName": "GEN"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"objectName": "GEN"
},
{
"instancePosition": {},
"instanceStyle": {
"classes": ""
},
"objectName": "GEN",
"tag": "value"
}
],
"justify": "center",
"path": "Library/CommonObjects/DeviceStatus_Gen",
"style": {
"gap": "5px",
"overflow": "visible",
"padding": "5px 0"
},
"useDefaultViewHeight": false,
"useDefaultViewWidth": false
},
"type": "ia.display.flex-repeater"
}
],
"meta": {
"name": "root"
},
"props": {
"direction": "column",
"style": {
"backgroundColor": "var(--container)",
"borderBottomLeftRadius": "var(--borderRadius)",
"borderBottomRightRadius": "var(--borderRadius)",
"borderTopLeftRadius": "var(--borderRadius)",
"borderTopRightRadius": "var(--borderRadius)",
"boxShadow": "var(--boxShadow2)",
"gap": "5px",
"overflow": "visible",
"padding": "5px"
}
},
"type": "ia.container.flex"
}
}