sean.zhou
2022-12-12 2d8ded3e77b22e44985265ca4063102662e452c1
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
package com.dji.sample.control.service;
 
import com.dji.sample.common.model.ResponseResult;
import com.dji.sample.component.mqtt.model.CommonTopicReceiver;
import com.dji.sample.control.model.param.RemoteDebugParam;
import org.springframework.messaging.MessageHeaders;
 
/**
 * @author sean
 * @version 1.2
 * @date 2022/7/29
 */
public interface IControlService {
 
    /**
     * Remotely debug the dock via commands.
     * @param sn
     * @param serviceIdentifier
     * @param param
     * @return
     */
    ResponseResult controlDock(String sn, String serviceIdentifier, RemoteDebugParam param);
 
    /**
     * Handles multi-state command progress information.
     * @param receiver
     * @param headers
     */
    void handleControlProgress(CommonTopicReceiver receiver, MessageHeaders headers);
 
}