1
HuBingJie
5 天以前 99d55d437cc924429bb9589d5afe24f386cf8342
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEAWCS_ITaskInfoService;
 
namespace WIDESEAWCS_Tasks
{
    /// <summary>
    /// 任务历史删除
    /// </summary>
    [DisallowConcurrentExecution]
    class Task_HtyJob : IJob
    {
        public readonly ITask_HtyService _task_Hty;
        public Task_HtyJob(ITask_HtyService task_Hty)
        {
            _task_Hty = task_Hty;
        }
 
        public Task Execute(IJobExecutionContext context)
        {
            try
            {
 
            }catch(Exception ex)
            {
                Console.Out.WriteLine(nameof(Task_HtyJob) + ":" + ex.Message);
            }
 
            return Task.CompletedTask;
        }
    }
}