后面的版本将不能用于实时航点
准备修改为飞控航点专用 加入飞行时间和悬停时间设置(未完成)
This commit is contained in:
parent
71f2870968
commit
475993d357
@ -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
|
||||
|
@ -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); }
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -216,14 +216,19 @@
|
||||
<ColumnDefinition />
|
||||
<ColumnDefinition />
|
||||
</Grid.ColumnDefinitions>
|
||||
<TextBlock Grid.Row="0" Text="错开路线: " />
|
||||
<CheckBox Grid.Row="0" Grid.Column="1"
|
||||
IsChecked="{Binding StaggerRoutes}" />
|
||||
<TextBlock Grid.Row="1" Text="垂直升降: " />
|
||||
<CheckBox Grid.Row="1" Grid.Column="1"
|
||||
IsChecked="{Binding VerticalLift}" />
|
||||
<TextBlock Grid.Row="0" Text="飞行时间: " />
|
||||
<TextBox Grid.Column="1"
|
||||
Margin="0,5,10,0"
|
||||
Text="{Binding FlytoTime, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
<TextBlock Grid.Row="2" Text="开灯: " />
|
||||
<TextBlock Grid.Row="1" Text="悬停时间: " />
|
||||
<TextBox Grid.Row="1" Grid.Column="1"
|
||||
Margin="0,5,10,0"
|
||||
Text="{Binding LoiterTime, UpdateSourceTrigger=PropertyChanged}" />
|
||||
|
||||
|
||||
|
||||
<TextBlock Grid.Row="2" Text="灯光控制: " />
|
||||
<CheckBox Grid.Row="2" Grid.Column="1"
|
||||
DataContext="{Binding ModifyingSingleCopterInfo}"
|
||||
IsChecked="{Binding FlytoShowLED}" />
|
||||
|
Loading…
Reference in New Issue
Block a user