From 2c680fa0913b9ff1e8e7a4f8bc3dd49543fc97b5 Mon Sep 17 00:00:00 2001
From: husq <931347610@qq.com>
Date: Mon, 09 Oct 2023 15:19:43 +0800
Subject: [PATCH] 地图基本功能-放大缩小
---
src/api/wayline.ts | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/src/api/wayline.ts b/src/api/wayline.ts
index c2472c7..b6170f4 100644
--- a/src/api/wayline.ts
+++ b/src/api/wayline.ts
@@ -28,6 +28,12 @@
return result.data
}
}
+// get Wayline File
+export const getWayLineFile = async function (workspaceId: string, waylineId: string) {
+ const url = `${HTTP_PREFIX}/workspaces/${workspaceId}/waylines/${waylineId}/urlData`
+ const result = await request.get(url)
+ return result.data
+}
// Delete Wayline File
export const deleteWaylineFile = async function (workspaceId: string, waylineId: string): Promise<IWorkspaceResponse<any>> {
@@ -69,6 +75,15 @@
task_periods?: number[][] // 执行任务的时间点(秒)
rth_altitude: number // 相对机场返航高度 20 - 500
out_of_control_action: OutOfControlAction // 失控动作
+
+
+ //重复频率类型
+ rep_fre_type?:number
+ //重复频率值
+ rep_fre_val?:number
+ // 重复规则值
+ rep_rule_val?:[]
+ rep_rule_type?:number
}
// 新增计划
export const createPlan = async function (workspaceId: string, plan: CreatePlan): Promise<IWorkspaceResponse<any>> {
--
Gitblit v1.9.3