chengf
2025-10-28 2807cca4b6f2e8af204d798679dcee78e695ee28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
package com.ruoyi.business.uav.service;
 
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.business.uav.domain.UavConfig;
import com.ruoyi.business.uav.domain.vo.UavConfigVo;
import com.ruoyi.common.core.page.TableDataInfo;
import org.springframework.stereotype.Service;
 
 
import java.util.List;
/**
 * @Author:yuankun
 * @Package:com.ruoyi.business.uav.service
 * @Project:ruoyi-vue-service
 * @name:aaa
 * @Date:2024/5/12 15:25
 * @Filename:aaa
 */
@Service
public interface UavConfigService extends IService<UavConfig> {
 
    /**
     * 分页查询
     *
     * @param entity
     * @return
     */
    List<UavConfigVo> queryList(UavConfigVo entity);
 
    /**
     * 查询全部
     *
     * @param entity
     * @return
     */
    List<UavConfigVo> queryAll(UavConfigVo entity);
 
    /**
     * 根据ID查询
     *
     * @param id
     * @return
     */
    UavConfigVo queryById(Long id);
 
    /**
     * 修改无人机配置信息
     *
     * @param uavConfigVo
     * @return
     */
    boolean updateConfigById(UavConfigVo uavConfigVo) throws Exception;
 
 
    /**
     * 新增无人机配置信息
     *
     * @param uavConfigVo
     * @return
     */
    boolean saveUavConfigVo(UavConfigVo uavConfigVo) throws Exception;
 
    /**
     * 连接无人机
     *
     * @param id
     * @return
     */
    boolean connectUav(Long id) throws Exception;
    /**
     * 取消连接
     *
     * @param id
     * @return
     */
    boolean disconnectUav(Long id) throws Exception;
}