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