外场测试2

This commit is contained in:
hm
2020-08-07 17:15:58 +08:00
parent 898ca8f7a5
commit bc56a3f1ec
14 changed files with 375 additions and 64 deletions
+2 -2
View File
@@ -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;//返回上一个步骤