You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
813 B
34 lines
813 B
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using Quartz;
|
|
namespace SiaSun.LMS.WinService
|
|
{
|
|
[DisallowConcurrentExecution]
|
|
public class TaskCompleteJob : IJob
|
|
{
|
|
|
|
public void Execute(IJobExecutionContext context)
|
|
{
|
|
try
|
|
{
|
|
string sResult = string.Empty;
|
|
|
|
MainApp._I_BaseService.Invoke("ControlBase", "ControlTranslate", new object[]{3},out sResult);
|
|
|
|
if (sResult != string.Empty)
|
|
{
|
|
Program.sysLog.Error("任务完成处理失败 " + sResult);
|
|
}
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Program.sysLog.Fatal("任务完成处理异常 " , ex);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|