自动化立体仓库 - WCS系统
野心家
2025-04-01 66942458f7753fe4ddee7c5ed3386d61cff28b24
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
package com.zy.core.model.protocol;
 
public class Cycle implements Cloneable {
    // 站点编号
    private Integer siteId;
 
    // 工作号
    private Short workNo = 0;
 
    // 目标站
    private Short staNo;
 
    public Cycle(Integer siteId, Short staNo) {
        this.siteId = siteId;
        this.staNo = staNo;
    }
 
    public Integer getSiteId() {
        return siteId;
    }
 
    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }
 
    public Short getWorkNo() {
        return workNo;
    }
 
    public void setWorkNo(Short workNo) {
        this.workNo = workNo;
    }
 
    public Short getStaNo() {
        return staNo;
    }
 
    public void setStaNo(Short staNo) {
        this.staNo = staNo;
    }
 
    @Override
    public Cycle clone() {
        try {
            return (Cycle) super.clone();
        } catch (CloneNotSupportedException e) {
            e.printStackTrace();
        }
        return null;
    }
}