This commit is contained in:
2021-11-19 15:39:31 +08:00
parent fdffb86c96
commit 6452b3a514
6 changed files with 46 additions and 16 deletions

View File

@ -5,7 +5,7 @@
#include"pch.h"
#include "ThreadIS1Controller.h"
#include "ThreadiSIFController.h"
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
class ZZ_DataGrabberThread :public QObject
{
Q_OBJECT
@ -27,11 +27,18 @@ private:
int *m_piFlagCaptureThreadStatus;
const int m_iTotalThreads = 2;
QTimer *m_GrabTimer;
AcqTimeSettings m_struAcqTime;
public:
void SetGrabTimer(AcqTimeSettings struAcqTime);
int SetupSignals();
int StartGrabberThread();
int StartGrab();
private:
int OnTimeCounter();
int InitThreadStatus();
int StartGrabberThread();
public slots:
int TestGrab();
int TestGrabOnce();