mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-20 03:49:43 +08:00
添加了位置定标程序 及位置移动相关程序源码
This commit is contained in:
38
othersoft/shuttercali/source/Thread/AbstractFSController.h
Normal file
38
othersoft/shuttercali/source/Thread/AbstractFSController.h
Normal file
@ -0,0 +1,38 @@
|
||||
#pragma once
|
||||
#include "pch.h"
|
||||
#include "ATPControl_Serial_QT.h"
|
||||
#include <atomic>
|
||||
|
||||
typedef struct tagFSInfo
|
||||
{
|
||||
ZZ_U8 ucDeviceModel;
|
||||
int iInterface;
|
||||
std::string strSN;
|
||||
}FSInfo;
|
||||
|
||||
class CAbstractFSController :public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
CAbstractFSController(QObject* parent = nullptr);
|
||||
virtual ~CAbstractFSController();
|
||||
public:
|
||||
//call first
|
||||
virtual int SetRunParas(int iThreadID, FSInfo fsInfo);
|
||||
|
||||
//create derived class from base class
|
||||
virtual int InitializeFSControl();
|
||||
|
||||
private:
|
||||
CIrisFSBase *m_pFSCtrl;
|
||||
int m_iThreadID;
|
||||
FSInfo m_fsInfo;
|
||||
|
||||
public slots:
|
||||
virtual int StartAcquisition();
|
||||
virtual int StopAcquisition();
|
||||
|
||||
signals:
|
||||
void SignalAcqStarted();
|
||||
void SignalAcqFinished(int iThreadID, int iFlagStatus);
|
||||
};
|
Reference in New Issue
Block a user