| | |
| | | package com.ard.tianyu.service; |
| | | |
| | | import com.ard.tianyu.model.receiver.AccessTokenReceiver; |
| | | import com.ard.tianyu.model.receiver.BoxReceiver; |
| | | 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.ard.tianyu.netty.command.BaseCommand; |
| | | import com.dtflys.forest.annotation.Var; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | * 获取云盒列表 |
| | | * @return |
| | | */ |
| | | List<BoxReceiver> getBoxList(); |
| | | List<BoxInfoReceiver> getBoxList(); |
| | | |
| | | /** |
| | | * 获取直播地址 |
| | | * @return |
| | | */ |
| | | BoxStreamUrlReceiver getBoxLiveUrl(@Var("boxSn") String boxSn); |
| | | |
| | | /** |
| | | * 获取飞行历史 |
| | | * @return |
| | | */ |
| | | List<BoxHistoryReceiver> getBoxHistory(BoxHistoryDTO boxHistoryDTO); |
| | | |
| | | /** |
| | | * 获取盒子图片 |
| | | * @return |
| | | */ |
| | | List<BoxPhotosReceiver> getBoxPhotos(BoxPhotosDTO boxPhotosDTO); |
| | | |
| | | /** |
| | | * 修改云盒设置 |
| | | * @return |
| | | */ |
| | | Boolean updateBoxSettings(BoxSettingsDTO boxSettingsDTO); |
| | | |
| | | /** |
| | | * 注册 |
| | | */ |
| | | void registerMessage(); |
| | | |
| | | /** |
| | | * 无人机控制订阅 |
| | | */ |
| | | void uavControlSubscribe(String boxSn); |
| | | |
| | | /** |
| | | * 云台转动(基于角度) |
| | | */ |
| | | void controlAngle(String boxSn); |
| | | |
| | | /** |
| | | * 解析天宇服务端发来的消息 |
| | | */ |
| | | void processMessage(String key, BaseCommand tyMessage); |
| | | } |