mirror of
http://172.16.0.230/r/SIF/TowerOptoSifAndSpectral.git
synced 2025-10-18 19:39:43 +08:00
修改等待时间 rlx
This commit is contained in:
@ -97,7 +97,7 @@ lable1:
|
||||
QByteArray tempbuf = optoskyserial->readAll();
|
||||
data.append(tempbuf);
|
||||
|
||||
if (time.elapsed() > 10000)
|
||||
if (time.elapsed() > 100000)
|
||||
{
|
||||
logout::out("long time no data retrun ");
|
||||
return false;
|
||||
@ -117,7 +117,7 @@ lable1:
|
||||
optoskyserial->waitForReadyRead(50);
|
||||
data.append(optoskyserial->readAll());
|
||||
|
||||
if (time.elapsed() > 50000)
|
||||
if (time.elapsed() > 150000)
|
||||
{
|
||||
logout::out("long time no data retrun " );
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user