林豪 左 hace 1 año
padre
commit
11beec7cd5
Se han modificado 1 ficheros con 1 adiciones y 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
             });