From 3b0516a2959e25576e4f3fda697a3b025d06c8c9 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期二, 24 六月 2025 14:09:07 +0800
Subject: [PATCH] 每日录像可用指标添加日志,修改大屏为查看当前月平均

---
 ycl-common/src/main/java/constant/ApiConstants.java |   87 +++++++++++++++++++++++++++++++++++++++----
 1 files changed, 79 insertions(+), 8 deletions(-)

diff --git a/ycl-common/src/main/java/constant/ApiConstants.java b/ycl-common/src/main/java/constant/ApiConstants.java
index c4fcf99..4da7af9 100644
--- a/ycl-common/src/main/java/constant/ApiConstants.java
+++ b/ycl-common/src/main/java/constant/ApiConstants.java
@@ -6,23 +6,94 @@
 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;
-
     //鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋� 鏃犳暟鎹�
     public final static Integer HK_SnapCount_ResultType_Null = 2;
-
     //鎶撴媿鏁版嵁閲忕洃娴嬬粨鏋� 鏁版嵁绐侀檷
     public final static Integer HK_SnapCount_ResultType_Descent = 3;
-
     //璇锋眰鍙傛暟dataType 鏁版嵁閲忓皯
-    public final static Integer HK_DATATYPE_ResultType_Low = 4;
+    public final static Integer HK_SnapCount_ResultType_Low = 4;
+
+    //缁忕含搴︽娴嬬粨鏋� 姝e父
+    public final static Integer HK_Info_LayType_Normal = 1;
+    //缁忕含搴︽娴嬬粨鏋� 缁忕含搴︾己澶�
+    public final static Integer HK_Info_LayType_Absent = 2;
+    //缁忕含搴︽娴嬬粨鏋� 涓嶅湪杈栧尯
+    public final static Integer HK_Info_LayType_NotIn = 3;
+    //缁忕含搴︽娴嬬粨鏋� 绮惧害浣�
+    public final static Integer HK_Info_LayType_Low = 4;
+
+    //鍥介檯缂栫爜鐩戞祴缁撴灉 姝e父
+    public final static Integer HK_Info_GbCodeType_Normal = 1;
+    //鍥介檯缂栫爜鐩戞祴缁撴灉 缂栫爜闀垮害涓嶇瓑浜�20浣�
+    public final static Integer HK_Info_GbCodeType_NotEq = 2;
+    //鍥介檯缂栫爜鐩戞祴缁撴灉 鍓�6浣嶄笉鍚堟爣鍑�
+    public final static Integer HK_Info_GbCodeType_6NotStandard = 3;
+    //鍥介檯缂栫爜鐩戞祴缁撴灉 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;
+
+    //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_";
+    //鍏畨閮ㄥ墠缂�
+    public final static String Dept = "Dept_";
+
+    //娴峰悍璁块棶OSD璺緞 閫氶亾1
+    public final static String HK_OSD_PATH_1 = "/ISAPI/System/Video/inputs/channels/1/overlays";
+    //娴峰悍璁块棶OSD璺緞 閫氶亾2
+    public final static String HK_OSD_PATH_2 = "/ISAPI/System/Video/inputs/channels/2/overlays";
+    //娴峰悍璁块棶鏃堕棿璺緞
+    public final static String HK_OSD_TIME = "/ISAPI/System/time";
+
+    //娴峰悍鎴愮哗閲嶇偣鏍囩
+    public final static Integer HK_FOCUS_FLAG_ALL = 0;
+    public final static Integer HK_FOCUS_FLAG_Important = 1;
+
+    //鍥芥爣鐮侀�氶亾绱㈠紩
+    public final static Integer SerialNumber_Channel = 13;
+    //鍥芥爣鐮佽澶囩被鍨嬬储寮�
+    public final static Integer SerialNumber_Category = 17;
+    //鍥芥爣鍏ㄦ櫙鏍囪瘑
+    public final static char SerialNumber_All = '0';
+    //鍥芥爣缁嗚妭鏍囪瘑
+    public final static char SerialNumber_Detail = '1';
+
+    //鏍囩甯搁噺
+    public final static Integer TRUE = 1;
+    public final static Integer FALSE = 0;
 }

--
Gitblit v1.8.0