自动化立体仓库 - WMS系统
*
lsh
9 天以前 d9eeceed86c1ce43c73dda00a108595a078a8f3d
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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
package com.zy.asrs.entity;
 
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.util.Date;
 
@Data
@TableName("asr_bas_jar")
public class BasJar implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    /**
     * JAR编号
     */
    @ApiModelProperty(value= "JAR编号")
    @TableId(value = "jar_no", type = IdType.INPUT)
    @TableField("jar_no")
    private Integer jarNo;
 
    /**
     * 区域
     */
    @ApiModelProperty(value= "区域")
    private Integer region;
 
    /**
     * 代号
     */
    @ApiModelProperty(value= "代号")
    @TableField("jar_code")
    private Integer jarCode;
 
    /**
     * 对应出库站
     */
    @ApiModelProperty(value= "对应出库站")
    @TableField("sta_no")
    private Integer staNo;
 
    /**
     * 状态
     */
    @ApiModelProperty(value= "状态")
    @TableField("jar_status")
    private Integer jarStatus;
 
    /**
     * 库存数
     */
    @ApiModelProperty(value= "库存数")
    @TableField("jar_count")
    private Integer jarCount;
 
    /**
     * 异常代码
     */
    @ApiModelProperty(value= "异常代码")
    @TableField("jar_err")
    private Integer jarErr;
 
    /**
     * 左门(checkBox)
     */
    @ApiModelProperty(value= "进料门(checkBox)")
    @TableField("left_door")
    private String leftDoor;
 
    /**
     * 右门(checkBox)
     */
    @ApiModelProperty(value= "出料门(checkBox)")
    @TableField("right_door")
    private String rightDoor;
 
    /**
     * 左门可开(checkBox)
     */
    @ApiModelProperty(value= "进料门可开(checkBox)")
    @TableField("left_in_enable")
    private String leftInEnable;
 
    /**
     * 左门可关(checkBox)
     */
    @ApiModelProperty(value= "进料门可关(checkBox)")
    @TableField("left_out_enable")
    private String leftOutEnable;
 
    /**
     * 自动(checkBox)
     */
    @ApiModelProperty(value= "自动(checkBox)")
    private String autoing;
 
    /**
     * 模式
     */
    @ApiModelProperty(value= "模式")
    @TableField("jar_mode")
    private Integer jarMode;
 
    /**
     * 右门可开(checkBox)
     */
    @ApiModelProperty(value= "出料门可开(checkBox)")
    @TableField("right_in_enable")
    private String rightInEnable;
 
    /**
     * 右门可关(checkBox)
     */
    @ApiModelProperty(value= "出料门可关(checkBox)")
    @TableField("right_out_enable")
    private String rightOutEnable;
 
    /**
     * 入罐小车
     */
    @ApiModelProperty(value= "入罐小车")
    @TableField("enter_ste_no")
    private Integer enterSteNo;
 
    /**
     * 出罐小车
     */
    @ApiModelProperty(value= "出罐小车")
    @TableField("out_ste_no")
    private Integer outSteNo;
 
    /**
     * 入罐RGV
     */
    @ApiModelProperty(value= "入罐RGV")
    @TableField("enter_rgv_no")
    private Integer enterRgvNo;
 
    /**
     * 出罐RGV
     */
    @ApiModelProperty(value= "出罐RGV")
    @TableField("out_rgv_no")
    private Integer outRgvNo;
 
    /**
     * 冷却
     */
    @ApiModelProperty(value= "冷却")
    private Integer burial;
 
    /**
     * 温度
     */
    @ApiModelProperty(value= "温度")
    @TableField("jar_temperature")
    private Float jarTemperature;
 
    /**
     * 压力
     */
    @ApiModelProperty(value= "压力")
    @TableField("jar_pressure")
    private Float jarPressure;
 
    /**
     * 保温时间
     */
    @ApiModelProperty(value= "保温时间")
    @TableField("holding_time")
    private Date holdingTime;
 
    /**
     * 开门时间
     */
    @ApiModelProperty(value= "开门时间")
    @TableField("open_time")
    private Date openTime;
 
    /**
     * 关门时间
     */
    @ApiModelProperty(value= "关门时间")
    @TableField("close_time")
    private Date closeTime;
 
    /**
     * 左门开门
     */
    @ApiModelProperty(value= "左门开门")
    @TableField("left_door_open")
    private Integer leftDoorOpen;
 
    /**
     * 左门关门
     */
    @ApiModelProperty(value= "左门关门")
    @TableField("left_door_close")
    private Integer leftDoorClose;
 
    /**
     * 右门开门
     */
    @ApiModelProperty(value= "右门开门")
    @TableField("right_door_open")
    private Integer rightDoorOpen;
 
    /**
     * 右门关门
     */
    @ApiModelProperty(value= "右门关门")
    @TableField("right_door_close")
    private Integer rightDoorClose;
 
    public BasJar() {}
 
    public BasJar(Integer jarNo,Integer region,Integer jarCode,Integer staNo,Integer jarStatus,Integer jarCount,Integer jarErr,String leftDoor,String rightDoor,String leftInEnable,String leftOutEnable,String autoing,Integer jarMode,String rightInEnable,String rightOutEnable) {
        this.jarNo = jarNo;
        this.region = region;
        this.jarCode = jarCode;
        this.staNo = staNo;
        this.jarStatus = jarStatus;
        this.jarCount = jarCount;
        this.jarErr = jarErr;
        this.leftDoor = leftDoor;
        this.rightDoor = rightDoor;
        this.leftInEnable = leftInEnable;
        this.leftOutEnable = leftOutEnable;
        this.autoing = autoing;
        this.jarMode = jarMode;
        this.rightInEnable = rightInEnable;
        this.rightOutEnable = rightOutEnable;
    }
 
//    BasJar basJar = new BasJar(
//            null,    // JAR编号[非空]
//            null,    // 区域
//            null,    // 代号
//            null,    // 对应出库站
//            null,    // 状态
//            null,    // 库存数
//            null,    // 异常代码
//            null,    // 左门(checkBox)
//            null,    // 右门(checkBox)
//            null,    // 左门可开(checkBox)
//            null,    // 左门可关(checkBox)
//            null,    // 自动(checkBox)
//            null,    // 模式
//            null,    // 右门可开(checkBox)
//            null    // 右门可关(checkBox)
//    );
 
    public String getJarMode$(){
        if (null == this.jarMode){ return null; }
        switch (this.jarMode){
            case 0:
                return "离线";
            case 1:
                return "手动";
            case 2:
                return "自动";
            case 3:
                return "其他";
            default:
                return String.valueOf(this.jarMode);
        }
    }
 
    public String getJarErr$(){
        if (null == this.jarErr){ return null; }
        switch (this.jarErr){
            case 0:
                return "无异常";
            case 1:
                return "运行时进料门未关好";
            case 2:
                return "运行时出料门未关好";
            case 3:
                return "运行时未选择工艺";
            case 4:
                return "设备运行中超高温";
            case 5:
                return "设备运行中超高压";
            case 6:
                return "急停被按下";
            case 7:
                return "进料门关门超时";
            case 8:
                return "出料门关门超时";
            default:
                return String.valueOf(this.jarErr);
        }
    }
 
    public String getJarStatus$(){
        if (null == this.jarStatus){ return null; }
        switch (this.jarStatus){
            case 0:
                return "空闲";
            case 1:
                return "开门1";
            case 2:
                return "硫化中";
            case 3:
                return "开门3";
            case 4:
                return "停止";
            case 5:
                return "左门打开中";
            case 6:
                return "右门打开中";
            case 7:
                return "左门关闭中";
            case 8:
                return "右门关闭中";
            default:
                return String.valueOf(this.jarStatus);
        }
    }
 
}