mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 11:49:42 +08:00
联调通过
This commit is contained in:
26
source/Thread/Scheduler.h
Normal file
26
source/Thread/Scheduler.h
Normal 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();
|
||||
};
|
Reference in New Issue
Block a user