jt
2021-06-10 5d0d028456874576560552f5a5c4e8b801786f11
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace HH.WMS.Common.Algorithm
{
    /// <summary>
    /// 入库  返回实体
    /// </summary>
    public class FeedResultEntity
    {
        /// <summary>
        /// 是否执行成功
        /// </summary>
        public bool Success { get; set; }
 
        /// <summary>
        /// 执行失败返回的错误提示信息
        /// </summary>
        public string Msg { get; set; }
 
        /// <summary>
        /// 执行成功返回的货位列表
        /// </summary>
        public List<feedLocationEntity> lstLocation { get; set; }
 
        /// <summary>
        /// 执行成功没有货位可补的物料
        /// </summary>
        public List<string> lstNoItemCode { get; set; }
 
    }
    public class OutFeedResultEntity
    {
        /// <summary>
        /// 是否计算成功
        /// </summary>
        public bool Success { get; set; }
 
        /// <summary>
        /// 失败的消息
        /// </summary>
        public string Msg { get; set; }
 
        /// <summary>
        /// 非空托盘物料摆放信息展示
        /// </summary>
        public List<FeedItemEntity> lstFeedItem { get; set; }
 
        /// <summary>
        /// 空托盘补料返回信息
        /// </summary>
        public List<FeedTrayEmptyEntity> lstEmptyTray { get; set; }
    }
    /// <summary>
    /// 存料存放信息
    /// </summary>
    public class FeedItemEntity
    {
        /// <summary>
        /// 物料编码
        /// </summary>
        public string itemCode { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string lotNo { get; set; }
 
        /// <summary>
        /// 物料可存放数量
        /// </summary>
        public decimal itemQty { get; set; }
 
        /// <summary>
        /// 托盘所在货位
        /// </summary>
        public string locationCode { get; set; }
 
        /// <summary>
        /// 托盘码
        /// </summary>
        public string trayCode { get; set; }
 
        /// <summary>
        /// 托盘分隔位置
        /// </summary>
        public string trayGrid { get; set; }
        public List<capacityRelateItem> lstRelateItem { get; set; }
 
    }
    /// <summary>
    /// 空托盘补料返回信息
    /// </summary>
    public class FeedTrayEmptyEntity
    {
        /// <summary>
        /// 托盘吗
        /// </summary>
        public string trayCode { get; set; }
 
        /// <summary>
        /// 托盘所在货位码
        /// </summary>
        public string locationCode { get; set; }
    }
 
}