From f4edd0189b869f80c32a1c85b960b26b1e4692be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=9F=B3=E5=A4=B4=E4=BA=BA?= <3076767823@qq.com> Date: Thu, 6 Mar 2025 14:14:03 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E5=A2=9E=E5=8A=A0ms439=E6=89=93?= =?UTF-8?q?=E5=8D=B0=E6=9C=BA=E9=94=99=E8=AF=AF=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/constant/ErrorCodeConstants.java | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/src/main/java/com/dpkj/common/constant/ErrorCodeConstants.java b/src/main/java/com/dpkj/common/constant/ErrorCodeConstants.java index a675cba..791582d 100644 --- a/src/main/java/com/dpkj/common/constant/ErrorCodeConstants.java +++ b/src/main/java/com/dpkj/common/constant/ErrorCodeConstants.java @@ -224,4 +224,41 @@ public final class ErrorCodeConstants { KEYPAD_ERROR_CODE.put(-57, "一些设备能够识别试图欺骗获得重要信息或媒介的恶意物理攻击。在这些情况下,将返回此错误代码,显示用户试图对该设备采取欺骗行为"); KEYPAD_ERROR_CODE.put(-58, "此时被请求的操作无效,或在设备当时的状态下,被请求的操作无效"); } + + + public static final Map MS439_PRINT_ERROR_CODE; + + static { + MS439_PRINT_ERROR_CODE = new HashMap<>(); + MS439_PRINT_ERROR_CODE.put(-100, "FORM未找到"); + MS439_PRINT_ERROR_CODE.put(-101, "FIELD未找到"); + MS439_PRINT_ERROR_CODE.put(-102, "缺纸"); + MS439_PRINT_ERROR_CODE.put(-103, "设备不支持读操作"); + MS439_PRINT_ERROR_CODE.put(-104, "不支持FLUSH"); + MS439_PRINT_ERROR_CODE.put(-105, "Media超域"); + MS439_PRINT_ERROR_CODE.put(-106, "Field语法错误"); + MS439_PRINT_ERROR_CODE.put(-107, "处理Field时发生错误"); + MS439_PRINT_ERROR_CODE.put(-108, "Media未找到"); + MS439_PRINT_ERROR_CODE.put(-109, "设备无法获得范围"); + MS439_PRINT_ERROR_CODE.put(-110, "无效的Media"); + MS439_PRINT_ERROR_CODE.put(-111, "无效的Form"); + MS439_PRINT_ERROR_CODE.put(-112, "无效的Field"); + MS439_PRINT_ERROR_CODE.put(-113, "Media错误"); + MS439_PRINT_ERROR_CODE.put(-114, "回收箱满"); + MS439_PRINT_ERROR_CODE.put(-115, "STACKE满"); + MS439_PRINT_ERROR_CODE.put(-116, "设备不能翻页"); + MS439_PRINT_ERROR_CODE.put(-117, "设备不能翻转介质"); + MS439_PRINT_ERROR_CODE.put(-118, "Shutter执行命令失败"); + MS439_PRINT_ERROR_CODE.put(-119, "卡纸"); + MS439_PRINT_ERROR_CODE.put(-120, "文件读取失败"); + MS439_PRINT_ERROR_CODE.put(-121, "字符集不一致"); + MS439_PRINT_ERROR_CODE.put(-122, "卡纸"); + MS439_PRINT_ERROR_CODE.put(-123, "缺纸"); + MS439_PRINT_ERROR_CODE.put(-124, "墨水用完"); + MS439_PRINT_ERROR_CODE.put(-125, "色带用完"); + MS439_PRINT_ERROR_CODE.put(-126, "成象灯不可操作"); + MS439_PRINT_ERROR_CODE.put(-127, "资源无效"); + MS439_PRINT_ERROR_CODE.put(-128, "命令序列不对"); + MS439_PRINT_ERROR_CODE.put(-129, "介质的长度不对"); + } }