Commit 4e3d775d LN

定时器修改

1 个父辈 9ee40c17
......@@ -98,7 +98,6 @@ namespace OnlineStore.DeviceLibrary
{
return;
}
OnTimerProcess();
TimeSpan span = DateTime.Now - lastProTimer;
if (isInPro && span.TotalSeconds < TimerMaxSeconds)
{
......@@ -107,7 +106,8 @@ namespace OnlineStore.DeviceLibrary
isInPro = true;
lastProTimer = DateTime.Now;
try
{
{
OnTimerProcess();
if (IsDebug && runStatus <= RunStatus.Wait)
{
isInPro = false;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!