| | |
| | | rth_altitude: number // 相对机场返航高度 20 - 500 |
| | | out_of_control_action: OutOfControlAction // 失控动作 |
| | | |
| | | |
| | | //重复频率类型 |
| | | rep_fre_type?:number |
| | | //重复频率值 |
| | |
| | | const result = await request.post(url, plan) |
| | | return result.data |
| | | } |
| | | |
| | | |
| | | export interface Task { |
| | | job_id: string, |
| | |
| | | const result = await request.post(url) |
| | | return result.data |
| | | } |
| | | |
| | | // 历史轨迹记录 |
| | | export const getHistoryTrack = async function (workspaceId: string, page: number, page_size :number): Promise<IWorkspaceResponse<any>> { |
| | | const url = `/log/droneFlightLog/page?page=${page}&page_sie=${page_size}&workspaceId=${workspaceId}` |
| | | const result = await request.get(url) |
| | | return result.data |
| | | } |
| | | |
| | | // 历史轨迹详情 |
| | | export const getHistoryDetail = async function (id: string): Promise<IWorkspaceResponse<any>> { |
| | | const url = `/log/droneFlightLog/infoListByFid?flightId=${id}` |
| | | const result = await request.get(url) |
| | | return result.data |
| | | } |