From c69a8bc29d0b5178321c84e86f07e308c2116c7e Mon Sep 17 00:00:00 2001
From: Xiajijian <1176061145@qq.com>
Date: Fri, 26 Dec 2025 15:18:56 +0800
Subject: [PATCH] 1. 优化新增地图/修改地图名称重复校验。 2. 优化新增模型/修改模型名称重复校验。 3. 优化新增tile/修改tile名称重复校验。
---
ard-sample/src/main/java/com/ard/sample/manage/service/IDeviceService.java | 44 ++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 42 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 81d3812..0eaf9d6 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
@@ -8,10 +8,12 @@
import com.ard.sample.manage.model.dto.DeviceDTO;
import com.ard.sample.manage.model.dto.DeviceFirmwareUpgradeDTO;
import com.ard.sample.manage.model.dto.TopologyDeviceDTO;
+import com.ard.sample.manage.model.entity.DeviceEntity;
import com.ard.sample.manage.model.enums.DeviceSetPropertyEnum;
import com.ard.sample.manage.model.param.DeviceQueryParam;
import com.ard.sample.manage.model.receiver.FirmwareVersionReceiver;
import com.ard.sample.manage.model.receiver.StatusGatewayReceiver;
+import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.fasterxml.jackson.databind.JsonNode;
import org.springframework.messaging.Message;
import org.springframework.messaging.MessageHeaders;
@@ -102,6 +104,21 @@
void pushDeviceOnlineTopo(Collection<ConcurrentWebSocketSession> sessions, String sn, String gatewaySn);
/**
+ * 根据部门权限获取机场列表
+ * */
+ List<DeviceDTO> getDockList(String nickname);
+
+ void spliceDeviceTopoPer(DeviceDTO gateway);
+
+ 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.
* @param sn device sn
* @return
@@ -145,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.
@@ -178,7 +207,7 @@
* @param domain
* @return
*/
- PaginationData<DeviceDTO> getBoundDevicesWithDomain(Long page, Long pageSize, Integer domain);
+ PaginationData<DeviceDTO> getBoundDevicesWithDomain(Long page, Long pageSize, Integer domain, Long deptId);
/**
* Unbind device base on device's sn.
@@ -212,7 +241,12 @@
* @param propertyEnum
* @param param
*/
- void devicePropertySet(String dockSn, DeviceSetPropertyEnum propertyEnum, JsonNode param);
+ ResponseResult devicePropertySet(String dockSn, DeviceSetPropertyEnum propertyEnum, JsonNode param);
+
+ /**
+ * 更改静音模型
+ * */
+ void deviceOnePropertySetSilent(String topic, DeviceSetPropertyEnum propertyEnum, JsonNode value);
/**
* Set one property parameters of the drone.
@@ -228,4 +262,10 @@
* @return
*/
Boolean checkDeviceOnline(String sn);
+
+ void sendCameraInfo();
+
+ void setRedisCameraPosition(String sn, Integer cameraPosition);
+ void setChildRedisCamera(String sn, String context);
+// public List<DeviceEntity> selectList(Wrapper<DeviceEntity> queryWrapper);
}
\ No newline at end of file
--
Gitblit v1.9.3