From 5b017324148ea92d96f9f16ade215463d6c712e5 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期六, 10 八月 2024 14:15:02 +0800
Subject: [PATCH] 优化:海康大华sdk断线重连机制
---
ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java | 30 +++++++++++++++++++-----------
1 files changed, 19 insertions(+), 11 deletions(-)
diff --git a/ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java b/ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java
index 17a7a6d..f136e2a 100644
--- a/ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java
+++ b/ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java
@@ -7,15 +7,14 @@
/**
* 閫氶亾绠$悊Service鎺ュ彛
- *
+ *
* @author ard
* @date 2023-08-19
*/
-public interface IArdChannelService
-{
+public interface IArdChannelService {
/**
* 鏌ヨ閫氶亾绠$悊
- *
+ *
* @param id 閫氶亾绠$悊涓婚敭
* @return 閫氶亾绠$悊
*/
@@ -23,7 +22,7 @@
/**
* 鏌ヨ閫氶亾绠$悊鍒楄〃
- *
+ *
* @param ardChannel 閫氶亾绠$悊
* @return 閫氶亾绠$悊闆嗗悎
*/
@@ -31,7 +30,7 @@
/**
* 鏂板閫氶亾绠$悊
- *
+ *
* @param ardChannel 閫氶亾绠$悊
* @return 缁撴灉
*/
@@ -39,7 +38,7 @@
/**
* 淇敼閫氶亾绠$悊
- *
+ *
* @param ardChannel 閫氶亾绠$悊
* @return 缁撴灉
*/
@@ -47,7 +46,7 @@
/**
* 鎵归噺鍒犻櫎閫氶亾绠$悊
- *
+ *
* @param ids 闇�瑕佸垹闄ょ殑閫氶亾绠$悊涓婚敭闆嗗悎
* @return 缁撴灉
*/
@@ -55,25 +54,34 @@
/**
* 鍒犻櫎閫氶亾绠$悊淇℃伅
- *
+ *
* @param id 閫氶亾绠$悊涓婚敭
* @return 缁撴灉
*/
public int deleteArdChannelById(String id);
+
/**
* 鍒犻櫎閫氶亾绠$悊淇℃伅
*
* @param deviceId 鎵�灞炶澶嘔D
* @return 缁撴灉
*/
- public int deleteArdChannelByDeviceId(String deviceId);
+ public int deleteArdChannelByDeviceId(String deviceId);
/**
+ * 娓呯┖閫氶亾
+ *
+ * @author 鍒樿嫃涔�
+ * @date 2024/8/10 11:18
+ */
+ public int clearArdChannel();
+
+ /**
+ * @return
* @Author 鍒樿嫃涔�
* @Description 鍚屾閫氶亾淇℃伅
* @Date 2024/7/10 13:20
* @Param
- * @return
*/
public void asyncChannel(ArdCameras ardCameras, List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList);
}
--
Gitblit v1.9.3