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"), LOAD(11004, "堆垛机的载物台有物", "1"), CRN_FEIZIDONG(11004, "堆垛机非自动", "1"), CRN_NO_IDLE(11004, "堆垛机非空闲", "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; } }