林豪 左 hai 1 ano
pai
achega
11beec7cd5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      WCS.Core/PLC.cs

+ 1 - 1
WCS.Core/PLC.cs

@@ -25,7 +25,7 @@ namespace WCS.Core
                 while (true)
                 {
                     Ping = ping();
-                    Task.Delay(1000);
+                    Task.Delay(1000).Wait();
                 }
                 // ReSharper disable once FunctionNeverReturns
             });