林豪 左 1 vuosi sitten
vanhempi
commit
11beec7cd5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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
             });