2025-03-12 10:03:16 +08:00
|
|
|
|
#ifndef CINFLUXDBOPT_H
|
|
|
|
|
|
#define CINFLUXDBOPT_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <QObject>
|
|
|
|
|
|
#include <dbms/db_his_query_api/DbHisQueryApi.h>
|
|
|
|
|
|
#include <dbms/tsdb_api/TsdbApi.h>
|
|
|
|
|
|
#include "common/DataType.h"
|
|
|
|
|
|
class CInfluxdbOpt : public QObject
|
|
|
|
|
|
{
|
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
public:
|
|
|
|
|
|
explicit CInfluxdbOpt(QObject *parent = nullptr);
|
|
|
|
|
|
void initialize();
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
void delInfluxdbOneEvent(uint64 nTime, int nType,QString strTag);
|
|
|
|
|
|
private:
|
2025-03-12 14:17:53 +08:00
|
|
|
|
//iot_dbms::CTsdbConn m_objConn;
|
2025-03-12 10:03:16 +08:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // CINFLUXDBOPT_H
|