using HH.WMS.BLL;
|
using HH.WMS.BLL.Pda;
|
using HH.WMS.Common;
|
using HH.WMS.Common.External;
|
using HH.WMS.Common.Response;
|
using HH.WMS.Entitys;
|
using HH.WMS.Entitys.Dto;
|
using HH.WMS.Entitys.Entitys.Mes;
|
using HH.WMS.Entitys.External;
|
using Newtonsoft.Json;
|
using System;
|
using System.Collections.Generic;
|
using System.Linq;
|
using System.Timers;
|
using System.Web;
|
|
namespace HH.WMS.WebApi.Extension
|
{
|
/// <summary>
|
/// 终炼胶服务
|
/// </summary>
|
public class ExecTransferOfFinalRubber : IExecuteThreadTimed
|
{
|
private static object locko = new object();
|
public void Run(object source, ElapsedEventArgs elapsedEventArgs)
|
{
|
try
|
{ //防止Timer重入
|
lock (locko)
|
{
|
BLLCreator.Create<GlBLL>().TransferRubber("transferOfFinalRubber");
|
}
|
}
|
catch (Exception ex)
|
{
|
Log.DomainInfo("终炼胶移库 Error", ex.Message);
|
}
|
}
|
}
|
}
|