From f09fadd47592199fd68f977dd744564019f36680 Mon Sep 17 00:00:00 2001 From: pxzleo Date: Sun, 17 Sep 2017 10:52:31 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BA=E4=BA=8624=E6=9E=B6=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=87=AA=E5=8A=A8=E7=94=9F=E6=88=90=E7=9A=84=E5=88=97=E6=95=B0?= =?UTF-8?q?=20=E4=BF=AE=E6=94=B9=E5=80=92=E8=AE=A1=E6=97=B6=E6=95=B0?= =?UTF-8?q?=E7=BB=84=E2=80=9C1=E2=80=9D=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Plane.FormationCreator/Formation/FlightTaskManager.cs | 2 +- Plane.FormationCreator/Formation/FlightTask_LoiterTime.cs | 2 +- Plane.FormationCreator/ViewModels/CopterListViewModel.cs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Plane.FormationCreator/Formation/FlightTaskManager.cs b/Plane.FormationCreator/Formation/FlightTaskManager.cs index cb9bc5f..41aa0ca 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/Formation/FlightTask_LoiterTime.cs b/Plane.FormationCreator/Formation/FlightTask_LoiterTime.cs index f43b34e..ff56365 100644 --- a/Plane.FormationCreator/Formation/FlightTask_LoiterTime.cs +++ b/Plane.FormationCreator/Formation/FlightTask_LoiterTime.cs @@ -273,7 +273,7 @@ namespace Plane.FormationCreator.Formation private int[] numberFour = { 2, 4, 5, 6, 7,8, 9,10, 12 }; private int[] numberthree = { 0, 1, 2, 4, 5, 6, 7, 9, 10, 11, 12 }; private int[] numbertwo = { 0, 1, 2, 3, 5, 6, 7, 9, 10, 11, 12 }; - private int[] numberone = { 0, 4, 7, 9, 12 }; + private int[] numberone = { 2, 4, 7, 9, 12 }; private int[] numberzero = { 0, 1, 2, 3, 4,5, 7, 8,9, 10, 11, 12 }; diff --git a/Plane.FormationCreator/ViewModels/CopterListViewModel.cs b/Plane.FormationCreator/ViewModels/CopterListViewModel.cs index 24419ed..b101533 100644 --- a/Plane.FormationCreator/ViewModels/CopterListViewModel.cs +++ b/Plane.FormationCreator/ViewModels/CopterListViewModel.cs @@ -54,7 +54,7 @@ namespace Plane.FormationCreator.ViewModels var center = _mapManager.Center; string id; - int colnum = 5; //自动生成列数=4 + int colnum = 4; //自动生成列数=4 float coldis = 5;//列相距5米 float rowdis = 5;//行相距5米 int currcol = 0; //当前列号