From 2ae79ec811f216d9824efe86e540dbf95ae370ff Mon Sep 17 00:00:00 2001 From: panxu Date: Sun, 29 Apr 2018 20:13:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=8F=98=E7=94=9F=E6=88=90=E7=9A=84?= =?UTF-8?q?=E9=A3=9E=E6=9C=BA=E6=AF=8F=E8=A1=8C4=E6=9E=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plane.FormationCreator/Formation/FlightTaskManager.cs | 2 +- Plane.FormationCreator/ViewModels/CopterListViewModel.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Plane.FormationCreator/Formation/FlightTaskManager.cs b/Plane.FormationCreator/Formation/FlightTaskManager.cs index 117ee50..3a468af 100644 --- a/Plane.FormationCreator/Formation/FlightTaskManager.cs +++ b/Plane.FormationCreator/Formation/FlightTaskManager.cs @@ -224,7 +224,7 @@ namespace Plane.FormationCreator.Formation var newTask = new FlightTask(FlightTaskType.FlyTo); int coptindex = 0; - int colnum = 5; //自动生成列数=4 + int colnum = 4; //自动生成列数=4 float coldis = 5;//列相距5米 float rowdis = 5;//行相距5米 float matrixdis = 20; //生成方阵距离30米 diff --git a/Plane.FormationCreator/ViewModels/CopterListViewModel.cs b/Plane.FormationCreator/ViewModels/CopterListViewModel.cs index 24419ed..0bcd5bf 100644 --- a/Plane.FormationCreator/ViewModels/CopterListViewModel.cs +++ b/Plane.FormationCreator/ViewModels/CopterListViewModel.cs @@ -54,9 +54,9 @@ namespace Plane.FormationCreator.ViewModels var center = _mapManager.Center; string id; - int colnum = 5; //自动生成列数=4 - float coldis = 5;//列相距5米 - float rowdis = 5;//行相距5米 + int colnum = 4; //自动生成列数=4 + float coldis = 3;//列相距5米 + float rowdis = 3;//行相距5米 int currcol = 0; //当前列号 int currrow = 0; //当前行 Tuple colheadLatLng = new Tuple(0, 0);