rain
2024-08-03 b7c05407dcf01cd7c01fde0efdf2a6a0283d4016
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);
}