mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
更改前
This commit is contained in:
34
main.cpp
34
main.cpp
@ -43,24 +43,32 @@ int main(int argc, char *argv[])
|
||||
CMainDataGrabber testDG;
|
||||
QThread* m_pqDataGrabberThreadHolder = new QThread();
|
||||
testDG.moveToThread(m_pqDataGrabberThreadHolder);
|
||||
testDG.SetGrabberFileProcessor(testdp);
|
||||
testDG.SetGrabberParams(testp);
|
||||
testDG.SetTimer(testS);
|
||||
testDG.InitThreadStatus();
|
||||
testDG.InitializeWorkers();
|
||||
testDG.InitLS();
|
||||
testDG.SetupMsgPipelines();
|
||||
testDG.StartWorkers();
|
||||
testDG.SetContext(testp, testdp, testS);
|
||||
testDG.Init_Normal();
|
||||
//testDG.SetGrabberFileProcessor(testdp);
|
||||
//testDG.SetGrabberParams(testp);
|
||||
//testDG.SetTimer(testS);
|
||||
//testDG.InitThreadStatus();
|
||||
//testDG.InitializeWorkers();
|
||||
//testDG.SetupMsgPipelines();
|
||||
//testDG.StartWorkers();
|
||||
m_pqDataGrabberThreadHolder->start();
|
||||
testDG.Init_Self();
|
||||
//testDG.InitThreadStatus();
|
||||
//testDG.InitializeWorkers();
|
||||
//testDG.InitLS();
|
||||
//testDG.SetupMsgPipelines();
|
||||
//testDG.StartWorkers();
|
||||
|
||||
|
||||
|
||||
m_pqDataGrabberThreadHolder->start();
|
||||
|
||||
//testDG.StartGrab();
|
||||
|
||||
QThread* m_pqTimerThreadHolder = new QThread();
|
||||
testS.moveToThread(m_pqTimerThreadHolder);
|
||||
m_pqTimerThreadHolder->start();
|
||||
testS.SelfStart();
|
||||
QThread* m_pqTimerThreadHolder = new QThread();
|
||||
testS.moveToThread(m_pqTimerThreadHolder);
|
||||
m_pqTimerThreadHolder->start();
|
||||
testS.SelfStart();
|
||||
|
||||
//QString qstrTest = "This is a test message 2";
|
||||
//qDebug() << qstrTest;
|
||||
|
Reference in New Issue
Block a user