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
| package com.zy.asrs.domain.devops;
|
| /**
| * 堆垛机状态枚举
| */
| public enum ErrorType {
| ERROR(10000, "站点对象为空","联系技术人员"),
| WUWU(10001, "无物", "1"),
| YOUWU(10002, "有物", "1"),
| STANO(10003, "目标站点存在站点号", "1"),
| FEIZIDONG(10004, "目标站点非自动", "1"),
| GONGZUOHAO(10005, "目标站点存在工作号", "1"),
|
|
| WORKING(11001, "堆垛机在工作中", "1"),
| HOME(11002, "货叉不在原位", "1"),
| CRNGONGZUOHAO(11003, "堆垛机在工作中", "1"),
|
| ;
| private Integer code;
| private String desc;
| private String method;
|
| ErrorType(Integer code, String desc, String method) {
| this.code = code;
| this.desc = desc;
| this.method = method;
| }
|
| public String getMethod() {
| return method;
| }
|
| public void setMethod(String method) {
| this.method = method;
| }
|
|
|
| public Integer getCode() {
| return code;
| }
|
| public void setCode(Integer code) {
| this.code = code;
| }
|
| public String getDesc() {
| return desc;
| }
|
| public void setDesc(String desc) {
| this.desc = desc;
| }
|
|
| }
|
|