From a737ae8e1253ce4883a3c5c91f10f83ad3ac8a52 Mon Sep 17 00:00:00 2001
From: zhaowenyu <35589726@qq.com>
Date: Tue, 02 Dec 2025 16:29:30 +0800
Subject: [PATCH] 2025-12-02 zwy websocket增加心跳
---
ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java b/ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java
index f8123a1..1f3d583 100644
--- a/ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java
+++ b/ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java
@@ -106,12 +106,17 @@
/**
* 根据部门权限获取机场列表
* */
- List<DeviceDTO> getDockList();
+ List<DeviceDTO> getDockList(String nickname);
void spliceDeviceTopoPer(DeviceDTO gateway);
-// @DataScope(deptAlias = "d")
List<DeviceDTO> getDockListByParams(DeviceQueryParam param);
+
+// List<DeviceDTO> getDockCameraList(String nickname);
+
+// void spliceDeviceTopoCamera(DeviceDTO gateway);
+
+// List<DeviceDTO> getDockCameraListByParams(DeviceQueryParam param);
/**
* Query the information of the device according to the sn of the device.
@@ -157,7 +162,19 @@
*/
Boolean updateDevice(DeviceDTO deviceDTO);
+ /**
+ * 修改狀態
+ * @param sn 設備sn
+ * @param workType 狀態碼
+ * */
Boolean updateWorkType(String sn, Long workType);
+
+ /**
+ * 修改机场及飞行器直播地址
+ * @param sn 設備sn
+ * @param webrtcUrl 直播地址
+ * */
+ Boolean updateWebrtcUrl(String sn, String webrtcUrl);
/**
* Bind devices to organizations and people.
@@ -227,6 +244,11 @@
void devicePropertySet(String dockSn, DeviceSetPropertyEnum propertyEnum, JsonNode param);
/**
+ * 更改静音模型
+ * */
+ void deviceOnePropertySetSilent(String topic, DeviceSetPropertyEnum propertyEnum, JsonNode value);
+
+ /**
* Set one property parameters of the drone.
* @param topic
* @param propertyEnum
--
Gitblit v1.9.3