Browse Source

add:枚举

master
gengby 7 months ago
parent
commit
b551d82f21
  1. 20
      nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ErrorEnum.java
  2. 19
      nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ForkTypeEnum.java

20
nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ErrorEnum.java

@ -0,0 +1,20 @@
package org.nl.acs.device.driver.stacker.double_stacker.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @Description TODO
* @Author Gengby
* @Date 2024/6/26
*/
@Getter
@AllArgsConstructor
public enum ErrorEnum {
MR(5, "满入"),
KC(6, "空出"),
ZD(16, "阻挡/浅货位有货");
private int code;
private String desc;
}

19
nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ForkTypeEnum.java

@ -0,0 +1,19 @@
package org.nl.acs.device.driver.stacker.double_stacker.enums;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* @Description TODO
* @Author Gengby
* @Date 2024/6/26
*/
@Getter
@AllArgsConstructor
public enum ForkTypeEnum {
FRONT("1", "前叉"),
BACK("2", "后叉");
private String code;
private String desc;
}
Loading…
Cancel
Save