From 3402e89dd8ae3c04ffe9fe3a52bfbc6300f26077 Mon Sep 17 00:00:00 2001 From: yuejiajun <1530620364@qq.com> Date: Mon, 29 Sep 2025 10:47:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=88=99=E8=A1=A8=E8=BE=BE=E5=BC=8F?= =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E6=9B=BF=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data/03-任务航线/20250923_82c579.xml | 2 +- src/main/resources/data/03-任务航线/default.json | 16 ++++++++++++++-- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/src/main/resources/data/03-任务航线/20250923_82c579.xml b/src/main/resources/data/03-任务航线/20250923_82c579.xml index 006093a..febecf1 100644 --- a/src/main/resources/data/03-任务航线/20250923_82c579.xml +++ b/src/main/resources/data/03-任务航线/20250923_82c579.xml @@ -8,7 +8,7 @@ <转弯方式>直接进近 <转向方式>保持 <坡度>10 - <速度>250 m/s + <速度>250 <高度>500 <高度属性>相对高度 <升降率>-5 diff --git a/src/main/resources/data/03-任务航线/default.json b/src/main/resources/data/03-任务航线/default.json index a08db58..c4be021 100644 --- a/src/main/resources/data/03-任务航线/default.json +++ b/src/main/resources/data/03-任务航线/default.json @@ -13,7 +13,7 @@ "subLevels": [], "valueConfigs": [ { - "comment": "航线点坐标", + "comment": "航线点坐标,通过自定义函数获取数据", "valueName": "position", "values": [ { @@ -43,7 +43,19 @@ ] }, { - "comment": "航线点类型", + "comment": "航线点坐标,通过正则表达式改变显示方式", + "valueName": "position", + "values": [ + { + "combined": false, + "value": "{{任务航线.航线点坐标}}", + "regexPattern": "([0-9]+[\\.]{0,}[0-9]{0,}),([0-9]+[\\.]{0,}[0-9]{0,})", + "regexReplacement": "$1E $2N" + } + ] + }, + { + "comment": "航线点类型,由枚举提供具体数值", "valueName": "waypoint_type", "values": [ {