mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 03:49:42 +08:00
更新了底层逻辑
This commit is contained in:
61
UnSupported/ATPAbstractController.cpp
Normal file
61
UnSupported/ATPAbstractController.cpp
Normal file
@ -0,0 +1,61 @@
|
||||
#include "ATPAbstractController.h"
|
||||
|
||||
ZZ_ATPAbsCtrlThread::ZZ_ATPAbsCtrlThread(QObject* parent /*= nullptr*/)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
ZZ_ATPAbsCtrlThread::~ZZ_ATPAbsCtrlThread()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
int ZZ_ATPAbsCtrlThread::InitializeFSControl()
|
||||
{
|
||||
qDebug() << "base class not implemented";
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ZZ_ATPAbsCtrlThread::StartAcquisition()
|
||||
{
|
||||
qDebug() << "base class not implemented";
|
||||
return 0;
|
||||
}
|
||||
|
||||
int ZZ_ATPAbsCtrlThread::StopAcquisition()
|
||||
{
|
||||
qDebug() << "base class not implemented";
|
||||
return 0;
|
||||
}
|
||||
|
||||
//
|
||||
// void ZZ_ATPAbsCtrlThread::SetWaitCondition(QWaitCondition *pFinish, QMutex *pMutex)
|
||||
// {
|
||||
// m_pwcFinish = pFinish;
|
||||
// m_pMutex = pMutex;
|
||||
// }
|
||||
|
||||
int ZZ_ATPAbsCtrlThread::StartTestAcquisition()
|
||||
{
|
||||
qDebug() << "base class not implemented";
|
||||
return 0;
|
||||
// m_bFlagIsCollecting = true;
|
||||
// while (m_bFlagIsCollecting)
|
||||
// {
|
||||
// //QMutexLocker locker(&m_Mutex);
|
||||
// QThread::msleep(1000);
|
||||
// qDebug() << "ThreadATPAbsController busy";
|
||||
// }
|
||||
// qDebug() << "ThreadATPAbsController quit";
|
||||
//
|
||||
// //m_pwcFinish->wakeAll();
|
||||
// emit SignalAcqFinished(0,1);
|
||||
}
|
||||
|
||||
int ZZ_ATPAbsCtrlThread::StopTestAcquisition()
|
||||
{
|
||||
qDebug() << "base class not implemented";
|
||||
return 0;
|
||||
//QMutexLocker locker(&m_Mutex);
|
||||
//m_bFlagIsCollecting = false;
|
||||
}
|
Reference in New Issue
Block a user