自动化立体仓库 - WCS系统
#
Junjie
2023-10-04 d9271883338de97164a36ea9a1e5fc7eef73e64d
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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
package com.zy.asrs.domain.vo;
 
import com.zy.core.enums.LiftNotReadyType;
import com.zy.core.enums.LiftProtocolStatusType;
import lombok.Data;
 
@Data
public class LiftStateTableVo {
 
    // 提升机号
    private Integer liftNo;
 
    /**
     * 任务号
     */
    private Short taskNo = 0;
 
    /**
     * 四向穿梭车号
     */
    private Short shuttleNo = 0;
 
    /**
     * 当前提升机状态(内部自我维护)
     */
    private Integer protocolStatus;
 
    /**
     * 模式
     */
    private Boolean model;
 
    /**
     * 忙闲
     */
    private Boolean busy;
 
    /**
     * 有托盘
     */
    private Boolean hasTray;
 
    /**
     * 有小车
     */
    private Boolean hasCar;
 
    /**
     * 设备故障
     */
    private Boolean deviceError;
 
    /**
     * 前超限
     */
    private Boolean frontOverrun;
 
    /**
     * 后超限
     */
    private Boolean backOverrun;
 
    /**
     * 左超限
     */
    private Boolean leftOverrun;
 
    /**
     * 右超限
     */
    private Boolean rightOverrun;
 
    /**
     * 超高
     */
    private Boolean overHeight;
 
    /**
     * 超重
     */
    private Boolean overWeight;
 
    public String getModel$() {
        if (this.model == null) {
            return "离线";
        }
        return this.model ? "自动" : "手动";
    }
 
    public String getBusy$() {
        if (this.busy == null) {
            return "-";
        }
        return this.busy ? "忙碌" : "空闲";
    }
 
    public String getHasTray$() {
        if (this.hasTray == null) {
            return "-";
        }
        return this.hasTray ? "Y" : "N";
    }
 
    public String getHasCar$() {
        if (this.hasCar == null) {
            return "N";
        }
        return this.hasCar ? "Y" : "N";
    }
 
    public String getDeviceError$() {
        if (this.deviceError == null) {
            return "N";
        }
        return this.deviceError ? "Y" : "N";
    }
 
    public String getFrontOverrun$() {
        if (this.frontOverrun == null) {
            return "N";
        }
        return this.frontOverrun ? "Y" : "N";
    }
 
    public String getBackOverrun$() {
        if (this.backOverrun == null) {
            return "N";
        }
        return this.backOverrun ? "Y" : "N";
    }
 
    public String getLeftOverrun$() {
        if (this.leftOverrun == null) {
            return "N";
        }
        return this.leftOverrun ? "Y" : "N";
    }
 
    public String getRightOverrun$() {
        if (this.rightOverrun == null) {
            return "N";
        }
        return this.rightOverrun ? "Y" : "N";
    }
 
    public String getOverHeight$() {
        if (this.overHeight == null) {
            return "N";
        }
        return this.overHeight ? "Y" : "N";
    }
 
    public String getOverWeight$() {
        if (this.overWeight == null) {
            return "N";
        }
        return this.overWeight ? "Y" : "N";
    }
 
    public String getProtocolStatus$() {
        if (this.protocolStatus == null) {
            return LiftProtocolStatusType.OFFLINE.desc;
        }
        return LiftProtocolStatusType.get(this.protocolStatus).desc;
    }
 
}