28 lines
569 B
C#
28 lines
569 B
C#
using MyCode.Project.Services;
|
|
using Quartz;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyCode.Project.ScheduleTask.Jobs
|
|
{
|
|
[DisallowConcurrentExecution]
|
|
public class AddWMSOrderJob : IJob
|
|
{
|
|
|
|
private IWMSService _wMSService;
|
|
public AddWMSOrderJob(IWMSService wMSService)
|
|
{
|
|
_wMSService = wMSService;
|
|
}
|
|
|
|
|
|
public void Execute(IJobExecutionContext context)
|
|
{
|
|
_wMSService.AddWMSTask();
|
|
}
|
|
}
|
|
}
|