|
|
|
@ -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;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|