Merge branch 'main' of http://123.132.248.154:10000/gitY/DiKongGanZhiPingTai
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"name": "@it/docklivestreamplugin",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "该插件js插件包。功能包含SDK初始化、设置视频直播画面控件、发起和结束直播、拍照、视频录制、资源释放。",
|
||||||
|
"main": "index.js",
|
||||||
|
"scripts": {
|
||||||
|
"test": "echo \"Error: no test specified\" && exit 1"
|
||||||
|
},
|
||||||
|
"keywords": [],
|
||||||
|
"author": "",
|
||||||
|
"license": "ISC"
|
||||||
|
}
|
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.8 MiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 35 KiB |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 214 KiB |
@ -0,0 +1,40 @@
|
|||||||
|
import { defHttp } from '@/utils/http/axios';
|
||||||
|
enum Api {
|
||||||
|
// 获取地图作业区域列表
|
||||||
|
GetWorkAreaList = '/api/Manage/GetWorkAreaList',
|
||||||
|
// 添加地图作业区域
|
||||||
|
AddWorkArea = '/api/Manage/AddWorkArea',
|
||||||
|
// 更新地图作业区域
|
||||||
|
UpdateWorkArea = '/api/Manage/UpdateWorkArea',
|
||||||
|
// 删除地图作业区域
|
||||||
|
DeleteWorkArea = '/api/Manage/DeleteWorkArea',
|
||||||
|
}
|
||||||
|
|
||||||
|
// 获取地图作业区域列表
|
||||||
|
export function GetWorkAreaList(params) {
|
||||||
|
return defHttp.get({
|
||||||
|
url: Api.GetWorkAreaList,
|
||||||
|
params
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// 添加地图作业区域
|
||||||
|
export function AddWorkArea(params) {
|
||||||
|
return defHttp.post({
|
||||||
|
url: Api.AddWorkArea,
|
||||||
|
data:params
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// 更新地图作业区域
|
||||||
|
export function UpdateWorkArea(params) {
|
||||||
|
return defHttp.post({
|
||||||
|
url: Api.UpdateWorkArea,
|
||||||
|
data:params
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// 删除地图作业区域
|
||||||
|
export function DeleteWorkArea(params) {
|
||||||
|
return defHttp.post({
|
||||||
|
url: Api.DeleteWorkArea + '?id=' + params.id,
|
||||||
|
data:params
|
||||||
|
});
|
||||||
|
}
|
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 4.2 KiB |
After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 4.2 KiB |
@ -0,0 +1,112 @@
|
|||||||
|
export const modeCodeOptions = {
|
||||||
|
0: '空闲中',
|
||||||
|
1: '现场调试',
|
||||||
|
2: '远程调试',
|
||||||
|
3: '固件升级中',
|
||||||
|
4: '作业中',
|
||||||
|
5: '待标定',
|
||||||
|
}
|
||||||
|
export const deviceOnlineStatusOptions = {
|
||||||
|
0: '关机',
|
||||||
|
1: '开机'
|
||||||
|
}
|
||||||
|
export const coverStateOptions = {
|
||||||
|
0: '关闭',
|
||||||
|
1: '打开',
|
||||||
|
2: '半开',
|
||||||
|
3: '舱盖状态异常',
|
||||||
|
}
|
||||||
|
export const airConditionerStateOptions = {
|
||||||
|
0: '空闲模式',
|
||||||
|
1: '制冷模式',
|
||||||
|
2: '制热模式',
|
||||||
|
3: '除湿模式',
|
||||||
|
4: '制冷退出模式',
|
||||||
|
5: '制热退出模式',
|
||||||
|
6: '除湿退出模式',
|
||||||
|
7: '制冷准备模式',
|
||||||
|
8: '制热准备模式',
|
||||||
|
9: '除湿准备模式',
|
||||||
|
10: '风冷准备中',
|
||||||
|
11: '风冷中',
|
||||||
|
12: '风冷退出中',
|
||||||
|
13: '除雾准备中',
|
||||||
|
14: '除雾中',
|
||||||
|
15: '除雾退出中',
|
||||||
|
}
|
||||||
|
export const silentModeOptions = {
|
||||||
|
0: '非静音模式',
|
||||||
|
1: '静音模式',
|
||||||
|
}
|
||||||
|
export const alarmStateOptions = {
|
||||||
|
0: '关闭',
|
||||||
|
1: '开启',
|
||||||
|
}
|
||||||
|
export const droneChargeStateOptions = {
|
||||||
|
0: '空闲',
|
||||||
|
1: '充电中',
|
||||||
|
}
|
||||||
|
export const fourgLinkStateOptions = {
|
||||||
|
0: '断开',
|
||||||
|
1: '连接',
|
||||||
|
}
|
||||||
|
export const linkWorkmodeOptions = {
|
||||||
|
0: 'SDR 模式',
|
||||||
|
1: '4G 融合模式',
|
||||||
|
}
|
||||||
|
export const sourceTypeOptions = {
|
||||||
|
0: '未标定',
|
||||||
|
1: '自收敛标定',
|
||||||
|
2: '手动标定',
|
||||||
|
3: '网络RTK标定',
|
||||||
|
}
|
||||||
|
export const qualityOptions = {
|
||||||
|
0: '无信号',
|
||||||
|
1: '差',
|
||||||
|
2: '较差',
|
||||||
|
3: '一般',
|
||||||
|
4: '较好',
|
||||||
|
5: '好',
|
||||||
|
}
|
||||||
|
export const isConfiguredOptions = {
|
||||||
|
0: '未设置',
|
||||||
|
1: '已设置',
|
||||||
|
}
|
||||||
|
export const rainfallOptions = {
|
||||||
|
0: '无雨',
|
||||||
|
1: '小雨',
|
||||||
|
2: '中雨',
|
||||||
|
3: '大雨',
|
||||||
|
}
|
||||||
|
export const isFixedOptions = {
|
||||||
|
0: '未开始',
|
||||||
|
1: '收敛中',
|
||||||
|
2: '收敛成功',
|
||||||
|
3: '收敛失败',
|
||||||
|
}
|
||||||
|
export const nightLightsStateOptions = {
|
||||||
|
0: '关闭',
|
||||||
|
1: '打开',
|
||||||
|
}
|
||||||
|
export const childModeCodeOptions = {
|
||||||
|
0: '待机',
|
||||||
|
1: '起飞准备',
|
||||||
|
2: '起飞准备完毕',
|
||||||
|
3: '手动飞行',
|
||||||
|
4: '自动起飞',
|
||||||
|
5: '航线飞行',
|
||||||
|
6: '全景拍照',
|
||||||
|
7: '智能跟随',
|
||||||
|
8: 'ADS-B 躲避',
|
||||||
|
9: '自动返航',
|
||||||
|
10: '自动降落',
|
||||||
|
11: '强制降落',
|
||||||
|
12: '三桨叶降落',
|
||||||
|
13: '升级中',
|
||||||
|
14: '未连接',
|
||||||
|
15: 'APAS',
|
||||||
|
16: '虚拟摇杆状态',
|
||||||
|
17: '指令飞行',
|
||||||
|
18: '空中 RTK 收敛模式',
|
||||||
|
19: '机场选址中',
|
||||||
|
}
|