From b551d82f2197ab1e97b0c025b2967a95ca03c260 Mon Sep 17 00:00:00 2001 From: gengby <858962040@qq.com> Date: Wed, 26 Jun 2024 14:55:59 +0800 Subject: [PATCH] =?UTF-8?q?add:=E6=9E=9A=E4=B8=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../double_stacker/enums/ErrorEnum.java | 20 +++++++++++++++++++ .../double_stacker/enums/ForkTypeEnum.java | 19 ++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ErrorEnum.java create mode 100644 nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ForkTypeEnum.java diff --git a/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ErrorEnum.java b/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ErrorEnum.java new file mode 100644 index 0000000..e1b93fc --- /dev/null +++ b/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; +} \ No newline at end of file diff --git a/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ForkTypeEnum.java b/nladmin-system/nlsso-server/src/main/java/org/nl/acs/device/driver/stacker/double_stacker/enums/ForkTypeEnum.java new file mode 100644 index 0000000..c9eefe3 --- /dev/null +++ b/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; +} \ No newline at end of file