无人机视频的摄像头切换功能和参数切换功能(广角和红外 和等) 无人机航线任务创建页面的开发和接口对接 无人机航线任务搜索接口(支持时间过滤) 无人机执行航线任务功能开发和接口对接 无人机暂停执行任务功能开发和接口对接 无人机返航任务和取消返航功能开发和接口对接 无人机机场详情页中的展示信息的更正。
61 lines
2.1 KiB
Dart
61 lines
2.1 KiB
Dart
class HttpApiConsts {
|
|
// static const String baseUrl = "http://8.159.134.0:8012"; // 旧地址
|
|
static const String baseUrl = "http://1.95.137.212:59015";
|
|
|
|
/// 账号相关
|
|
// 登录
|
|
static const String loginUrl = "$baseUrl/login";
|
|
|
|
///设备相关
|
|
// 获取设备列表
|
|
static const String getUserDevicesList = "$baseUrl/iot/device/list";
|
|
// 绑定设备
|
|
static const String bindDevice = "$baseUrl/forward/device/bind";
|
|
// 解绑设备
|
|
static const String unbindDevice = "$baseUrl/forward/device/unbind";
|
|
// 切换设备
|
|
static const String switchDevice = "$baseUrl/forward/device/switchDevice";
|
|
|
|
// 获取光伏电站列表
|
|
static const String getSiteList = "$baseUrl/system/site/list";
|
|
|
|
// 获取场站下的设备列表
|
|
static const String getSiteDeviceList = "$baseUrl/iot/device/getSiteList";
|
|
|
|
// 获取场站下的无人机机场列表
|
|
static const String getSiteUAVList = "$baseUrl/iot/UAV/getSiteUAVList";
|
|
|
|
// 获取UAV状态详情
|
|
static const String getUAVState = "$baseUrl/iot/UAV/getUAVState";
|
|
|
|
// 切换摄像头获取视频流
|
|
static const String changeCamera = "$baseUrl/iot/UAV/changeCamera";
|
|
|
|
// 获取设备位置
|
|
static const String getDeviceLocation = "$baseUrl/iot/device/userDevice";
|
|
|
|
// 获取机器人列表
|
|
static const String getRobotList = "$baseUrl/iot/device/getSiteList";
|
|
|
|
// 获取飞行任务列表
|
|
static const String getFlightTask = "$baseUrl/iot/UAV/getFlightTask";
|
|
|
|
// 获取飞行任务详情
|
|
static const String getFlightTaskDetail = "$baseUrl/iot/UAV/getFlightTaskDetail";
|
|
|
|
// 获取航线列表
|
|
static const String getWayline = "$baseUrl/iot/UAV/getWayline";
|
|
|
|
// 创建飞行任务
|
|
static const String createFlightTask = "$baseUrl/iot/UAV/createFlightTask";
|
|
|
|
// 更新飞行任务状态
|
|
static const String updateFlightTaskStatus = "$baseUrl/iot/UAV/updateFlightTaskStatus";
|
|
|
|
// 返航、暂停等命令
|
|
static const String flightTaskCommand = "$baseUrl/iot/UAV/flightTaskCommand";
|
|
|
|
// 切换无人机镜头获取视频流
|
|
static const String changeUAVLens = "$baseUrl/iot/UAV/changeLens";
|
|
}
|