自动化立体仓库 - WMS系统
zhangc
2024-12-06 03b0ea7369dcba72b560ec80f941f9d29ff7b9a5
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
package com.zy.common.model;
 
import com.core.common.Cools;
import lombok.Data;
 
import java.util.List;
 
/**
 * Created by vincent on 2022/3/28
 */
@Data
public class LocDto {
 
    private String locNo;
 
    private String matnr;
 
    private String maktx;
 
    private String batch;
 
    private String orderNo;
 
    private Double anfme;
 
    private Double weight;
 
    private boolean lack = false;
 
    private List<Integer> staNos;
 
    private List<String> agvStaNos;
 
    private Integer staNo;
 
    private String agvStaNo;
 
    private String specs;
 
    //销售订单号
    private String csocode;
 
    //销售订单行号
    private String isoseq;
 
    //货架码
    private String containerCode;
 
    // 工序状态 1:待加工,2:已加工,3:无需加工
    private Integer processSts;
 
    public LocDto() {
    }
 
    public LocDto(String locNo, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode) {
        this.locNo = locNo;
        this.anfme = anfme;
        this.matnr = matnr;
        this.batch = batch;
        this.csocode = csocode;
        this.isoseq = isoseq;
        this.containerCode = containerCode;
    }
 
    public LocDto(String locNo, Double anfme, String matnr, String batch, String csocode, String isoseq, String containerCode,Integer processSts) {
        this.locNo = locNo;
        this.anfme = anfme;
        this.matnr = matnr;
        this.batch = batch;
        this.csocode = csocode;
        this.isoseq = isoseq;
        this.containerCode = containerCode;
        this.processSts = processSts;
    }
 
    public LocDto(String locNo, String matnr, String batch, Double anfme) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.batch = batch;
        this.anfme = anfme;
    }
 
    public LocDto(String locNo, String matnr, String batch, String orderNo, Double anfme) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
    }
 
    public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.maktx = maktx;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
    }
 
 
    public LocDto(String locNo, String matnr, String maktx, String batch, String orderNo, Double anfme,Integer processSts) {
        this.locNo = locNo;
        this.matnr = matnr;
        this.maktx = maktx;
        this.batch = batch;
        this.orderNo = orderNo;
        this.anfme = anfme;
        this.processSts = processSts;
    }
 
    public String getTitle() {
        return this.matnr + "(" + this.maktx + ")";
    }
 
    public void setStaNos(List<Integer> staNos) {
        this.staNos = staNos;
        if (!Cools.isEmpty(staNos)) {
            this.staNo = staNos.get(0);
        }
    }
 
    public void setAgvStaNos(List<String> agvStaNos){
        this.agvStaNos = agvStaNos;
        if(!Cools.isEmpty(agvStaNos)){
            this.agvStaNo = agvStaNos.get(0);
        }
    }
 
}