PCM_Report/config_with_params_example....

125 lines
2.6 KiB
JSON

{
"influx": {
"url": "http://192.168.1.10:8086",
"org": "MEASCON",
"token": "Z4nR-_Qza0mYvN0Eyk7SnT-GMrPRI6Nr22CfocUd2VbT1tg90tJ9zeNDrno-rs-bEAap3jGJ0bbwkM_1f3uJ_A=="
},
"placeholders": {
"text1": {
"type": "text",
"label": "产品名称",
"title": "",
"value": "柱塞泵",
"chart": {}
},
"param1": {
"type": "param",
"label": "平均温度",
"value": "25.43",
"chart": {},
"influx": {
"bucket": "sensor_data",
"measurement": "temperature",
"fields": [
"value"
],
"filters": {
"sensor_id": "temp_sensor_1"
},
"timeRange": "-1h",
"aggregate": "mean",
"windowPeriod": ""
}
},
"param2": {
"type": "param",
"label": "最大压力",
"value": "10.52",
"chart": {},
"influx": {
"bucket": "pressure_data",
"measurement": "pressure_readings",
"fields": [
"pressure"
],
"filters": {
"device": "pump_01",
"location": "line_a"
},
"timeRange": "-24h",
"aggregate": "max",
"windowPeriod": ""
}
},
"param3": {
"type": "param",
"label": "当前流量",
"value": "150.75",
"chart": {},
"influx": {
"bucket": "flow_data",
"measurement": "flow_meter",
"fields": [
"flow_rate"
],
"filters": {
"meter_id": "fm_001"
},
"timeRange": "-5m",
"aggregate": "last",
"windowPeriod": ""
}
},
"param4": {
"type": "param",
"label": "总运行时间",
"value": "2340.00",
"chart": {},
"influx": {
"bucket": "runtime_data",
"measurement": "device_status",
"fields": [
"runtime_hours"
],
"filters": {
"device_id": "device_001"
},
"timeRange": "-30d",
"aggregate": "sum",
"windowPeriod": ""
}
},
"table1": {
"type": "table",
"label": "table1",
"title": "数据表格",
"value": "",
"chart": {},
"influx": {
"bucket": "PCM",
"measurement": "go_info",
"fields": [
"gauge"
],
"filters": {},
"timeRange": "-1h",
"aggregate": "",
"windowPeriod": ""
},
"table": {
"firstColumn": "seconds",
"firstTitle": "时间(s)",
"titles": {
"gauge": "压力表"
}
}
}
},
"tcpModbus": {
"ip": "127.0.0.1",
"port": 502
},
"devices": []
}