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
| package com.zy.asrs.domain.devops;
|
| /**
| * 堆垛机状态枚举
| */
| public enum ErrorType {
| ERROR(10000, "站点对象为空","未连接到plc"),
| WUWU(10001, "站点无物", "请检查托盘是否走到位"),
| YOUWU(10002, "站点有物", "请检查光电是否落灰"),
| STANO(10003, "目标站点存在站点号", "缺少目标站点"),
| FEIZIDONG(10004, "目标站点非自动", "站点非自动状态,请切换"),
| GONGZUOHAO(10005, "目标站点存在工作号", "目标站点存在工作号,请检查"),
|
|
| WORKING(11001, "堆垛机工作中", "堆垛机上存在工作号"),
| HOME(11002, "货叉不在原位", "请将货叉回中"),
| CRNGONGZUOHAO(11003, "堆垛机存在工作号", "堆垛机存在工作号,请检查该任务是否已经完成"),
| LOAD(11004, "堆垛机的载物台有物", "堆垛机的载物台有物,请检查光电"),
| CRN_FEIZIDONG(11004, "堆垛机非自动", "请将堆垛机切自动"),
| CRN_NO_IDLE(11004, "堆垛机非空闲", "请将堆垛机切自动"),
|
|
| ;
| 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;
| }
|
|
| }
|
|