From 8d9642254bbc367e98914d450b2df47e7f620219 Mon Sep 17 00:00:00 2001 From: lxw Date: Tue, 25 Jun 2024 15:42:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4invoke=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/Execute/Invoker.cs | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/Service/Execute/Invoker.cs b/Service/Execute/Invoker.cs index 7a0bd0f..81b659e 100644 --- a/Service/Execute/Invoker.cs +++ b/Service/Execute/Invoker.cs @@ -13,7 +13,6 @@ public class Invoker int hvPwrOffTimes = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); if (cancel()) { @@ -41,7 +40,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -53,7 +51,6 @@ public class Invoker int count = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); if (cancel()) { @@ -72,7 +69,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -84,7 +80,6 @@ public class Invoker int count = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); if (cancel()) { @@ -116,7 +111,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -129,7 +123,6 @@ public class Invoker int count = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); if (cancel()) { @@ -166,7 +159,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -184,7 +176,6 @@ public class Invoker int count = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); try { @@ -210,7 +201,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -223,7 +213,6 @@ public class Invoker int count = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); try { @@ -246,7 +235,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } @@ -256,7 +244,6 @@ public class Invoker int hvPwrOffTimes = 0; while (!done()) { - Log.Info($"begin {name}"); Thread.Sleep(duration); if (cancel()) { @@ -274,7 +261,6 @@ public class Invoker } } - Log.Info($" {name} done"); return InvokeStatus.Done; } }