From 11456e1af96ae10fe08dcecf091797b6f08d391b Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期六, 24 八月 2024 15:16:51 +0800 Subject: [PATCH] feat:工单同步点位状态、增加故障类型枚举 --- ycl-common/src/main/java/constant/ApiConstants.java | 40 +++++++++++++++++++++++++++++++++++----- 1 files changed, 35 insertions(+), 5 deletions(-) diff --git a/ycl-common/src/main/java/constant/ApiConstants.java b/ycl-common/src/main/java/constant/ApiConstants.java index 026249d..436c6ae 100644 --- a/ycl-common/src/main/java/constant/ApiConstants.java +++ b/ycl-common/src/main/java/constant/ApiConstants.java @@ -6,13 +6,15 @@ public class ApiConstants { //鎴愬姛鐘舵�佺爜 public final static String HKSuccessCode = "0"; + public final static String UYSuccessCodeStr = "200"; public final static Integer UYSuccessCode = 200; - public final static Integer pageNo = 1; - public final static Integer pageSize = 5000; + public final static Integer PageNo = 1; + public final static Integer PageSize = 20000; + public final static Integer HKPageSize = 5000; //璇锋眰鍙傛暟dataType-鍗″彛杩囪溅 - public final static Integer HK_DATATYPE_CAR = 1; + public final static Integer HK_DataType_CAR = 1; //璇锋眰鍙傛暟dataType-浜鸿劯鏁版嵁 - public final static Integer HK_DATATYPE_FACE = 2; + public final static Integer HK_DataType_FACE = 2; //鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋� 姝e父 public final static Integer HK_SnapCount_ResultType_Normal = 1; @@ -22,7 +24,7 @@ public final static Integer HK_SnapCount_ResultType_Descent = 3; //璇锋眰鍙傛暟dataType 鏁版嵁閲忓皯 - public final static Integer HK_DATATYPE_ResultType_Low = 4; + public final static Integer HK_DataType_ResultType_Low = 4; //缁忕含搴︽娴嬬粨鏋� 姝e父 public final static Integer HK_Info_LayType_Normal = 1; @@ -42,5 +44,33 @@ //鍥介檯缂栫爜鐩戞祴缁撴灉 11-13浣嶄笉鍚堟爣鍑� public final static Integer HK_Info_GbCodeType_11NotStandard = 4; + //浼樹簯鍦ㄧ嚎鐘舵�� 1鍦ㄧ嚎 0鏈煡 -1绂荤嚎 + public final static Integer UY_OnlineSite_Online = 1; + public final static Integer UY_OnlineSite_Unknown = 0; + public final static Integer UY_OnlineSite_Offline = -1; + //浼樹簯褰曞儚瀹屾暣鐘舵�� + public final static Integer UY_RecordStatus_Integrity = 1; + public final static Integer UY_RecordStatus_Interval = 0; + public final static Integer UY_RecordStatus_Abnormal = -1; + + //浼樹簯鐐逛綅鍦ㄧ嚎鐘舵�� + public final static Integer UY_OnlineStatus_All = 2; + public final static Integer UY_OnlineStatus_Online = 1; + public final static Integer UY_OnlineStatus_Offline = -1; + public final static Integer UY_OnlineStatus_Unknown = 0; + + //Python鏍¢獙鏍囪瘑 + public final static Integer PY_OSD_Correct = 1; + public final static Integer PY_OSD_Unknown = 0; + public final static Integer PY_OSD_Error = -1; + + //鑷础琛屾斂缂栫爜 + public final static String AreaNo = "5103"; + + //鐪佸巺鍓嶇紑 + public final static String Province = "Province_"; + + + } -- Gitblit v1.8.0