Rev 2372 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2372 | Rev 2376 | ||
---|---|---|---|
Line 1185... | Line 1185... | ||
1185 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
1185 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
1186 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
1186 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
1187 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
1187 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
1188 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
1188 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
1189 | </Grid> |
1189 | </Grid> |
1190 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Collapsed"> |
1190 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Hidden"> |
1191 | <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,480,51,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1191 | <Label x:Name="label4" Content="points" HorizontalAlignment="Right" Margin="0,480,51,0" VerticalAlignment="Top" Width="53" Foreground="White" Height="19" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1192 | <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,482,19,0" VerticalAlignment="Top" Width="26" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1192 | <Label x:Name="lblWPCount" Content="##" HorizontalAlignment="Right" Margin="0,482,19,0" VerticalAlignment="Top" Width="26" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1193 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
1193 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
1194 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
1194 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
1195 | <Border Margin="10,456,0,3" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640"> |
1195 | <Border Margin="10,458,0,1" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="640"> |
1196 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1196 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1197 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1197 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="111,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1198 | <Rectangle.Style> |
1198 | <Rectangle.Style> |
1199 | <Style TargetType="{x:Type Rectangle}"> |
1199 | <Style TargetType="{x:Type Rectangle}"> |
1200 | <Style.Triggers> |
1200 | <Style.Triggers> |
Line 1296... | Line 1296... | ||
1296 | </Button.Background> |
1296 | </Button.Background> |
1297 | </Button> |
1297 | </Button> |
1298 | <Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="324,0,0,35" VerticalAlignment="Bottom" Width="98" Foreground="White"/> |
1298 | <Label x:Name="label4_Copy13" Content="save to file (.wpl)" HorizontalAlignment="Left" Margin="324,0,0,35" VerticalAlignment="Bottom" Width="98" Foreground="White"/> |
1299 | </Grid> |
1299 | </Grid> |
1300 | </Border> |
1300 | </Border> |
1301 | <Border Margin="10,340,0,75" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="831"> |
1301 | <Border Margin="10,338,0,73" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="831"> |
1302 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1302 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1303 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="10,24,0,0" VerticalAlignment="Top" Width="66"> |
1303 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="10,24,0,0" VerticalAlignment="Top" Width="66"> |
1304 | <ComboBoxItem Content="WP"/> |
1304 | <ComboBoxItem Content="WP"/> |
1305 | <ComboBoxItem Content="POI"/> |
1305 | <ComboBoxItem Content="POI"/> |
1306 | <ComboBoxItem Content="Failsafe"/> |
1306 | <ComboBoxItem Content="Failsafe"/> |
Line 1389... | Line 1389... | ||
1389 | <Button.Background> |
1389 | <Button.Background> |
1390 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
1390 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
1391 | </Button.Background> |
1391 | </Button.Background> |
1392 | </Button> |
1392 | </Button> |
1393 | <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="111,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1393 | <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="111,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
- | 1394 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="566,0,0,-2" Height="40" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
|
- | 1395 | <Rectangle.Style> |
|
- | 1396 | <Style TargetType="{x:Type Rectangle}"> |
|
- | 1397 | <Style.Triggers> |
|
- | 1398 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
|
- | 1399 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
|
- | 1400 | </DataTrigger> |
|
- | 1401 | </Style.Triggers> |
|
- | 1402 | </Style> |
|
- | 1403 | </Rectangle.Style> |
|
- | 1404 | </Rectangle> |
|
- | 1405 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="567,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
|
- | 1406 | <Button.Background> |
|
- | 1407 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
|
- | 1408 | </Button.Background> |
|
- | 1409 | </Button> |
|
- | 1410 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="564,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
|
1394 | </Grid> |
1411 | </Grid> |
1395 | </Border> |
1412 | </Border> |
1396 | <DataGrid x:Name="dgvWP" Margin="10,5,10,191" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False" MouseUp="dgvWP_MouseUp" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" MouseDoubleClick="dgvWP_MouseDoubleClick" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" IsReadOnly="True"> |
1413 | <DataGrid x:Name="dgvWP" Margin="10,5,10,195" Background="{x:Null}" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" BorderBrush="{x:Null}" Padding="0" AutoGenerateColumns="False" MouseUp="dgvWP_MouseUp" CanUserAddRows="False" CanUserDeleteRows="False" CanUserResizeRows="False" MouseDoubleClick="dgvWP_MouseDoubleClick" CanUserReorderColumns="False" CanUserResizeColumns="False" CanUserSortColumns="False" IsReadOnly="True"> |
1397 | <DataGrid.Columns> |
1414 | <DataGrid.Columns> |
1398 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
1415 | <DataGridTextColumn Header="Index" Binding="{Binding Path=Index}"/> |
1399 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1416 | <DataGridTextColumn Header="Type" Binding="{Binding Path=Type, Converter={StaticResource wpConvert}, ConverterParameter= Type}"/> |
1400 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
1417 | <DataGridTextColumn Header="Name" Binding="{Binding Path=Name}"/> |
1401 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
1418 | <DataGridTextColumn Header="Latitude" Binding="{Binding Path=Latitude, Converter={StaticResource wpConvert}, ConverterParameter= Latitude}"/> |
Line 1416... | Line 1433... | ||
1416 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,463,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1433 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,463,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1417 | <Label x:Name="label4_Copy14" Content="points NC (w/o POI)" HorizontalAlignment="Right" Margin="0,461,143,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1434 | <Label x:Name="label4_Copy14" Content="points NC (w/o POI)" HorizontalAlignment="Right" Margin="0,461,143,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1418 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,463,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1435 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,463,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1419 | <Label x:Name="label4_Copy15" Content="Index NC" HorizontalAlignment="Right" Margin="0,480,143,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1436 | <Label x:Name="label4_Copy15" Content="Index NC" HorizontalAlignment="Right" Margin="0,480,143,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1420 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,482,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1437 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,482,118,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1421 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,135" Height="40" VerticalAlignment="Bottom"> |
1438 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,136" Height="40" VerticalAlignment="Bottom"> |
1422 | <Rectangle.Style> |
1439 | <Rectangle.Style> |
1423 | <Style TargetType="{x:Type Rectangle}"> |
1440 | <Style TargetType="{x:Type Rectangle}"> |
1424 | <Style.Triggers> |
1441 | <Style.Triggers> |
1425 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
1442 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
1426 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1443 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1427 | </DataTrigger> |
1444 | </DataTrigger> |
1428 | </Style.Triggers> |
1445 | </Style.Triggers> |
1429 | </Style> |
1446 | </Style> |
1430 | </Rectangle.Style> |
1447 | </Rectangle.Style> |
1431 | </Rectangle> |
1448 | </Rectangle> |
1432 | <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="36" Margin="858,0,0,136" VerticalAlignment="Bottom" Width="93" ToolTip="add current copter position to WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPAddCurrentPos_Click"> |
1449 | <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="36" Margin="858,0,0,137" VerticalAlignment="Bottom" Width="93" ToolTip="add current copter position to WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPAddCurrentPos_Click"> |
1433 | <Button.Background> |
1450 | <Button.Background> |
1434 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
1451 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
1435 | </Button.Background> |
1452 | </Button.Background> |
1436 | </Button> |
1453 | </Button> |
1437 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="855,0,-1,171" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
1454 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="855,0,-1,172" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
- | 1455 | <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="892,0,0,72" Height="43" VerticalAlignment="Bottom" Visibility="Hidden"> |
|
- | 1456 | <Rectangle.Fill> |
|
- | 1457 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
|
- | 1458 | <GradientStop Color="#FFCEFFC6"/> |
|
- | 1459 | <GradientStop Color="#FF9BFFC4" Offset="0.18"/> |
|
- | 1460 | <GradientStop Color="#FF70E2AF" Offset="0.39"/> |
|
- | 1461 | <GradientStop Color="#FF4FCF8F" Offset="1"/> |
|
- | 1462 | </LinearGradientBrush> |
|
- | 1463 | </Rectangle.Fill> |
|
- | 1464 | </Rectangle> |
|
1438 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,75" Height="40" VerticalAlignment="Bottom"> |
1465 | <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="892,0,0,72" Height="43" VerticalAlignment="Bottom"> |
1439 | <Rectangle.Style> |
1466 | <Rectangle.Style> |
1440 | <Style TargetType="{x:Type Rectangle}"> |
1467 | <Style TargetType="{x:Type Rectangle}"> |
1441 | <Style.Triggers> |
1468 | <Style.Triggers> |
1442 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
1469 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True"> |
1443 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1470 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1444 | </DataTrigger> |
1471 | </DataTrigger> |
1445 | </Style.Triggers> |
1472 | </Style.Triggers> |
1446 | </Style> |
1473 | </Style> |
1447 | </Rectangle.Style> |
1474 | </Rectangle.Style> |
1448 | </Rectangle> |
1475 | </Rectangle> |
1449 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="858,0,0,76" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
1476 | <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="36" Margin="893,0,0,76" VerticalAlignment="Bottom" Width="58" ToolTip="Start/stop simulationmode on copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click"> |
1450 | <Button.Background> |
1477 | <Button.Background> |
1451 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
1478 | <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform"/> |
1452 | </Button.Background> |
1479 | </Button.Background> |
1453 | </Button> |
1480 | </Button> |
1454 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="855,0,0,111" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1481 | <Label x:Name="label4_Copy32" Content="Simulation" HorizontalAlignment="Left" Margin="888,0,-1,111" VerticalAlignment="Bottom" Width="74" Foreground="White" Height="26"/> |
1455 | </Grid> |
1482 | </Grid> |
1456 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1483 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1457 | <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1484 | <Label x:Name="labelMotordata" Content="Motors" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,233,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelMotorData_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1458 | <Label.RenderTransform> |
1485 | <Label.RenderTransform> |
1459 | <TransformGroup> |
1486 | <TransformGroup> |