Grafana dashboard: Mahasawat Real Time Overview
Description: Test Dashboard


{
  "__inputs": [
    {
      "name": "DS_YOKOO",
      "label": "yokoo",
      "description": "",
      "type": "datasource",
      "pluginId": "mysql",
      "pluginName": "MySQL"
    }
  ],
  "__requires": [
    {
      "type": "panel",
      "id": "gauge",
      "name": "Gauge",
      "version": ""
    },
    {
      "type": "grafana",
      "id": "grafana",
      "name": "Grafana",
      "version": "7.3.5"
    },
    {
      "type": "panel",
      "id": "graph",
      "name": "Graph",
      "version": ""
    },
    {
      "type": "datasource",
      "id": "mysql",
      "name": "MySQL",
      "version": "1.0.0"
    },
    {
      "type": "panel",
      "id": "stat",
      "name": "Stat",
      "version": ""
    }
  ],
  "annotations": {
    "list": [
      {
        "builtIn": 1,
        "datasource": "-- Grafana --",
        "enable": true,
        "hide": true,
        "iconColor": "rgba(0, 211, 255, 1)",
        "name": "Annotations & Alerts",
        "type": "dashboard"
      }
    ]
  },
  "editable": true,
  "gnetId": 13601,
  "graphTooltip": 0,
  "id": null,
  "links": [],
  "panels": [
    {
      "aliasColors": {
        "flow_rw2": "dark-blue",
        "rw1_basin_lv": "dark-red"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 5,
        "x": 0,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 2,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "maxDataPoints": 300,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "rw1_basin_lv",
          "yaxis": 2
        },
        {
          "alias": "RW_Level",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  flow_rw1 as RW1,\n  flow_rw2 as RW2,\n  flow_rw3 as RW3,\n  flow_rw4 as RW4,\n  rw1_basin_lv as RW_Level\nFROM yokoo\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "flow_rw2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "flow_rw3"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "flow_rw4"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "rw1_basin_lv"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": "4h",
      "timeRegions": [],
      "timeShift": null,
      "title": "น้ำดิบ",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:138",
          "decimals": null,
          "format": "none",
          "label": "ปริมาณน้ำดิบ (ลบ.ม./ช.ม.)",
          "logBase": 1,
          "max": null,
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:139",
          "format": "short",
          "label": "ระดับน้ำดิบ (ม.)",
          "logBase": 1,
          "max": "2",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 4,
        "x": 5,
        "y": 0
      },
      "id": 24,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (rw1_basin_lv / 1) AS \"RW Level (m)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-red",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0.8
              },
              {
                "color": "dark-orange",
                "value": 1.2
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 8,
        "w": 4,
        "x": 9,
        "y": 0
      },
      "id": 7,
      "interval": "5m",
      "options": {
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  QC_TW1_CL2 as TW1_Cl2,\n  QC_TW2_CL2 as TW2_Cl2,\n  QC_TW3_CL2 as TW3_Cl2,\n  QC_TW4_CL2 as TW4_Cl2\nFROM quality_online\nWHERE\n  $__timeFilter(datecreated)\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "QC_TW1_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW2_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW3_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW4_CL2"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "quality_online",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ค่าคลอรีนอิสระคงเหลือ",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0.8
              },
              {
                "color": "dark-blue",
                "value": 1.2
              }
            ]
          }
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 4,
        "x": 13,
        "y": 0
      },
      "hiddenSeries": false,
      "id": 10,
      "interval": "5m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  QC_TW1_CL2,\n  QC_TW2_CL2,\n  QC_TW3_CL2,\n  QC_TW4_CL2\nFROM quality_online\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "QC_TW1_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW2_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW3_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW4_CL2"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "quality_online",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:839",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "2",
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:840",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 5,
        "y": 2
      },
      "id": 15,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (flow_rw1 / 1) AS \"RW1 (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 7,
        "y": 2
      },
      "id": 17,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (flow_rw1 / 1) AS \"RW1 (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 5,
        "y": 5
      },
      "id": 16,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (flow_rw3 / 1) AS \"RW3 (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 7,
        "y": 5
      },
      "id": 18,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (flow_rw4 / 1) AS \"RW4 (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "aliasColors": {
        "24_dps_7pt04": "dark-green",
        "24_dps_line_a": "dark-orange"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 5,
        "x": 0,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 4,
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "maxDataPoints": 200,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "alias": "24_dps_7pt04",
          "yaxis": 2
        },
        {
          "alias": "Pressure",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  24_dps_line_a as Line_A,\n  24_dps_flow_line_b as Line_B,\n  24_dps_flow_line_c as Line_C,\n  24_dps_7pt04 as Pressure\nFROM yokoo\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "24_dps_line_a"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "24_dps_flow_line_b"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "24_dps_flow_line_c"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "24_dps_7pt04"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": "4h",
      "timeRegions": [],
      "timeShift": null,
      "title": "สูบจ่าย",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:570",
          "format": "none",
          "label": "ปริมาณน้ำ (ลบ.ม./ช.ม.)",
          "logBase": 1,
          "max": "25000",
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:571",
          "decimals": 1,
          "format": "none",
          "label": "แรงดัน (ม.)",
          "logBase": 1,
          "max": "45",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 5,
        "y": 8
      },
      "id": 20,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (24_dps_line_a / 1) AS \"Line A (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 7,
        "y": 8
      },
      "id": 21,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (24_dps_flow_line_b / 1) AS \"Line B (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              },
              {
                "color": "dark-orange",
                "value": 4.5
              },
              {
                "color": "dark-red",
                "value": 5
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 7,
        "w": 4,
        "x": 9,
        "y": 8
      },
      "id": 9,
      "interval": "5m",
      "options": {
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "showThresholdLabels": false,
        "showThresholdMarkers": true
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  QC_CW1A_TUR as CW1,\n  QC_CW2A_TUR as CW2,\n  QC_CW3_TUR as CW3,\n  QC_CW4_TUR as CW4\nFROM quality_online\nWHERE\n  $__timeFilter(datecreated)\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "QC_TW1_CL2"
                ],
                "type": "column"
              },
              {
                "params": [
                  "CW1"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "QC_TW2_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW3_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW4_CL2"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "quality_online",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": [
            {
              "name": "$__timeFilter",
              "params": [],
              "type": "macro"
            }
          ]
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ความขุ่นหลังตกตะกอน",
      "type": "gauge"
    },
    {
      "aliasColors": {},
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {},
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "dark-red",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0.8
              },
              {
                "color": "dark-blue",
                "value": 1.2
              }
            ]
          }
        },
        "overrides": []
      },
      "fill": 0,
      "fillGradient": 0,
      "gridPos": {
        "h": 7,
        "w": 4,
        "x": 13,
        "y": 8
      },
      "hiddenSeries": false,
      "id": 8,
      "interval": "5m",
      "legend": {
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 1,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  QC_CW1A_TUR as CW1,\n  QC_CW2A_TUR as CW2,\n  QC_CW3_TUR as CW3,\n  QC_CW4_TUR as CW4\nFROM quality_online\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "QC_TW1_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW2_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW3_CL2"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "QC_TW4_CL2"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "quality_online",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": null,
      "timeRegions": [],
      "timeShift": null,
      "title": "",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:839",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": "10",
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:840",
          "format": "short",
          "label": null,
          "logBase": 1,
          "max": null,
          "min": null,
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 5,
        "y": 11
      },
      "id": 22,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (24_dps_flow_line_c / 1) AS \"Line C (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 1,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 7,
        "y": 11
      },
      "id": 23,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (24_dps_7pt04 / 1) AS \"Pressure (m)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-red",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 1.5
              },
              {
                "color": "semi-dark-orange",
                "value": 5
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 2,
        "w": 4,
        "x": 5,
        "y": 14
      },
      "id": 19,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (cwt1_lv / 1) AS \"CWT Level (m)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "aliasColors": {
        "tps_flow": "dark-red",
        "tps_pressure": "rgba(86, 166, 75, 0)",
        "แรงดัน": "dark-green"
      },
      "bars": false,
      "dashLength": 10,
      "dashes": false,
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {}
        },
        "overrides": []
      },
      "fill": 1,
      "fillGradient": 0,
      "gridPos": {
        "h": 8,
        "w": 5,
        "x": 0,
        "y": 15
      },
      "hiddenSeries": false,
      "id": 5,
      "legend": {
        "alignAsTable": false,
        "avg": false,
        "current": false,
        "max": false,
        "min": false,
        "rightSide": false,
        "show": true,
        "total": false,
        "values": false
      },
      "lines": true,
      "linewidth": 4,
      "nullPointMode": "null",
      "options": {
        "alertThreshold": true
      },
      "percentage": false,
      "pluginVersion": "7.3.5",
      "pointradius": 2,
      "points": false,
      "renderer": "flot",
      "seriesOverrides": [
        {
          "$$hashKey": "object:1653",
          "alias": "tps_pressure",
          "yaxis": 2
        },
        {
          "$$hashKey": "object:1654",
          "alias": "แรงดัน",
          "yaxis": 2
        },
        {
          "alias": "TPS Pressure",
          "yaxis": 2
        }
      ],
      "spaceLength": 10,
      "stack": false,
      "steppedLine": false,
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "hide": false,
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  CONVERT_TZ(datecreated,'+07:00','+00:00') AS \"time\",\n  tps_flow as \"TPS Flow\",\n  (tps_pressure * 10) as \"TPS Pressure\"\nFROM yokoo\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "tps_flow"
                ],
                "type": "column"
              }
            ],
            [
              {
                "params": [
                  "tps_pressure"
                ],
                "type": "column"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "thresholds": [],
      "timeFrom": "4h",
      "timeRegions": [],
      "timeShift": null,
      "title": "สูบส่ง",
      "tooltip": {
        "shared": true,
        "sort": 0,
        "value_type": "individual"
      },
      "transformations": [],
      "type": "graph",
      "xaxis": {
        "buckets": null,
        "mode": "time",
        "name": null,
        "show": true,
        "values": []
      },
      "yaxes": [
        {
          "$$hashKey": "object:570",
          "format": "none",
          "label": "ปริมาณน้ำสูบส่ง (ลบ.ม./ช.ม.)",
          "logBase": 1,
          "max": "60000",
          "min": "0",
          "show": true
        },
        {
          "$$hashKey": "object:571",
          "decimals": 1,
          "format": "none",
          "label": "แรงดัน (ม.)",
          "logBase": 1,
          "max": "40",
          "min": "0",
          "show": true
        }
      ],
      "yaxis": {
        "align": false,
        "alignLevel": null
      }
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "green",
                "value": null
              },
              {
                "color": "red",
                "value": 1.7
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 8,
        "x": 9,
        "y": 15
      },
      "id": 14,
      "maxDataPoints": 10,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  fw1_lv_no1 AS \"no.1\",\n  fw1_lv_no2 AS \"no.2\",\n  fw1_lv_no3 AS \"no.3\",\n  fw1_lv_no4 AS \"no.4\",\n  fw1_lv_no5 AS \"no.5\",\n  fw1_lv_no6 AS \"no.6\",\n  fw1_lv_no7 AS \"no.7\",\n  fw1_lv_no8 AS \"no.8\",\n  fw2_lv_no9 AS \"no.9\",\n  fw2_lv_no10 AS \"no.10\",\n  fw2_lv_no11 AS \"no.11\",\n  fw2_lv_no12 AS \"no.12\",\n  fw2_lv_no13 AS \"no.13\",\n  fw2_lv_no14 AS \"no.14\",\n  fw2_lv_no15 AS \"no.15\",\n  fw2_lv_no16 AS \"no.16\"\nFROM scada\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "fw1_lv_no1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.1"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no2"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.2"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no3"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.3"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no4"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.4"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "scada",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ระดับน้ำบ่อกรอง เฟส  1-2",
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 5,
        "y": 16
      },
      "id": 25,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (tps_flow / 1) AS \"TPS Flow (CMH)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 1,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-green",
                "value": null
              },
              {
                "color": "semi-dark-orange",
                "value": 25
              },
              {
                "color": "semi-dark-red",
                "value": 27
              }
            ]
          },
          "unit": "none"
        },
        "overrides": []
      },
      "gridPos": {
        "h": 3,
        "w": 2,
        "x": 7,
        "y": 16
      },
      "id": 26,
      "interval": "",
      "maxDataPoints": 300,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "mean"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  (tps_pressure * 10) AS \"TPS Pressure (m)\"\nFROM yokoo\nORDER BY datecreated DESC LIMIT 1",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "flow_rw1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "RW1"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "yokoo",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "",
      "transformations": [],
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-orange",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0
              },
              {
                "color": "light-yellow",
                "value": 1
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 9,
        "x": 5,
        "y": 19
      },
      "id": 27,
      "maxDataPoints": 10,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  fw3_level_no1 AS \"no.1\",\n  fw3_level_no2 AS \"no.2\",\n  fw3_level_no3 AS \"no.3\",\n  fw3_level_no4 AS \"no.4\",\n  fw3_level_no5 AS \"no.5\",\n  fw3_level_no6 AS \"no.6\",\n  fw3_level_no7 AS \"no.7\",\n  fw3_level_no8 AS \"no.8\",\n  fw3_level_no9 AS \"no.9\",\n  fw3_level_no10 AS \"no.10\",\n  fw3_level_no11 AS \"no.11\",\n  fw3_level_no12 AS \"no.12\",\n  fw3_level_no13 AS \"no.13\",\n  fw3_level_no14 AS \"no.14\"\n\nFROM scada\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "fw1_lv_no1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.1"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no2"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.2"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no3"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.3"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no4"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.4"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "scada",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ระดับน้ำบ่อกรอง เฟส  3",
      "type": "stat"
    },
    {
      "datasource": "${DS_YOKOO}",
      "fieldConfig": {
        "defaults": {
          "custom": {
            "align": null,
            "filterable": false
          },
          "decimals": 2,
          "mappings": [],
          "thresholds": {
            "mode": "absolute",
            "steps": [
              {
                "color": "semi-dark-orange",
                "value": null
              },
              {
                "color": "semi-dark-green",
                "value": 0
              },
              {
                "color": "light-yellow",
                "value": 1.32
              }
            ]
          }
        },
        "overrides": []
      },
      "gridPos": {
        "h": 4,
        "w": 9,
        "x": 14,
        "y": 19
      },
      "id": 28,
      "maxDataPoints": 10,
      "options": {
        "colorMode": "value",
        "graphMode": "none",
        "justifyMode": "auto",
        "orientation": "auto",
        "reduceOptions": {
          "calcs": [
            "last"
          ],
          "fields": "",
          "values": false
        },
        "textMode": "auto"
      },
      "pluginVersion": "7.3.5",
      "targets": [
        {
          "format": "time_series",
          "group": [],
          "metricColumn": "none",
          "rawQuery": true,
          "rawSql": "SELECT\n  datecreated AS \"time\",\n  fw4_level_no1 AS \"no.1\",\n  fw4_level_no2 AS \"no.2\",\n  fw4_level_no3 AS \"no.3\",\n  fw4_level_no4 AS \"no.4\",\n  fw4_level_no5 AS \"no.5\",\n  fw4_level_no6 AS \"no.6\",\n  fw4_level_no7 AS \"no.7\",\n  fw4_level_no8 AS \"no.8\",\n  fw4_level_no9 AS \"no.9\",\n  fw4_level_no10 AS \"no.10\",\n  fw4_level_no11 AS \"no.11\",\n  fw4_level_no12 AS \"no.12\",\n  fw4_level_no13 AS \"no.13\",\n  fw4_level_no14 AS \"no.14\"\n\nFROM scada\nORDER BY datecreated",
          "refId": "A",
          "select": [
            [
              {
                "params": [
                  "fw1_lv_no1"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.1"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no2"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.2"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no3"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.3"
                ],
                "type": "alias"
              }
            ],
            [
              {
                "params": [
                  "fw1_lv_no4"
                ],
                "type": "column"
              },
              {
                "params": [
                  "no.4"
                ],
                "type": "alias"
              }
            ]
          ],
          "table": "scada",
          "timeColumn": "datecreated",
          "timeColumnType": "datetime",
          "where": []
        }
      ],
      "timeFrom": null,
      "timeShift": null,
      "title": "ระดับน้ำบ่อกรอง เฟส  4",
      "type": "stat"
    }
  ],
  "schemaVersion": 26,
  "style": "dark",
  "tags": [],
  "templating": {
    "list": []
  },
  "time": {
    "from": "now-1h",
    "to": "now"
  },
  "timepicker": {},
  "timezone": "",
  "title": "Mahasawat Real Time Overview",
  "uid": "-UuXss1Gk",
  "version": 17,
  "description": "Test Dashboard"
}