From 6a9148db96ae24cb932ee50e9427269569348868 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 28 四月 2025 09:14:53 +0800
Subject: [PATCH] 手册,海康接口调整
---
ycl-common/src/main/java/constant/ApiConstants.java | 41 ++++++++++++++++++++++++++++++-----------
1 files changed, 30 insertions(+), 11 deletions(-)
diff --git a/ycl-common/src/main/java/constant/ApiConstants.java b/ycl-common/src/main/java/constant/ApiConstants.java
index 420f200..4da7af9 100644
--- a/ycl-common/src/main/java/constant/ApiConstants.java
+++ b/ycl-common/src/main/java/constant/ApiConstants.java
@@ -22,9 +22,8 @@
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;
@@ -59,22 +58,42 @@
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;
+ //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;
- /** 鑰冩牳鎸囨爣 鏉′欢鍙傛暟 */
- //杞﹁締鑰冩牳锛岀偣浣嶅湪绾跨巼锛屽尯鍘夸笉灏戜簬40璺�
- public final static Integer Check_Car_SiteOnline = 40;
- //杞﹁締鍦ㄧ嚎鐜� Redis 姣忔湀鏁版嵁涓柇娆℃暟 Hash key
- public final static String Check_Car_ViewConnect = "ViewConnectNoData";
+ //鍥芥爣鐮侀�氶亾绱㈠紩
+ 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