From 38f29e38fcc668171dc05c53d40a36b895c86102 Mon Sep 17 00:00:00 2001
From: liusuyi <1951119284@qq.com>
Date: 星期四, 10 十月 2024 13:34:28 +0800
Subject: [PATCH] init

---
 ard-work/src/main/java/com/ruoyi/device/channel/service/IArdChannelService.java |   50 ++++++++++++++++++++++----------------------------
 1 files changed, 22 insertions(+), 28 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 eea7265..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
@@ -1,19 +1,20 @@
 package com.ruoyi.device.channel.service;
 
 import java.util.List;
+
+import com.ruoyi.device.camera.domain.ArdCameras;
 import com.ruoyi.device.channel.domain.ArdChannel;
 
 /**
  * 閫氶亾绠$悊Service鎺ュ彛
- * 
+ *
  * @author ard
  * @date 2023-08-19
  */
-public interface IArdChannelService 
-{
+public interface IArdChannelService {
     /**
      * 鏌ヨ閫氶亾绠$悊
-     * 
+     *
      * @param id 閫氶亾绠$悊涓婚敭
      * @return 閫氶亾绠$悊
      */
@@ -21,7 +22,7 @@
 
     /**
      * 鏌ヨ閫氶亾绠$悊鍒楄〃
-     * 
+     *
      * @param ardChannel 閫氶亾绠$悊
      * @return 閫氶亾绠$悊闆嗗悎
      */
@@ -29,7 +30,7 @@
 
     /**
      * 鏂板閫氶亾绠$悊
-     * 
+     *
      * @param ardChannel 閫氶亾绠$悊
      * @return 缁撴灉
      */
@@ -37,7 +38,7 @@
 
     /**
      * 淇敼閫氶亾绠$悊
-     * 
+     *
      * @param ardChannel 閫氶亾绠$悊
      * @return 缁撴灉
      */
@@ -45,7 +46,7 @@
 
     /**
      * 鎵归噺鍒犻櫎閫氶亾绠$悊
-     * 
+     *
      * @param ids 闇�瑕佸垹闄ょ殑閫氶亾绠$悊涓婚敭闆嗗悎
      * @return 缁撴灉
      */
@@ -53,41 +54,34 @@
 
     /**
      * 鍒犻櫎閫氶亾绠$悊淇℃伅
-     * 
+     *
      * @param id 閫氶亾绠$悊涓婚敭
      * @return 缁撴灉
      */
     public int deleteArdChannelById(String id);
+
     /**
      * 鍒犻櫎閫氶亾绠$悊淇℃伅
      *
      * @param deviceId 鎵�灞炶澶嘔D
      * @return 缁撴灉
      */
-     public int deleteArdChannelByDeviceId(String deviceId);
-     /**
-      * @Author 鍒樿嫃涔�
-      * @Description 鑾峰彇2涓�氶亾鍒楄〃鐨勪氦闆�
-      * @Date   2024/7/10 9:38
-      * @Param
-      * @return
-      */
-    public List<ArdChannel> sameList(List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList);
-    /**
-     * @Author 鍒樿嫃涔�
-     * @Description 鍙�2涓�氶亾鍒楄〃鐨勫樊闆�
-     * @Date   2024/7/10 9:39
-     * @Param
-     * @return
-     */
-    public List<ArdChannel> diffList(List<ArdChannel> firstArrayList, List<ArdChannel> secondArrayList);
+    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(List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList);
+    public void asyncChannel(ArdCameras ardCameras, List<ArdChannel> oldArrayList, List<ArdChannel> newArrayList);
 }

--
Gitblit v1.9.3