mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-19 11:49:42 +08:00
misc
This commit is contained in:
@ -57,14 +57,18 @@ void Scheduler::StartAsPlanned()
|
||||
|
||||
int Scheduler::OnTimeCounter()
|
||||
{
|
||||
|
||||
QTime qtTime = QTime::currentTime();
|
||||
if (m_struAcqTime.qtStartTime <= qtTime && qtTime < m_struAcqTime.qtStopTime)
|
||||
{
|
||||
return 1;
|
||||
qDebug() << "Non working time. Idling......";
|
||||
qDebug() << "it's time to work...work work.";
|
||||
emit SignalGrabOnce();
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
system("gpio write 1 0");//<2F>豸<EFBFBD>ϵ<EFBFBD>
|
||||
qDebug() << "gpio write 1 0......"<<endl;
|
||||
qDebug() << "Non working time. Idling......";
|
||||
return 0;
|
||||
}
|
||||
|
||||
emit SignalGrabOnce();
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user