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.
38 lines
1012 B
38 lines
1012 B
4 years ago
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using System.Linq;
|
||
|
using System.Text;
|
||
|
using Quartz;
|
||
|
|
||
|
namespace QMTask.DataDeal
|
||
|
{
|
||
|
/// <summary>
|
||
|
/// 模块编号:M19
|
||
|
/// 作 用:定时查询在制品库存
|
||
|
/// 作 者:王济
|
||
|
/// 编写日期:2015年07月13日
|
||
|
///</summary>
|
||
|
public class CheckWipBLL_WPC : 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>("CheckWipBLL_WipProecessCheck");
|
||
|
context.Result = "true";
|
||
|
}
|
||
|
catch (Exception ex)
|
||
|
{
|
||
|
context.Result = "false";
|
||
|
throw;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|