You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Cigarette/CigaretteSingle/CigaretteSingle.h

52 lines
968 B
C

#pragma once
#include <QtWidgets/QMainWindow>
#include "ui_CigaretteSingle.h"
#include "workthread.h"
#include "savethread.h"
#include "common.h"
#include <modbus.h>
#include <QTimer>
#include <QSignalMapper>
#include <QString>
#include <QFileDialog>
#include <hikcamera.h>
#include "alg.h"
QT_BEGIN_NAMESPACE
namespace Ui { class CigaretteSingleClass; };
QT_END_NAMESPACE
class CigaretteSingle : public QMainWindow
{
Q_OBJECT
private slots:
void DisplayImage(cv::Mat m);
void event_per_second();
void on_pushButton_mtest_released();
void on_pushButton_selectregion_released();
public:
CigaretteSingle(QWidget *parent = nullptr);
~CigaretteSingle();
public:
SaveThread saveThread;
WorkThread work_thread;
public:
QDateTime g_ts_start; //ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
//<2F><>ʱ<EFBFBD><CAB1><EFBFBD>б<EFBFBD>
QTimer* m_pTimer; //ÿ<><C3BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʱ<EFBFBD><CAB1>
Alg* m_alg_ptr;
HIKCamera* HikControllerPtr = nullptr;
private:
Ui::CigaretteSingleClass *ui;
};