mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 03:49:42 +08:00
完善了保存信息文件的定义,添加了读写JSON配置文件的代码。身体原因这两天效率不高。
This commit is contained in:
8
main.cpp
8
main.cpp
@ -2,6 +2,7 @@
|
||||
#include "ATPControl_Serial_QT.h"
|
||||
#include "Logger.h"
|
||||
#include "ThreadDataGrabber.h"
|
||||
#include "SystemConfigger.h"
|
||||
using namespace std;
|
||||
#pragma once
|
||||
|
||||
@ -14,6 +15,11 @@ int main(int argc, char *argv[])
|
||||
QString qstrTest="This is a test message 2";
|
||||
qDebug() << qstrTest;
|
||||
cout << "This is a test message";
|
||||
//////////////////////////////////////////////////////////////////////////configger
|
||||
ZZ_SysConfigger test;
|
||||
test.Initialize();
|
||||
test.LoadSettingsFromFile_System();
|
||||
test.LoadSettings_Test();
|
||||
//////////////////////////////////////////////////////////////////////////test
|
||||
ZZ_DataGrabberThread m_test;
|
||||
//m_test.GrabOnce();
|
||||
@ -24,7 +30,7 @@ int main(int argc, char *argv[])
|
||||
m_pqDataGrabberThreadHolder->start();
|
||||
|
||||
|
||||
m_test.TestGrab();
|
||||
m_test.TestGrabOnce();
|
||||
|
||||
//QThread::msleep(5000);
|
||||
|
||||
|
Reference in New Issue
Block a user