diff --git a/Plane.FormationCreator.sln b/Plane.FormationCreator.sln index 902217f..adcb603 100644 --- a/Plane.FormationCreator.sln +++ b/Plane.FormationCreator.sln @@ -24,9 +24,6 @@ EndProject Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "PlaneGcsSdk.Contract_Shared", "..\Plane.Sdk3\PlaneGcsSdk.Contract_Shared\PlaneGcsSdk.Contract_Shared.shproj", "{695733D7-99FF-4707-8C89-474E949CADCB}" EndProject Global - GlobalSection(Performance) = preSolution - HasPerformanceSessions = true - EndGlobalSection GlobalSection(SharedMSBuildProjectFiles) = preSolution ..\Plane.Sdk3\PlaneGcsSdk_Shared\PlaneGcsSdk_Shared.projitems*{0111eb6e-72e3-499c-a3ba-022f5bbc4caf}*SharedItemsImports = 4 ..\Plane.Sdk3\PlaneGcsSdk_Shared\PlaneGcsSdk_Shared.projitems*{2be393dc-21a4-48b3-83fd-f21cbe8b038b}*SharedItemsImports = 13 diff --git a/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_FlyTo.cs b/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_FlyTo.cs index 0587f65..ce65b73 100644 --- a/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_FlyTo.cs +++ b/Plane.FormationCreator/Formation/FlightTaskSingleCopterInfo_FlyTo.cs @@ -16,7 +16,9 @@ namespace Plane.FormationCreator.Formation TargetLat = targetLat, TargetLng = targetLng, TargetAlt = targetAlt, - FlytoShowLED= showLED + FlytoShowLED= showLED, + // FlytoTime= flytoTime, + // LoiterTime = loiterTime }; return info; } @@ -38,6 +40,19 @@ namespace Plane.FormationCreator.Formation set { Set(nameof(FlytoShowLED), ref _FlytoShowLED, value); } } + private int _FlytoTime = 10; + public int FlytoTime + { + get { return _FlytoTime; } + set { Set(nameof(FlytoTime), ref _FlytoTime, value); } + } + private int _LoiterTime = 0; + public int LoiterTime + { + get { return _LoiterTime; } + set { Set(nameof(LoiterTime), ref _LoiterTime, value); } + } + } } diff --git a/Plane.FormationCreator/Views/ModifyTaskView.xaml b/Plane.FormationCreator/Views/ModifyTaskView.xaml index 72790f4..0407576 100644 --- a/Plane.FormationCreator/Views/ModifyTaskView.xaml +++ b/Plane.FormationCreator/Views/ModifyTaskView.xaml @@ -216,14 +216,19 @@ - - - - + + - + + + + + +