2
schangxiang@126.com
2024-08-16 b47c50a2a514def7374b32d7194b2c599cba5625
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
using iWareCc.DecomposeTask.Entity;
using iWareCc.HandleTask.Strategy.入库任务.Strategy;
using iWareCommon.Common.Entity;
using iWareDataCore.TASK.EnumType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace iWareCc.HandleTask.Strategy.入库任务
{
   public class 处理入库任务:IStrategy
    { 
        private ResultContainer ResultContainer;
        private PartTaskContainer HandleTaskContainer;
        private PartTaskContainer NextTaskContainer;
 
 
 
        public 处理入库任务(ResultContainer resultContainer, PartTaskContainer handleTaskContainer, PartTaskContainer nextTaskContainer)
        {
            this.ResultContainer = resultContainer;
            this.HandleTaskContainer = handleTaskContainer;
            this.NextTaskContainer = nextTaskContainer;
        }
 
        public void DoJob()
        {
            if(HandleTaskContainer.PartTask.Type==(int)EPartTaskType.输送机任务)
            {
              new Context(new 处理输送机任务(ResultContainer, HandleTaskContainer, NextTaskContainer)).Invoke();
            }
        }
    }
}