|
|
@ -20,6 +20,7 @@ namespace MCRun
|
|
|
|
using Mesnac.PlcUtils.enumInfo;
|
|
|
|
using Mesnac.PlcUtils.enumInfo;
|
|
|
|
using Mesnac.PlcUtils.Impl;
|
|
|
|
using Mesnac.PlcUtils.Impl;
|
|
|
|
using System.Drawing.Drawing2D;
|
|
|
|
using System.Drawing.Drawing2D;
|
|
|
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
|
|
class Program
|
|
|
|
class Program
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -196,7 +197,10 @@ namespace MCRun
|
|
|
|
private void Timer_Tick(object sender, EventArgs e)
|
|
|
|
private void Timer_Tick(object sender, EventArgs e)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
// 定时触发的操作
|
|
|
|
// 定时触发的操作
|
|
|
|
FinishBatchService.Instance.Start();
|
|
|
|
Task.Run(() => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// FinishBatchService.Instance.Start();
|
|
|
|
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|