添加了 温湿度传感器控制代码 已能读取 等待拷机测试

This commit is contained in:
2021-12-15 17:47:33 +08:00
parent 2df12d4e5c
commit af00b1c47e
9 changed files with 184 additions and 7 deletions

View File

@ -32,6 +32,7 @@
delete m_qsDeviceConfig;
}
m_qsDeviceConfig = new QSettings(m_qstrDeviceConfigFilePath, QSettings::IniFormat);
////FS
m_struFSContext.ucDeviceNumber = m_qsDeviceConfig->value(QString("DEVICE INFO/TotalSpectrometer"),-1).toInt();
if (m_struFSContext.ucDeviceNumber == -1)
{
@ -59,6 +60,7 @@
m_struFSContext.lDepth[i] = lDepth;
}
////LS
m_struAcqPosition.iTotalPosition = m_qsDeviceConfig->value(QString("LINEAR SHUTTER/TotalPosition"), -1).toInt();
if (m_struAcqPosition.iTotalPosition == -1)
{