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:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user