xieb
2024-04-08 ff968e2cfb132eb86c70e94e99b9937a8a7b15e9
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
package com.dji.sample.manage.service;
 
import com.dji.sample.manage.model.dto.TopologyDTO;
 
import java.util.List;
import java.util.Optional;
 
/**
 * @author sean
 * @version 0.2
 * @date 2021/12/8
 */
public interface ITopologyService {
 
    /**
     * Get the topology list of all devices in the workspace for pilot display.
     * @param workspaceId
     * @return
     */
    List<TopologyDTO> getDeviceTopology(String workspaceId);
 
    /**
     * Query the topology according to the gateway sn.
     * @param gatewaySn
     * @return
     */
    Optional<TopologyDTO> getDeviceTopologyByGatewaySn(String gatewaySn);
}