自动化立体仓库 - WCS系统
pang.jiabao
2024-07-28 ee6863dd561415cebed005d51e8c15ec8c2f5004
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
package com.zy.core.model.command;
 
import com.zy.common.model.MatDto;
import lombok.Data;
 
import java.util.ArrayList;
import java.util.List;
 
/**
 * led命令报文
 * Created by vincent on 2020/8/11
 */
@Data
public class LedCommand extends Object {
 
    private String title;
 
    @Override
    public String toString() {
        return "LedCommand{" +
                "title='" + title + '\'' +
                ", workNo=" + workNo +
                ", staNo=" + staNo +
                ", sourceStaNo=" + sourceStaNo +
                ", locNo='" + locNo + '\'' +
                ", sourceLocNo='" + sourceLocNo + '\'' +
                ", matDtos=" + matDtos +
                ", emptyMk=" + emptyMk +
                ", ioType=" + ioType +
                ", barcode='" + barcode + '\'' +
                '}';
    }
 
    private Integer workNo;
 
    private Integer staNo;
 
    private Integer sourceStaNo;
 
    private String locNo;
 
    private String sourceLocNo;
 
    private List<MatDto> matDtos = new ArrayList<>();
 
    private boolean emptyMk = false;
 
    private Integer ioType;
    private String barcode;
 
    public static void main(String[] args) {
        LedCommand ledCommand = new LedCommand();
        ledCommand.setTitle("全板出库");
        ledCommand.setBarcode("80000001");
        ledCommand.setSourceLocNo("0100101");
        ledCommand.setStaNo(100);
        ledCommand.setWorkNo(7001);
        List<MatDto> matDtos = new ArrayList<>();
        MatDto matDto = new MatDto("0205040001","K44132-09-0724","PE","20240724",",HD-233L",70,2816,53908.56626);
        matDtos.add(matDto);
        ledCommand.setMatDtos(matDtos);
        System.out.println(ledCommand);
    }
}