liusuyi
2024-10-22 5141265c6214e84d4ef8a48c6cead6c372cc3892
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
package com.ard.tianyu.service;
 
import com.ard.tianyu.model.dto.BoxHistoryDTO;
import com.ard.tianyu.model.dto.BoxPhotosDTO;
import com.ard.tianyu.model.dto.BoxSettingsDTO;
import com.ard.tianyu.model.receiver.*;
import com.dtflys.forest.annotation.Var;
 
import java.util.List;
 
/**
 * ITyService
 *
 * @author liusuyi
 * @date 2024年10月22日8:36
 **/
public interface ITyService {
 
    /**
     * 获取天宇token信息
     * @return
     */
    AccessTokenReceiver getAccessToken();
 
 
    /**
     * 获取云盒列表
     * @return
     */
    List<BoxReceiver> getBoxList();
 
    /**
     * 获取直播地址
     * @return
     */
    PullStreamUrlReceiver  getBoxLiveUrl(@Var("boxSn") String boxSn);
 
    /**
     * 获取飞行历史
     * @return
     */
    List<BoxHistoryReceiver> getBoxHistory(BoxHistoryDTO boxHistoryDTO);
 
    /**
     * 获取盒子图片
     * @return
     */
    List<BoxPhotosReceiver> getBoxPhotos(BoxPhotosDTO boxPhotosDTO);
 
    /**
     * 修改云盒设置
     * @return
     */
    Boolean updateBoxSettings(BoxSettingsDTO boxSettingsDTO);
 
    /**
     * 注册
     * @return
     */
    void registerMessage();
}