From e13b129c300d3eff2ba555d0c41bbccbaab1014a Mon Sep 17 00:00:00 2001 From: fuliqi <fuliqi@qq.com> Date: 星期二, 17 九月 2024 18:56:59 +0800 Subject: [PATCH] 新大屏数据对接 --- ycl-common/src/main/java/constant/ApiConstants.java | 32 ++++++++++++++++++++++++++++++-- 1 files changed, 30 insertions(+), 2 deletions(-) diff --git a/ycl-common/src/main/java/constant/ApiConstants.java b/ycl-common/src/main/java/constant/ApiConstants.java index e4b2164..9164012 100644 --- a/ycl-common/src/main/java/constant/ApiConstants.java +++ b/ycl-common/src/main/java/constant/ApiConstants.java @@ -6,9 +6,11 @@ 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; //璇锋眰鍙傛暟dataType-浜鸿劯鏁版嵁 @@ -50,4 +52,30 @@ 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; + + //OSD鏍¢獙鏍囪瘑 + public final static Integer OSD_Correct = 1; + public final static Integer OSD_Unknown = 0; + public final static Integer OSD_Error = -1; + + //鑷础琛屾斂缂栫爜 + public final static String AreaNo = "5103"; + + //鐪佸巺鍓嶇紑 + public final static String Province = "Province_"; + public final static String County = "County_"; + //娴峰悍璁块棶OSD璺緞 + public final static String HK_OSD_PATH = "/ISAPI/System/Video/inputs/channels/1/overlays"; + //娴峰悍璁块棶鏃堕棿璺緞 + public final static String HK_OSD_TIME = "/ISAPI/System/time"; + + //鏍囩甯搁噺 + public final static Integer TRUE = 1; + public final static Integer FALSE = 0; } -- Gitblit v1.8.0