diff --git a/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_LED.cs b/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_LED.cs index 239bd65..ec16bc3 100644 --- a/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_LED.cs +++ b/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_LED.cs @@ -164,6 +164,8 @@ namespace Plane.FormationCreator.Formation { LEDTestRun = false; _commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter); + _commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter); + _commModuleManager.LED_TaskAsync(255, 0, 0, "000000", this.Copter); } })); diff --git a/Plane.FormationCreator/ViewModels/ControlPanelViewModel.cs b/Plane.FormationCreator/ViewModels/ControlPanelViewModel.cs index a9e8f3d..77be4e4 100644 --- a/Plane.FormationCreator/ViewModels/ControlPanelViewModel.cs +++ b/Plane.FormationCreator/ViewModels/ControlPanelViewModel.cs @@ -1514,7 +1514,7 @@ namespace Plane.FormationCreator.ViewModels Color color = (Color)ColorConverter.ConvertFromString("#" + ledInfo.LEDRGB); int ledMode = ledInfo.LEDMode; //拉烟任务模式ID是50,需要改为50 - if (ledMode == 11) ledMode = 50; + if (ledMode == 15) ledMode = 50; IMission LEDMission = Mission.CreateLEDControlMission( (int)(ledInfo.Delay * 10), ledMode, diff --git a/Plane.FormationCreator/Views/ModifyTaskView.xaml b/Plane.FormationCreator/Views/ModifyTaskView.xaml index 65084bd..86fa3c7 100644 --- a/Plane.FormationCreator/Views/ModifyTaskView.xaml +++ b/Plane.FormationCreator/Views/ModifyTaskView.xaml @@ -512,6 +512,13 @@ + + + + + + +