添加了开始计时后 立即采集的修改

This commit is contained in:
2022-08-11 13:29:47 +08:00
committed by xin
parent 5e141a1aad
commit befee3c91f
6 changed files with 49 additions and 3 deletions

View File

@ -55,6 +55,10 @@ void Scheduler::StartAsPlanned()
int iIntervalInMS = m_struAcqTime.qtInterval.hour() * 3600 * 1000 + m_struAcqTime.qtInterval.minute() * 60 * 1000 + m_struAcqTime.qtInterval.second() * 1000;
m_GrabTimer->start(iIntervalInMS);
QThread::msleep(5000);
qDebug() << "it's time to start work.";
emit SignalGrabOnce();
//this->OnTimeCounter();
//emit &QTimer::timeout;
}