Commit d98f9a8c 张东亮

1

1 个父辈 4ae1e276
...@@ -256,14 +256,14 @@ namespace DeviceLibrary ...@@ -256,14 +256,14 @@ namespace DeviceLibrary
if (moveInfo1.WaitList[0].WaitType == WaitEnum.W013_Action) if (moveInfo1.WaitList[0].WaitType == WaitEnum.W013_Action)
{ {
var wt = moveInfo1.WaitList[0]; var wt = moveInfo1.WaitList[0];
for (int i = 0; i < 10; i++) for (int i = 0; i < 1000; i++)
{ {
var w = wt.Action?.Invoke(moveInfo1.WaitList[0]); var w = wt.Action?.Invoke(moveInfo1.WaitList[0]);
if (w == null) if (w == null)
return; return;
if (w.Value) if (w.Value)
break; break;
Task.Delay(1000).Wait(); Task.Delay(10).Wait();
} }
} }
} }
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!