自动化立体仓库 - WMS系统
#
lsh
2024-01-15 105168a0c03b1361aefa8facc34639ca4ed676fd
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
package com.zy.asrs.entity.param;
 
import com.core.common.Cools;
import lombok.Data;
 
import java.util.List;
/*
 *  Created by Monkey D. Luffy on 2023.07.19
 * */
@Data
public class SingleUnstackingCompleteParam {
    private String barcode;//    是    字符串    托盘码
    private String palletizingNo;//    是    字符串    拆垛位编号
    private String createTime;//        是    字符串    创建时间
    private String uuid;//        是    字符串    时间戳
    private List<MatList> matList;//        是    列表    拆垛货物信息(2箱,尾箱可能1箱)
 
    @Data
    public static class MatList{
        private String position;//        是    字符串    木箱码垛位置
        private String boxNo;//        是    字符串    木箱编号(唯一字段,出库依据,出库时按照木箱编号出库)
    }
 
    public Integer getSourceDevNo$(){
        if (!Cools.isEmpty(this.palletizingNo)){
            switch (this.palletizingNo){
                case "1":
                    return 119;
                case "2":
                    return 121;
                default:
                    return null;
            }
        }
        return null;
    }
 
    public Integer getDevNo$(){
        if (!Cools.isEmpty(this.palletizingNo)){
            switch (this.palletizingNo){
                case "1":
                    return 131;
                case "2":
                    return 135;
                default:
                    return null;
            }
        }
        return null;
    }
 
}