using System; using System.Collections.Generic; using System.Linq; using System.Text; using Quartz; namespace QMTask.DataDeal { class FisBLL_GetLastOnLineTime : IJob { /// <summary> /// 执行方法 /// </summary> /// <param name="context"></param> public virtual void Execute(IJobExecutionContext context) { try { //调用服务端方法 QMAPP.ServicesAgent.ServiceAgent sa = new ServiceUtil().GetServiceAgent(); Object obj = sa.InvokeServiceFunction<Object>("FisBLL_GetLastOnLineTime"); context.Result = "true"; } catch (Exception ex) { context.Result = "false"; throw; } } } }