diff --git a/Plane.FormationCreator/MainWindow.xaml b/Plane.FormationCreator/MainWindow.xaml
index b244168..97abeed 100644
--- a/Plane.FormationCreator/MainWindow.xaml
+++ b/Plane.FormationCreator/MainWindow.xaml
@@ -104,11 +104,17 @@
Command="{Binding ImportTasksCommand}"/>
-
-
+
+
+
+
+
diff --git a/Plane.FormationCreator/ViewModels/MainViewModel.cs b/Plane.FormationCreator/ViewModels/MainViewModel.cs
index a1be514..11c68cc 100644
--- a/Plane.FormationCreator/ViewModels/MainViewModel.cs
+++ b/Plane.FormationCreator/ViewModels/MainViewModel.cs
@@ -17,6 +17,7 @@ using Plane.Geography;
using Plane.FormationCreator.Views;
using System.Windows;
using Plane.Collections;
+using Plane.Copters;
namespace Plane.FormationCreator.ViewModels
{
@@ -297,6 +298,22 @@ namespace Plane.FormationCreator.ViewModels
set { Set(nameof(OnlyImpotWaypointS), ref _OnlyImpotWaypointS, value); }
}
+ //导入飞机的位置
+ private bool _isimpCopterLoc =true;
+ public bool isimpCopterLoc
+ {
+ get { return _isimpCopterLoc; }
+ set { Set(nameof(isimpCopterLoc), ref _isimpCopterLoc, value); }
+ }
+
+
+
+
+
+
+
+
+ //导出飞机和航点等
private ICommand _ExportTasksCommand;
public ICommand ExportTasksCommand
{
@@ -309,7 +326,7 @@ namespace Plane.FormationCreator.ViewModels
Alert.Show("作为参照的原点未设置,无法导出相对位置!", "提示");
return;
}
-
+ bool isToMeter = false;
var dialog = new SaveFileDialog
{
DefaultExt = "fcgm",
@@ -319,11 +336,16 @@ namespace Plane.FormationCreator.ViewModels
{
IEnumerable