外场测试2
This commit is contained in:
@@ -225,7 +225,7 @@ void ParameterProcess::ReadStateMachine(void)//一整列
|
||||
else if(step == 1)//等待收到Item
|
||||
{
|
||||
//如果超时,那么结束
|
||||
if((QTime::currentTime().msecsSinceStartOfDay() - time) > 1000)
|
||||
if((QTime::currentTime().msecsSinceStartOfDay() - time) > 2000)
|
||||
{
|
||||
|
||||
//做一个列表,记录谁丢了,后面单独请求
|
||||
@@ -310,7 +310,7 @@ void ParameterProcess::WriteStateMachine(void)
|
||||
}
|
||||
else if(step == 1)//等待返回
|
||||
{
|
||||
if((QTime::currentTime().msecsSinceStartOfDay() - time) > 1000)
|
||||
if((QTime::currentTime().msecsSinceStartOfDay() - time) > 2000)
|
||||
{
|
||||
timeout_count ++;
|
||||
step = 0;//返回上一个步骤
|
||||
|
||||
Reference in New Issue
Block a user