联调通过

This commit is contained in:
2021-12-13 17:18:24 +08:00
parent ec8bb49b8f
commit b101e74763
30 changed files with 396 additions and 92 deletions

26
source/Thread/Scheduler.h Normal file
View File

@ -0,0 +1,26 @@
#pragma once
#include"pch.h"
#include "ZZ_Types.h"
using namespace std;
using namespace ZZ_MISCDEF::ZZ_RUNPARAMS;
class Scheduler :public QObject
{
Q_OBJECT
public:
Scheduler(QObject* parent = nullptr);
~Scheduler();
private:
QTimer *m_GrabTimer;
AcqTimeSettings m_struAcqTime;
private:
void StartAsPlanned();
public:
void SetAcqTimeParams(AcqTimeSettings struAcqTime);
void Preheating();
void SelfStart();
public slots:
int OnTimeCounter();
signals:
void SignalGrabOnce();
void SignalSelfStart();
};