Rev 2405 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2405 | Rev 2408 | ||
---|---|---|---|
1 | <Window xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" |
1 | <Window xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | xmlns:local="clr-namespace:MKLiveView" |
6 | xmlns:local="clr-namespace:MKLiveView" |
7 | xmlns:WindowsPresentation="clr-namespace:GMap.NET.WindowsPresentation;assembly=GMap.NET.WindowsPresentation" |
7 | xmlns:WindowsPresentation="clr-namespace:GMap.NET.WindowsPresentation;assembly=GMap.NET.WindowsPresentation" |
8 | xmlns:ArtificialHorizon="clr-namespace:MKLiveView.ArtificialHorizon" |
8 | xmlns:ArtificialHorizon="clr-namespace:MKLiveView.ArtificialHorizon" |
9 | xmlns:wpConverter="clr-namespace:MKLiveView" |
9 | xmlns:wpConverter="clr-namespace:MKLiveView" |
10 | xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" |
10 | xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" |
11 | x:Class="MKLiveView.MainWindow" |
11 | x:Class="MKLiveView.MainWindow" |
12 | mc:Ignorable="d" |
12 | mc:Ignorable="d" |
13 | Title="MK LiveView 1.0" Height="686" Width="1017" Icon="MK.ico" |
13 | Title="MK LiveView 1.0" Height="686" Width="1017" Icon="MK.ico" |
14 | DataContext="{Binding RelativeSource={RelativeSource Self}}" Loaded="Window_Loaded" Closing="Window_Closing" Closed="Window_Closed"> |
14 | DataContext="{Binding RelativeSource={RelativeSource Self}}" Loaded="Window_Loaded" Closing="Window_Closing" Closed="Window_Closed"> |
15 | <Window.Resources> |
15 | <Window.Resources> |
16 | <wpConverter:waypointsConverter x:Key="wpConvert" /> |
16 | <wpConverter:waypointsConverter x:Key="wpConvert" /> |
17 | 17 | ||
18 | <BooleanToVisibilityConverter x:Key="BooleanToVisibility" /> |
18 | <BooleanToVisibilityConverter x:Key="BooleanToVisibility" /> |
19 | <LinearGradientBrush x:Key="ActiveItemBrush" EndPoint="0,1" StartPoint="0,0"> |
19 | <LinearGradientBrush x:Key="ActiveItemBrush" EndPoint="0,1" StartPoint="0,0"> |
20 | <GradientStop Color="#FFC6F5FF"/> |
20 | <GradientStop Color="#FFC6F5FF"/> |
21 | <GradientStop Color="#FFB6E8FF" Offset="0.18"/> |
21 | <GradientStop Color="#FFB6E8FF" Offset="0.18"/> |
22 | <GradientStop Color="#FF98CBF5" Offset="0.389"/> |
22 | <GradientStop Color="#FF98CBF5" Offset="0.389"/> |
23 | <GradientStop Color="#FF9FD3FF" Offset="1"/> |
23 | <GradientStop Color="#FF9FD3FF" Offset="1"/> |
24 | </LinearGradientBrush> |
24 | </LinearGradientBrush> |
25 | <LinearGradientBrush x:Key="PressedItemBrush" EndPoint="0,1" StartPoint="0,0"> |
25 | <LinearGradientBrush x:Key="PressedItemBrush" EndPoint="0,1" StartPoint="0,0"> |
26 | <GradientStop Color="#FFFFEAC6"/> |
26 | <GradientStop Color="#FFFFEAC6"/> |
27 | <GradientStop Color="#FFFFD99B" Offset="0.18"/> |
27 | <GradientStop Color="#FFFFD99B" Offset="0.18"/> |
28 | <GradientStop Color="#FFFFD07F" Offset="0.39"/> |
28 | <GradientStop Color="#FFFFD07F" Offset="0.39"/> |
29 | <GradientStop Color="#FFFFC961" Offset="1"/> |
29 | <GradientStop Color="#FFFFC961" Offset="1"/> |
30 | </LinearGradientBrush> |
30 | </LinearGradientBrush> |
31 | <Style x:Key="ButtonWithoutEffectStyle" TargetType="{x:Type Button}"> |
31 | <Style x:Key="ButtonWithoutEffectStyle" TargetType="{x:Type Button}"> |
32 | <Setter Property="Background" Value="Transparent" /> |
32 | <Setter Property="Background" Value="Transparent" /> |
33 | <Setter Property="Template"> |
33 | <Setter Property="Template"> |
34 | <Setter.Value> |
34 | <Setter.Value> |
35 | <ControlTemplate TargetType="{x:Type Button}"> |
35 | <ControlTemplate TargetType="{x:Type Button}"> |
36 | <Grid Background="{TemplateBinding Background}"> |
36 | <Grid Background="{TemplateBinding Background}"> |
37 | <ContentPresenter /> |
37 | <ContentPresenter /> |
38 | <Border x:Name="border" |
38 | <Border x:Name="border" |
39 | BorderThickness="0" |
39 | BorderThickness="0" |
40 | Padding="4,2" |
40 | Padding="4,2" |
41 | BorderBrush="#FFE4E4E4" |
41 | BorderBrush="#FFE4E4E4" |
42 | CornerRadius="0" |
42 | CornerRadius="0" |
43 | Background="{TemplateBinding Background}"> |
43 | Background="{TemplateBinding Background}"> |
44 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> |
44 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> |
45 | </Border> |
45 | </Border> |
46 | </Grid> |
46 | </Grid> |
47 | 47 | ||
48 | </ControlTemplate> |
48 | </ControlTemplate> |
49 | </Setter.Value> |
49 | </Setter.Value> |
50 | </Setter> |
50 | </Setter> |
51 | </Style> |
51 | </Style> |
52 | <Style TargetType="{x:Type DataGridColumnHeader}"> |
52 | <Style TargetType="{x:Type DataGridColumnHeader}"> |
53 | <Setter Property="Background" Value="Transparent" /> |
53 | <Setter Property="Background" Value="Transparent" /> |
54 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
54 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
55 | </Style> |
55 | </Style> |
56 | <Style TargetType="{x:Type DataGridCell}"> |
56 | <Style TargetType="{x:Type DataGridCell}"> |
57 | <Setter Property="Background" Value="Transparent" /> |
57 | <Setter Property="Background" Value="Transparent" /> |
58 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
58 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
59 | </Style> |
59 | </Style> |
60 | <Style TargetType="{x:Type DataGridRow}"> |
60 | <Style TargetType="{x:Type DataGridRow}"> |
61 | <Setter Property="Background" Value="Transparent" /> |
61 | <Setter Property="Background" Value="Transparent" /> |
62 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
62 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
63 | </Style> |
63 | </Style> |
64 | <Style TargetType="{x:Type DataGridRowHeader}"> |
64 | <Style TargetType="{x:Type DataGridRowHeader}"> |
65 | <Setter Property="Background" Value="Transparent" /> |
65 | <Setter Property="Background" Value="Transparent" /> |
66 | </Style> |
66 | </Style> |
67 | <Style x:Key="CanvasVisibility" TargetType="{x:Type Canvas}"> |
67 | <Style x:Key="CanvasVisibility" TargetType="{x:Type Canvas}"> |
68 | <Style.Triggers> |
68 | <Style.Triggers> |
69 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
69 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
70 | <Setter Property="Visibility" Value="Collapsed" /> |
70 | <Setter Property="Visibility" Value="Collapsed" /> |
71 | </DataTrigger> |
71 | </DataTrigger> |
72 | </Style.Triggers> |
72 | </Style.Triggers> |
73 | </Style> |
73 | </Style> |
74 | <Style x:Key="GridVisibility" TargetType="{x:Type Grid}"> |
74 | <Style x:Key="GridVisibility" TargetType="{x:Type Grid}"> |
75 | <Style.Triggers> |
75 | <Style.Triggers> |
76 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
76 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
77 | <Setter Property="Visibility" Value="Collapsed" /> |
77 | <Setter Property="Visibility" Value="Collapsed" /> |
78 | </DataTrigger> |
78 | </DataTrigger> |
79 | </Style.Triggers> |
79 | </Style.Triggers> |
80 | </Style> |
80 | </Style> |
81 | 81 | ||
82 | <SolidColorBrush x:Key="SliderThumb.Static.Foreground" Color="#FFE5E5E5"/> |
82 | <SolidColorBrush x:Key="SliderThumb.Static.Foreground" Color="#FFE5E5E5"/> |
83 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Background" Color="#FFDCECFC"/> |
83 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Background" Color="#FFDCECFC"/> |
84 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Border" Color="#FF7Eb4EA"/> |
84 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Border" Color="#FF7Eb4EA"/> |
85 | <SolidColorBrush x:Key="SliderThumb.Pressed.Background" Color="#FFDAECFC"/> |
85 | <SolidColorBrush x:Key="SliderThumb.Pressed.Background" Color="#FFDAECFC"/> |
86 | <SolidColorBrush x:Key="SliderThumb.Pressed.Border" Color="#FF569DE5"/> |
86 | <SolidColorBrush x:Key="SliderThumb.Pressed.Border" Color="#FF569DE5"/> |
87 | <SolidColorBrush x:Key="SliderThumb.Disabled.Background" Color="#FFF0F0F0"/> |
87 | <SolidColorBrush x:Key="SliderThumb.Disabled.Background" Color="#FFF0F0F0"/> |
88 | <SolidColorBrush x:Key="SliderThumb.Disabled.Border" Color="#FFD9D9D9"/> |
88 | <SolidColorBrush x:Key="SliderThumb.Disabled.Border" Color="#FFD9D9D9"/> |
89 | <SolidColorBrush x:Key="SliderThumb.Static.Background" Color="#FFF0F0F0"/> |
89 | <SolidColorBrush x:Key="SliderThumb.Static.Background" Color="#FFF0F0F0"/> |
90 | <SolidColorBrush x:Key="SliderThumb.Static.Border" Color="#FFACACAC"/> |
90 | <SolidColorBrush x:Key="SliderThumb.Static.Border" Color="#FFACACAC"/> |
91 | <ControlTemplate x:Key="SliderThumbHorizontalTop" TargetType="{x:Type Thumb}"> |
91 | <ControlTemplate x:Key="SliderThumbHorizontalTop" TargetType="{x:Type Thumb}"> |
92 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
92 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
93 | <Path x:Name="grip" Data="M 0,6 C0,6 5.5,0 5.5,0 5.5,0 11,6 11,6 11,6 11,18 11,18 11,18 0,18 0,18 0,18 0,6 0,6 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
93 | <Path x:Name="grip" Data="M 0,6 C0,6 5.5,0 5.5,0 5.5,0 11,6 11,6 11,6 11,18 11,18 11,18 0,18 0,18 0,18 0,6 0,6 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
94 | </Grid> |
94 | </Grid> |
95 | <ControlTemplate.Triggers> |
95 | <ControlTemplate.Triggers> |
96 | <Trigger Property="IsMouseOver" Value="true"> |
96 | <Trigger Property="IsMouseOver" Value="true"> |
97 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
97 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
98 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
98 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
99 | </Trigger> |
99 | </Trigger> |
100 | <Trigger Property="IsDragging" Value="true"> |
100 | <Trigger Property="IsDragging" Value="true"> |
101 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
101 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
102 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
102 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
103 | </Trigger> |
103 | </Trigger> |
104 | <Trigger Property="IsEnabled" Value="false"> |
104 | <Trigger Property="IsEnabled" Value="false"> |
105 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
105 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
106 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
106 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
107 | </Trigger> |
107 | </Trigger> |
108 | </ControlTemplate.Triggers> |
108 | </ControlTemplate.Triggers> |
109 | </ControlTemplate> |
109 | </ControlTemplate> |
110 | <ControlTemplate x:Key="SliderThumbHorizontalBottom" TargetType="{x:Type Thumb}"> |
110 | <ControlTemplate x:Key="SliderThumbHorizontalBottom" TargetType="{x:Type Thumb}"> |
111 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
111 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
112 | <Path x:Name="grip" Data="M 0,12 C0,12 5.5,18 5.5,18 5.5,18 11,12 11,12 11,12 11,0 11,0 11,0 0,0 0,0 0,0 0,12 0,12 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
112 | <Path x:Name="grip" Data="M 0,12 C0,12 5.5,18 5.5,18 5.5,18 11,12 11,12 11,12 11,0 11,0 11,0 0,0 0,0 0,0 0,12 0,12 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
113 | </Grid> |
113 | </Grid> |
114 | <ControlTemplate.Triggers> |
114 | <ControlTemplate.Triggers> |
115 | <Trigger Property="IsMouseOver" Value="true"> |
115 | <Trigger Property="IsMouseOver" Value="true"> |
116 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
116 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
117 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
117 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
118 | </Trigger> |
118 | </Trigger> |
119 | <Trigger Property="IsDragging" Value="true"> |
119 | <Trigger Property="IsDragging" Value="true"> |
120 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
120 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
121 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
121 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
122 | </Trigger> |
122 | </Trigger> |
123 | <Trigger Property="IsEnabled" Value="false"> |
123 | <Trigger Property="IsEnabled" Value="false"> |
124 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
124 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
125 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
125 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
126 | </Trigger> |
126 | </Trigger> |
127 | </ControlTemplate.Triggers> |
127 | </ControlTemplate.Triggers> |
128 | </ControlTemplate> |
128 | </ControlTemplate> |
129 | <SolidColorBrush x:Key="SliderThumb.Track.Border" Color="#FFD6D6D6"/> |
129 | <SolidColorBrush x:Key="SliderThumb.Track.Border" Color="#FFD6D6D6"/> |
130 | <SolidColorBrush x:Key="SliderThumb.Track.Background" Color="#FFE7EAEA"/> |
130 | <SolidColorBrush x:Key="SliderThumb.Track.Background" Color="#FFE7EAEA"/> |
131 | <Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}"> |
131 | <Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}"> |
132 | <Setter Property="OverridesDefaultStyle" Value="true"/> |
132 | <Setter Property="OverridesDefaultStyle" Value="true"/> |
133 | <Setter Property="Background" Value="Transparent"/> |
133 | <Setter Property="Background" Value="Transparent"/> |
134 | <Setter Property="Focusable" Value="false"/> |
134 | <Setter Property="Focusable" Value="false"/> |
135 | <Setter Property="IsTabStop" Value="false"/> |
135 | <Setter Property="IsTabStop" Value="false"/> |
136 | <Setter Property="Template"> |
136 | <Setter Property="Template"> |
137 | <Setter.Value> |
137 | <Setter.Value> |
138 | <ControlTemplate TargetType="{x:Type RepeatButton}"> |
138 | <ControlTemplate TargetType="{x:Type RepeatButton}"> |
139 | <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/> |
139 | <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/> |
140 | </ControlTemplate> |
140 | </ControlTemplate> |
141 | </Setter.Value> |
141 | </Setter.Value> |
142 | </Setter> |
142 | </Setter> |
143 | </Style> |
143 | </Style> |
144 | <ControlTemplate x:Key="SliderThumbHorizontalDefault" TargetType="{x:Type Thumb}"> |
144 | <ControlTemplate x:Key="SliderThumbHorizontalDefault" TargetType="{x:Type Thumb}"> |
145 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
145 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
146 | <Path x:Name="grip" Data="M 0,0 C0,0 11,0 11,0 11,0 11,18 11,18 11,18 0,18 0,18 0,18 0,0 0,0 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
146 | <Path x:Name="grip" Data="M 0,0 C0,0 11,0 11,0 11,0 11,18 11,18 11,18 0,18 0,18 0,18 0,0 0,0 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center"/> |
147 | </Grid> |
147 | </Grid> |
148 | <ControlTemplate.Triggers> |
148 | <ControlTemplate.Triggers> |
149 | <Trigger Property="IsMouseOver" Value="true"> |
149 | <Trigger Property="IsMouseOver" Value="true"> |
150 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
150 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
151 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
151 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
152 | </Trigger> |
152 | </Trigger> |
153 | <Trigger Property="IsDragging" Value="true"> |
153 | <Trigger Property="IsDragging" Value="true"> |
154 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
154 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
155 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
155 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
156 | </Trigger> |
156 | </Trigger> |
157 | <Trigger Property="IsEnabled" Value="false"> |
157 | <Trigger Property="IsEnabled" Value="false"> |
158 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
158 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
159 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
159 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
160 | </Trigger> |
160 | </Trigger> |
161 | </ControlTemplate.Triggers> |
161 | </ControlTemplate.Triggers> |
162 | </ControlTemplate> |
162 | </ControlTemplate> |
163 | <ControlTemplate x:Key="SliderHorizontal" TargetType="{x:Type Slider}"> |
163 | <ControlTemplate x:Key="SliderHorizontal" TargetType="{x:Type Slider}"> |
164 | <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> |
164 | <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> |
165 | <Grid Margin="0,-3,0,3"> |
165 | <Grid Margin="0,-3,0,3"> |
166 | <Grid.RowDefinitions> |
166 | <Grid.RowDefinitions> |
167 | <RowDefinition Height="Auto"/> |
167 | <RowDefinition Height="Auto"/> |
168 | <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/> |
168 | <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/> |
169 | <RowDefinition Height="Auto"/> |
169 | <RowDefinition Height="Auto"/> |
170 | </Grid.RowDefinitions> |
170 | </Grid.RowDefinitions> |
171 | <TickBar x:Name="TopTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,0,0,2" Placement="Top" Grid.Row="0" Visibility="Collapsed"/> |
171 | <TickBar x:Name="TopTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,0,0,2" Placement="Top" Grid.Row="0" Visibility="Collapsed"/> |
172 | <TickBar x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,2,0,0" Placement="Bottom" Grid.Row="2" Visibility="Collapsed"/> |
172 | <TickBar x:Name="BottomTick" Fill="{TemplateBinding Foreground}" Height="4" Margin="0,2,0,0" Placement="Bottom" Grid.Row="2" Visibility="Collapsed"/> |
173 | <Border x:Name="TrackBackground" BorderBrush="{StaticResource SliderThumb.Track.Border}" BorderThickness="1" Background="{StaticResource SliderThumb.Track.Background}" Height="4.0" Margin="5,0" Grid.Row="1" VerticalAlignment="center"> |
173 | <Border x:Name="TrackBackground" BorderBrush="{StaticResource SliderThumb.Track.Border}" BorderThickness="1" Background="{StaticResource SliderThumb.Track.Background}" Height="4.0" Margin="5,0" Grid.Row="1" VerticalAlignment="center"> |
174 | <Canvas Margin="-6,-1"> |
174 | <Canvas Margin="-6,-1"> |
175 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden"/> |
175 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden"/> |
176 | </Canvas> |
176 | </Canvas> |
177 | </Border> |
177 | </Border> |
178 | <Track x:Name="PART_Track" Grid.Row="1"> |
178 | <Track x:Name="PART_Track" Grid.Row="1"> |
179 | <Track.DecreaseRepeatButton> |
179 | <Track.DecreaseRepeatButton> |
180 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="0,-3,0.13,3"/> |
180 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="0,-3,0.13,3"/> |
181 | </Track.DecreaseRepeatButton> |
181 | </Track.DecreaseRepeatButton> |
182 | <Track.IncreaseRepeatButton> |
182 | <Track.IncreaseRepeatButton> |
183 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="-0.13,-3,0,3"/> |
183 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="-0.13,-3,0,3"/> |
184 | </Track.IncreaseRepeatButton> |
184 | </Track.IncreaseRepeatButton> |
185 | <Track.Thumb> |
185 | <Track.Thumb> |
186 | <Thumb x:Name="Thumb" Focusable="False" Height="28" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbHorizontalDefault}" VerticalAlignment="Center" Width="21" Margin="-0.13,0,0.13,0"/> |
186 | <Thumb x:Name="Thumb" Focusable="False" Height="28" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbHorizontalDefault}" VerticalAlignment="Center" Width="21" Margin="-0.13,0,0.13,0"/> |
187 | </Track.Thumb> |
187 | </Track.Thumb> |
188 | </Track> |
188 | </Track> |
189 | </Grid> |
189 | </Grid> |
190 | </Border> |
190 | </Border> |
191 | <ControlTemplate.Triggers> |
191 | <ControlTemplate.Triggers> |
192 | <Trigger Property="TickPlacement" Value="TopLeft"> |
192 | <Trigger Property="TickPlacement" Value="TopLeft"> |
193 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
193 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
194 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalTop}"/> |
194 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalTop}"/> |
195 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,2,5,0"/> |
195 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,2,5,0"/> |
196 | </Trigger> |
196 | </Trigger> |
197 | <Trigger Property="TickPlacement" Value="BottomRight"> |
197 | <Trigger Property="TickPlacement" Value="BottomRight"> |
198 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
198 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
199 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalBottom}"/> |
199 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalBottom}"/> |
200 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,0,5,2"/> |
200 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,0,5,2"/> |
201 | </Trigger> |
201 | </Trigger> |
202 | <Trigger Property="TickPlacement" Value="Both"> |
202 | <Trigger Property="TickPlacement" Value="Both"> |
203 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
203 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
204 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
204 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
205 | </Trigger> |
205 | </Trigger> |
206 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
206 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
207 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
207 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
208 | </Trigger> |
208 | </Trigger> |
209 | <Trigger Property="IsKeyboardFocused" Value="true"> |
209 | <Trigger Property="IsKeyboardFocused" Value="true"> |
210 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
210 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
211 | </Trigger> |
211 | </Trigger> |
212 | </ControlTemplate.Triggers> |
212 | </ControlTemplate.Triggers> |
213 | </ControlTemplate> |
213 | </ControlTemplate> |
214 | <ControlTemplate x:Key="SliderThumbVerticalLeft" TargetType="{x:Type Thumb}"> |
214 | <ControlTemplate x:Key="SliderThumbVerticalLeft" TargetType="{x:Type Thumb}"> |
215 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
215 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
216 | <Path x:Name="grip" Data="M 6,11 C6,11 0,5.5 0,5.5 0,5.5 6,0 6,0 6,0 18,0 18,0 18,0 18,11 18,11 18,11 6,11 6,11 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
216 | <Path x:Name="grip" Data="M 6,11 C6,11 0,5.5 0,5.5 0,5.5 6,0 6,0 6,0 18,0 18,0 18,0 18,11 18,11 18,11 6,11 6,11 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
217 | </Grid> |
217 | </Grid> |
218 | <ControlTemplate.Triggers> |
218 | <ControlTemplate.Triggers> |
219 | <Trigger Property="IsMouseOver" Value="true"> |
219 | <Trigger Property="IsMouseOver" Value="true"> |
220 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
220 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
221 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
221 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
222 | </Trigger> |
222 | </Trigger> |
223 | <Trigger Property="IsDragging" Value="true"> |
223 | <Trigger Property="IsDragging" Value="true"> |
224 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
224 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
225 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
225 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
226 | </Trigger> |
226 | </Trigger> |
227 | <Trigger Property="IsEnabled" Value="false"> |
227 | <Trigger Property="IsEnabled" Value="false"> |
228 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
228 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
229 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
229 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
230 | </Trigger> |
230 | </Trigger> |
231 | </ControlTemplate.Triggers> |
231 | </ControlTemplate.Triggers> |
232 | </ControlTemplate> |
232 | </ControlTemplate> |
233 | <ControlTemplate x:Key="SliderThumbVerticalRight" TargetType="{x:Type Thumb}"> |
233 | <ControlTemplate x:Key="SliderThumbVerticalRight" TargetType="{x:Type Thumb}"> |
234 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
234 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
235 | <Path x:Name="grip" Data="M 12,11 C12,11 18,5.5 18,5.5 18,5.5 12,0 12,0 12,0 0,0 0,0 0,0 0,11 0,11 0,11 12,11 12,11 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
235 | <Path x:Name="grip" Data="M 12,11 C12,11 18,5.5 18,5.5 18,5.5 12,0 12,0 12,0 0,0 0,0 0,0 0,11 0,11 0,11 12,11 12,11 z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
236 | </Grid> |
236 | </Grid> |
237 | <ControlTemplate.Triggers> |
237 | <ControlTemplate.Triggers> |
238 | <Trigger Property="IsMouseOver" Value="true"> |
238 | <Trigger Property="IsMouseOver" Value="true"> |
239 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
239 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
240 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
240 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
241 | </Trigger> |
241 | </Trigger> |
242 | <Trigger Property="IsDragging" Value="true"> |
242 | <Trigger Property="IsDragging" Value="true"> |
243 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
243 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
244 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
244 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
245 | </Trigger> |
245 | </Trigger> |
246 | <Trigger Property="IsEnabled" Value="false"> |
246 | <Trigger Property="IsEnabled" Value="false"> |
247 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
247 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
248 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
248 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
249 | </Trigger> |
249 | </Trigger> |
250 | </ControlTemplate.Triggers> |
250 | </ControlTemplate.Triggers> |
251 | </ControlTemplate> |
251 | </ControlTemplate> |
252 | <ControlTemplate x:Key="SliderThumbVerticalDefault" TargetType="{x:Type Thumb}"> |
252 | <ControlTemplate x:Key="SliderThumbVerticalDefault" TargetType="{x:Type Thumb}"> |
253 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
253 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
254 | <Path x:Name="grip" Data="M0.5,0.5 L18.5,0.5 18.5,11.5 0.5,11.5z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
254 | <Path x:Name="grip" Data="M0.5,0.5 L18.5,0.5 18.5,11.5 0.5,11.5z" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" Stroke="{StaticResource SliderThumb.Static.Border}"/> |
255 | </Grid> |
255 | </Grid> |
256 | <ControlTemplate.Triggers> |
256 | <ControlTemplate.Triggers> |
257 | <Trigger Property="IsMouseOver" Value="true"> |
257 | <Trigger Property="IsMouseOver" Value="true"> |
258 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
258 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
259 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
259 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
260 | </Trigger> |
260 | </Trigger> |
261 | <Trigger Property="IsDragging" Value="true"> |
261 | <Trigger Property="IsDragging" Value="true"> |
262 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
262 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
263 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
263 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
264 | </Trigger> |
264 | </Trigger> |
265 | <Trigger Property="IsEnabled" Value="false"> |
265 | <Trigger Property="IsEnabled" Value="false"> |
266 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
266 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
267 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
267 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
268 | </Trigger> |
268 | </Trigger> |
269 | </ControlTemplate.Triggers> |
269 | </ControlTemplate.Triggers> |
270 | </ControlTemplate> |
270 | </ControlTemplate> |
271 | <ControlTemplate x:Key="SliderVertical" TargetType="{x:Type Slider}"> |
271 | <ControlTemplate x:Key="SliderVertical" TargetType="{x:Type Slider}"> |
272 | <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> |
272 | <Border x:Name="border" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" SnapsToDevicePixels="True"> |
273 | <Grid> |
273 | <Grid> |
274 | <Grid.ColumnDefinitions> |
274 | <Grid.ColumnDefinitions> |
275 | <ColumnDefinition Width="Auto"/> |
275 | <ColumnDefinition Width="Auto"/> |
276 | <ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/> |
276 | <ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/> |
277 | <ColumnDefinition Width="Auto"/> |
277 | <ColumnDefinition Width="Auto"/> |
278 | </Grid.ColumnDefinitions> |
278 | </Grid.ColumnDefinitions> |
279 | <TickBar x:Name="TopTick" Grid.Column="0" Fill="{TemplateBinding Foreground}" Margin="0,0,2,0" Placement="Left" Visibility="Collapsed" Width="4"/> |
279 | <TickBar x:Name="TopTick" Grid.Column="0" Fill="{TemplateBinding Foreground}" Margin="0,0,2,0" Placement="Left" Visibility="Collapsed" Width="4"/> |
280 | <TickBar x:Name="BottomTick" Grid.Column="2" Fill="{TemplateBinding Foreground}" Margin="2,0,0,0" Placement="Right" Visibility="Collapsed" Width="4"/> |
280 | <TickBar x:Name="BottomTick" Grid.Column="2" Fill="{TemplateBinding Foreground}" Margin="2,0,0,0" Placement="Right" Visibility="Collapsed" Width="4"/> |
281 | <Border x:Name="TrackBackground" BorderBrush="{StaticResource SliderThumb.Track.Border}" BorderThickness="1" Background="{StaticResource SliderThumb.Track.Background}" Grid.Column="1" HorizontalAlignment="center" Margin="0,5" Width="4.0"> |
281 | <Border x:Name="TrackBackground" BorderBrush="{StaticResource SliderThumb.Track.Border}" BorderThickness="1" Background="{StaticResource SliderThumb.Track.Background}" Grid.Column="1" HorizontalAlignment="center" Margin="0,5" Width="4.0"> |
282 | <Canvas Margin="-1,-6"> |
282 | <Canvas Margin="-1,-6"> |
283 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Visibility="Hidden" Width="4.0"/> |
283 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Visibility="Hidden" Width="4.0"/> |
284 | </Canvas> |
284 | </Canvas> |
285 | </Border> |
285 | </Border> |
286 | <Track x:Name="PART_Track" Grid.Column="1"> |
286 | <Track x:Name="PART_Track" Grid.Column="1"> |
287 | <Track.DecreaseRepeatButton> |
287 | <Track.DecreaseRepeatButton> |
288 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
288 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
289 | </Track.DecreaseRepeatButton> |
289 | </Track.DecreaseRepeatButton> |
290 | <Track.IncreaseRepeatButton> |
290 | <Track.IncreaseRepeatButton> |
291 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
291 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
292 | </Track.IncreaseRepeatButton> |
292 | </Track.IncreaseRepeatButton> |
293 | <Track.Thumb> |
293 | <Track.Thumb> |
294 | <Thumb x:Name="Thumb" Focusable="False" Height="11" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbVerticalDefault}" VerticalAlignment="Top" Width="18"/> |
294 | <Thumb x:Name="Thumb" Focusable="False" Height="11" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbVerticalDefault}" VerticalAlignment="Top" Width="18"/> |
295 | </Track.Thumb> |
295 | </Track.Thumb> |
296 | </Track> |
296 | </Track> |
297 | </Grid> |
297 | </Grid> |
298 | </Border> |
298 | </Border> |
299 | <ControlTemplate.Triggers> |
299 | <ControlTemplate.Triggers> |
300 | <Trigger Property="TickPlacement" Value="TopLeft"> |
300 | <Trigger Property="TickPlacement" Value="TopLeft"> |
301 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
301 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
302 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalLeft}"/> |
302 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalLeft}"/> |
303 | <Setter Property="Margin" TargetName="TrackBackground" Value="2,5,0,5"/> |
303 | <Setter Property="Margin" TargetName="TrackBackground" Value="2,5,0,5"/> |
304 | </Trigger> |
304 | </Trigger> |
305 | <Trigger Property="TickPlacement" Value="BottomRight"> |
305 | <Trigger Property="TickPlacement" Value="BottomRight"> |
306 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
306 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
307 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalRight}"/> |
307 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalRight}"/> |
308 | <Setter Property="Margin" TargetName="TrackBackground" Value="0,5,2,5"/> |
308 | <Setter Property="Margin" TargetName="TrackBackground" Value="0,5,2,5"/> |
309 | </Trigger> |
309 | </Trigger> |
310 | <Trigger Property="TickPlacement" Value="Both"> |
310 | <Trigger Property="TickPlacement" Value="Both"> |
311 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
311 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
312 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
312 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
313 | </Trigger> |
313 | </Trigger> |
314 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
314 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
315 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
315 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
316 | </Trigger> |
316 | </Trigger> |
317 | <Trigger Property="IsKeyboardFocused" Value="true"> |
317 | <Trigger Property="IsKeyboardFocused" Value="true"> |
318 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
318 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
319 | </Trigger> |
319 | </Trigger> |
320 | </ControlTemplate.Triggers> |
320 | </ControlTemplate.Triggers> |
321 | </ControlTemplate> |
321 | </ControlTemplate> |
322 | <Style x:Key="TouchSliderStyle" TargetType="{x:Type Slider}"> |
322 | <Style x:Key="TouchSliderStyle" TargetType="{x:Type Slider}"> |
323 | <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> |
323 | <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> |
324 | <Setter Property="Background" Value="Transparent"/> |
324 | <Setter Property="Background" Value="Transparent"/> |
325 | <Setter Property="BorderBrush" Value="Transparent"/> |
325 | <Setter Property="BorderBrush" Value="Transparent"/> |
326 | <Setter Property="Foreground" Value="{StaticResource SliderThumb.Static.Foreground}"/> |
326 | <Setter Property="Foreground" Value="{StaticResource SliderThumb.Static.Foreground}"/> |
327 | <Setter Property="Template" Value="{StaticResource SliderHorizontal}"/> |
327 | <Setter Property="Template" Value="{StaticResource SliderHorizontal}"/> |
328 | <Style.Triggers> |
328 | <Style.Triggers> |
329 | <Trigger Property="Orientation" Value="Vertical"> |
329 | <Trigger Property="Orientation" Value="Vertical"> |
330 | <Setter Property="Template" Value="{StaticResource SliderVertical}"/> |
330 | <Setter Property="Template" Value="{StaticResource SliderVertical}"/> |
331 | </Trigger> |
331 | </Trigger> |
332 | </Style.Triggers> |
332 | </Style.Triggers> |
333 | </Style> |
333 | </Style> |
334 | <Storyboard x:Key="VoltageCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
334 | <Storyboard x:Key="VoltageCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
335 | <ColorAnimationUsingKeyFrames |
335 | <ColorAnimationUsingKeyFrames |
336 | Storyboard.TargetName="rectTopVoltage" |
336 | Storyboard.TargetName="rectTopVoltage" |
337 | Storyboard.TargetProperty="Fill.(SolidColorBrush.Color)"> |
337 | Storyboard.TargetProperty="Fill.(SolidColorBrush.Color)"> |
338 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
338 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
339 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
339 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
340 | </ColorAnimationUsingKeyFrames> |
340 | </ColorAnimationUsingKeyFrames> |
341 | </Storyboard> |
341 | </Storyboard> |
342 | <Storyboard x:Key="SatFixLostAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
342 | <Storyboard x:Key="SatFixLostAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
343 | <ColorAnimationUsingKeyFrames |
343 | <ColorAnimationUsingKeyFrames |
344 | Storyboard.TargetName="tbTopSats" |
344 | Storyboard.TargetName="tbTopSats" |
345 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
345 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
346 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
346 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
347 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
347 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
348 | </ColorAnimationUsingKeyFrames> |
348 | </ColorAnimationUsingKeyFrames> |
349 | </Storyboard> |
349 | </Storyboard> |
350 | <Storyboard x:Key="MagneticFieldCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
350 | <Storyboard x:Key="MagneticFieldCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
351 | <ColorAnimationUsingKeyFrames |
351 | <ColorAnimationUsingKeyFrames |
352 | Storyboard.TargetName="tbTopEarthMag" |
352 | Storyboard.TargetName="tbTopEarthMag" |
353 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
353 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
354 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
354 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
355 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
355 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
356 | </ColorAnimationUsingKeyFrames> |
356 | </ColorAnimationUsingKeyFrames> |
357 | </Storyboard> |
357 | </Storyboard> |
358 | <Storyboard x:Key="DistanceCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
358 | <Storyboard x:Key="DistanceCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
359 | <ColorAnimationUsingKeyFrames |
359 | <ColorAnimationUsingKeyFrames |
360 | Storyboard.TargetName="tbTopDistanceHP" |
360 | Storyboard.TargetName="tbTopDistanceHP" |
361 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
361 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
362 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
362 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
363 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
363 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
364 | </ColorAnimationUsingKeyFrames> |
364 | </ColorAnimationUsingKeyFrames> |
365 | </Storyboard> |
365 | </Storyboard> |
366 | <Storyboard x:Key="RCCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
366 | <Storyboard x:Key="RCCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
367 | <ColorAnimationUsingKeyFrames |
367 | <ColorAnimationUsingKeyFrames |
368 | Storyboard.TargetName="tbTopRC" |
368 | Storyboard.TargetName="tbTopRC" |
369 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
369 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
370 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
370 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
371 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
371 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
372 | </ColorAnimationUsingKeyFrames> |
372 | </ColorAnimationUsingKeyFrames> |
373 | </Storyboard> |
373 | </Storyboard> |
374 | <Style x:Key="HideSwitchNCLabel" TargetType="{x:Type Label}"> |
374 | <Style x:Key="HideSwitchNCLabel" TargetType="{x:Type Label}"> |
375 | <Setter Property="Visibility" Value="Collapsed" /> |
375 | <Setter Property="Visibility" Value="Collapsed" /> |
376 | <Style.Triggers> |
376 | <Style.Triggers> |
377 | <DataTrigger Binding="{Binding Tag.Content}" Value="FC"> |
377 | <DataTrigger Binding="{Binding Tag.Content}" Value="FC"> |
378 | <Setter Property="Visibility" Value="Visible" /> |
378 | <Setter Property="Visibility" Value="Visible" /> |
379 | </DataTrigger> |
379 | </DataTrigger> |
380 | </Style.Triggers> |
380 | </Style.Triggers> |
381 | </Style> |
381 | </Style> |
382 | <Style x:Key="HideSwitchNCButton" TargetType="{x:Type Button}"> |
382 | <Style x:Key="HideSwitchNCButton" TargetType="{x:Type Button}"> |
383 | <Setter Property="Visibility" Value="Hidden" /> |
383 | <Setter Property="Visibility" Value="Hidden" /> |
384 | <Style.Triggers> |
384 | <Style.Triggers> |
385 | <DataTrigger Binding="{Binding Tag.Content}" Value="FC"> |
385 | <DataTrigger Binding="{Binding Tag.Content}" Value="FC"> |
386 | <Setter Property="Visibility" Value="Visible" /> |
386 | <Setter Property="Visibility" Value="Visible" /> |
387 | </DataTrigger> |
387 | </DataTrigger> |
388 | </Style.Triggers> |
388 | </Style.Triggers> |
389 | </Style> |
389 | </Style> |
390 | </Window.Resources> |
390 | </Window.Resources> |
391 | <Grid> |
391 | <Grid> |
392 | <Grid x:Name="GridGMapControl"> |
392 | <Grid x:Name="GridGMapControl"> |
393 | <WindowsPresentation:GMapControl x:Name="MainMap" Loaded="MainMap_Loaded" OnPositionChanged="MainMap_OnPositionChanged" OnMapZoomChanged="MainMap_OnMapZoomChanged" StylusDown="MainMap_StylusDown" StylusUp="MainMap_StylusUp" StylusMove="MainMap_StylusMove"/> |
393 | <WindowsPresentation:GMapControl x:Name="MainMap" Loaded="MainMap_Loaded" OnPositionChanged="MainMap_OnPositionChanged" OnMapZoomChanged="MainMap_OnMapZoomChanged" StylusDown="MainMap_StylusDown" StylusUp="MainMap_StylusUp" StylusMove="MainMap_StylusMove"/> |
394 | </Grid> |
394 | </Grid> |
395 | <Grid> |
395 | <Grid> |
396 | <Grid.LayoutTransform> |
396 | <Grid.LayoutTransform> |
397 | <ScaleTransform |
397 | <ScaleTransform |
398 | CenterX="0" |
398 | CenterX="0" |
399 | CenterY="0" |
399 | CenterY="0" |
400 | ScaleX="{Binding Value, ElementName=UIScaleSlider}" |
400 | ScaleX="{Binding Value, ElementName=UIScaleSlider}" |
401 | ScaleY="{Binding Value, ElementName=UIScaleSlider}" |
401 | ScaleY="{Binding Value, ElementName=UIScaleSlider}" |
402 | /> |
402 | /> |
403 | </Grid.LayoutTransform> |
403 | </Grid.LayoutTransform> |
404 | 404 | ||
405 | <Grid x:Name="GridTop" Height="36" VerticalAlignment="Top" Background="#7F000000"> |
405 | <Grid x:Name="GridTop" Height="36" VerticalAlignment="Top" Background="#7F000000"> |
406 | <Grid.LayoutTransform> |
406 | <Grid.LayoutTransform> |
407 | <ScaleTransform |
407 | <ScaleTransform |
408 | CenterX="0" |
408 | CenterX="0" |
409 | CenterY="0" |
409 | CenterY="0" |
410 | ScaleX="{Binding Value, ElementName=UIScaleTopSlider}" |
410 | ScaleX="{Binding Value, ElementName=UIScaleTopSlider}" |
411 | ScaleY="{Binding Value, ElementName=UIScaleTopSlider}" |
411 | ScaleY="{Binding Value, ElementName=UIScaleTopSlider}" |
412 | /> |
412 | /> |
413 | </Grid.LayoutTransform> |
413 | </Grid.LayoutTransform> |
414 | 414 | ||
415 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
415 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
416 | <StackPanel Orientation="Horizontal" Margin="0,0,115,0"> |
416 | <StackPanel Orientation="Horizontal" Margin="0,0,115,0"> |
417 | <Canvas Margin="2,3,2,5" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowVoltage}"> |
417 | <Canvas Margin="2,3,2,5" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowVoltage}"> |
418 | <Rectangle x:Name="rectTopVoltage" HorizontalAlignment="Left" Height="28" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="89" StrokeThickness="3" Fill="#00000000"/> |
418 | <Rectangle x:Name="rectTopVoltage" HorizontalAlignment="Left" Height="28" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="89" StrokeThickness="3" Fill="#00000000"/> |
419 | <Rectangle Fill="#FFE8E8FF" HorizontalAlignment="Left" Height="13" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="6" StrokeThickness="2" Canvas.Left="89" Canvas.Top="8"/> |
419 | <Rectangle Fill="#FFE8E8FF" HorizontalAlignment="Left" Height="13" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="6" StrokeThickness="2" Canvas.Left="89" Canvas.Top="8"/> |
420 | <ProgressBar x:Name="pbTopVoltage" HorizontalAlignment="Left" Height="22" VerticalAlignment="Top" Width="83" Foreground="#FF6BC37B" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" BorderBrush="{x:Null}" BorderThickness="0" Background="#00000000" ToolTip="Voltage of LiPo" Canvas.Left="3" Canvas.Top="3"/> |
420 | <ProgressBar x:Name="pbTopVoltage" HorizontalAlignment="Left" Height="22" VerticalAlignment="Top" Width="83" Foreground="#FF6BC37B" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" BorderBrush="{x:Null}" BorderThickness="0" Background="#00000000" ToolTip="Voltage of LiPo" Canvas.Left="3" Canvas.Top="3"/> |
421 | <TextBox x:Name="tbTopVoltage" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" Text="0 V" VerticalAlignment="Top" Width="76" BorderBrush="{x:Null}" FontSize="14" HorizontalContentAlignment="Center" Background="{x:Null}" Padding="1" Foreground="White" VerticalContentAlignment="Center" AllowDrop="False" Focusable="False" IsHitTestVisible="False" IsTabStop="False" IsUndoEnabled="False" IsReadOnly="True" Canvas.Left="7" Canvas.Top="1" ToolTip="Voltage of LiPo"/> |
421 | <TextBox x:Name="tbTopVoltage" HorizontalAlignment="Left" Height="25" TextWrapping="Wrap" Text="0 V" VerticalAlignment="Top" Width="76" BorderBrush="{x:Null}" FontSize="14" HorizontalContentAlignment="Center" Background="{x:Null}" Padding="1" Foreground="White" VerticalContentAlignment="Center" AllowDrop="False" Focusable="False" IsHitTestVisible="False" IsTabStop="False" IsUndoEnabled="False" IsReadOnly="True" Canvas.Left="7" Canvas.Top="1" ToolTip="Voltage of LiPo"/> |
422 | </Canvas> |
422 | </Canvas> |
423 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCapacity}" ToolTip="capacity used"> |
423 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCapacity}" ToolTip="capacity used"> |
424 | <TextBox x:Name="tbTopCapacity" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 mAh" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="capacity used" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
424 | <TextBox x:Name="tbTopCapacity" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 mAh" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="capacity used" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
425 | <Image x:Name="imageFlightTime_Copy" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Consumption.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="67.993" Canvas.Top="4"/> |
425 | <Image x:Name="imageFlightTime_Copy" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Consumption.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="67.993" Canvas.Top="4"/> |
426 | </Canvas> |
426 | </Canvas> |
427 | <Canvas Margin="1,2,2,3" Width="72" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCurrent}" ToolTip="Current"> |
427 | <Canvas Margin="1,2,2,3" Width="72" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCurrent}" ToolTip="Current"> |
428 | <TextBox x:Name="tbTopCurrent" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 A" VerticalAlignment="Top" Width="72" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="Current" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
428 | <TextBox x:Name="tbTopCurrent" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 A" VerticalAlignment="Top" Width="72" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="Current" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
429 | <Image x:Name="imageFlightTime_Copy4" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Blitz.png" HorizontalAlignment="Left" Width="16.007" Canvas.Left="56.493" Canvas.Top="4"/> |
429 | <Image x:Name="imageFlightTime_Copy4" Height="23.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Blitz.png" HorizontalAlignment="Left" Width="16.007" Canvas.Left="56.493" Canvas.Top="4"/> |
430 | </Canvas> |
430 | </Canvas> |
431 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowFlightTime}" ToolTip="flight time since take off"> |
431 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowFlightTime}" ToolTip="flight time since take off"> |
432 | <TextBox x:Name="tbTopFTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="00:00:00" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since take off" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
432 | <TextBox x:Name="tbTopFTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="00:00:00" VerticalAlignment="Top" Width="94" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since take off" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
433 | <Image x:Name="imageFlightTime" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="63.331" Canvas.Top="2.252"/> |
433 | <Image x:Name="imageFlightTime" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="63.331" Canvas.Top="2.252"/> |
434 | </Canvas> |
434 | </Canvas> |
435 | <Canvas Margin="1,2,2,3" Width="84" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowDistanceHP}"> |
435 | <Canvas Margin="1,2,2,3" Width="84" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowDistanceHP}"> |
436 | <Rectangle HorizontalAlignment="Right" Width="84" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
436 | <Rectangle HorizontalAlignment="Right" Width="84" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
437 | <Rectangle.Style> |
437 | <Rectangle.Style> |
438 | <Style TargetType="{x:Type Rectangle}"> |
438 | <Style TargetType="{x:Type Rectangle}"> |
439 | <Style.Triggers> |
439 | <Style.Triggers> |
440 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopHome}" Value="True"> |
440 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopHome}" Value="True"> |
441 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
441 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
442 | </DataTrigger> |
442 | </DataTrigger> |
443 | </Style.Triggers> |
443 | </Style.Triggers> |
444 | </Style> |
444 | </Style> |
445 | </Rectangle.Style> |
445 | </Rectangle.Style> |
446 | </Rectangle> |
446 | </Rectangle> |
447 | <TextBox x:Name="tbTopDistanceHP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="84" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance to home position" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
447 | <TextBox x:Name="tbTopDistanceHP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="84" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance to home position" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
448 | <Image x:Name="imageHome" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Home1.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="54.831" Canvas.Top="2.252"/> |
448 | <Image x:Name="imageHome" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Home1.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="54.831" Canvas.Top="2.252"/> |
449 | <Button x:Name="btnTopHome" Content="" Click="btnSetHP_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="set home position @actual position (center screen)" HorizontalAlignment="Right" Width="84"/> |
449 | <Button x:Name="btnTopHome" Content="" Click="btnSetHP_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="set home position @actual position (center screen)" HorizontalAlignment="Right" Width="84"/> |
450 | </Canvas> |
450 | </Canvas> |
451 | <Canvas Margin="1,2,2,3" Width="61" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowHeight}" ToolTip="height"> |
451 | <Canvas Margin="1,2,2,3" Width="61" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowHeight}" ToolTip="height"> |
452 | <TextBox x:Name="tbTopHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="height" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
452 | <TextBox x:Name="tbTopHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="height" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
453 | <Image x:Name="imageFlightTime_Copy2" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/> |
453 | <Image x:Name="imageFlightTime_Copy2" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/> |
454 | </Canvas> |
454 | </Canvas> |
455 | <Canvas Margin="1,2,2,1" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSpeed}" ToolTip="groundspeed"> |
455 | <Canvas Margin="1,2,2,1" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSpeed}" ToolTip="groundspeed"> |
456 | <TextBox x:Name="tbTopSpeed" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 m/s" VerticalAlignment="Top" Width="95" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="groundspeed" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
456 | <TextBox x:Name="tbTopSpeed" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0.0 m/s" VerticalAlignment="Top" Width="95" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="groundspeed" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
457 | <Image x:Name="imageFlightTime_Copy3" Height="19.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Tacho.png" HorizontalAlignment="Left" Width="29.375" Canvas.Left="63.754" Canvas.Top="6.25"/> |
457 | <Image x:Name="imageFlightTime_Copy3" Height="19.835" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Tacho.png" HorizontalAlignment="Left" Width="29.375" Canvas.Left="63.754" Canvas.Top="6.25"/> |
458 | </Canvas> |
458 | </Canvas> |
459 | <Canvas Margin="0,2,2,0" Width="83" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowMF}" ToolTip="earth magnetic field"> |
459 | <Canvas Margin="0,2,2,0" Width="83" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowMF}" ToolTip="earth magnetic field"> |
460 | <TextBox x:Name="tbTopEarthMag" Height="31" TextWrapping="Wrap" Text="100%" VerticalAlignment="Top" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="earth magnetic field" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" HorizontalAlignment="Left" Width="84"/> |
460 | <TextBox x:Name="tbTopEarthMag" Height="31" TextWrapping="Wrap" Text="100%" VerticalAlignment="Top" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="earth magnetic field" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" HorizontalAlignment="Left" Width="84"/> |
461 | <Image x:Name="imageEarthMag" Height="36.75" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/EarthMag.png" HorizontalAlignment="Left" Width="36.876" Canvas.Left="46.289" Canvas.Top="0.582"/> |
461 | <Image x:Name="imageEarthMag" Height="36.75" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/EarthMag.png" HorizontalAlignment="Left" Width="36.876" Canvas.Left="46.289" Canvas.Top="0.582"/> |
462 | </Canvas> |
462 | </Canvas> |
463 | <Canvas Margin="1,2,2,3" Width="56" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSatellites}" ToolTip="Satellites"> |
463 | <Canvas Margin="1,2,2,3" Width="56" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSatellites}" ToolTip="Satellites"> |
464 | <TextBox x:Name="tbTopSats" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="56" IsReadOnly="True" IsUndoEnabled="False" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" ToolTip="Satellites"/> |
464 | <TextBox x:Name="tbTopSats" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="56" IsReadOnly="True" IsUndoEnabled="False" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" ToolTip="Satellites"/> |
465 | <Image x:Name="imageSat" Height="25.958" VerticalAlignment="Top" Stretch="Fill" UseLayoutRounding="False" Source="Images/Satellite1.png" HorizontalAlignment="Left" Width="23.583" Canvas.Left="25.667" Canvas.Top="1.752"/> |
465 | <Image x:Name="imageSat" Height="25.958" VerticalAlignment="Top" Stretch="Fill" UseLayoutRounding="False" Source="Images/Satellite1.png" HorizontalAlignment="Left" Width="23.583" Canvas.Left="25.667" Canvas.Top="1.752"/> |
466 | </Canvas> |
466 | </Canvas> |
467 | <Canvas Margin="1,2,2,2.4" Width="62" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowRC}" ToolTip="RC quality level (200 max)"> |
467 | <Canvas Margin="1,2,2,2.4" Width="62" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowRC}" ToolTip="RC quality level (200 max)"> |
468 | <TextBox x:Name="tbTopRC" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="62" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" ToolTip="RC quality"/> |
468 | <TextBox x:Name="tbTopRC" Height="31" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Background="#00000000" BorderBrush="#FFE4E4E4" Foreground="#FFFFFEFE" VerticalContentAlignment="Center" FontSize="14" Padding="4,0,0,0" BorderThickness="0.5" HorizontalAlignment="Left" Width="62" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" ToolTip="RC quality"/> |
469 | <Image x:Name="imageRC" Height="27.958" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/RC1.png" HorizontalAlignment="Left" Width="23.833" Canvas.Left="33.917" Canvas.Top="1.752"/> |
469 | <Image x:Name="imageRC" Height="27.958" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/RC1.png" HorizontalAlignment="Left" Width="23.833" Canvas.Left="33.917" Canvas.Top="1.752"/> |
470 | </Canvas> |
470 | </Canvas> |
471 | </StackPanel> |
471 | </StackPanel> |
472 | <Canvas Margin="0,2,42,3" Width="70" HorizontalAlignment="Right"> |
472 | <Canvas Margin="0,2,42,3" Width="70" HorizontalAlignment="Right"> |
473 | <Rectangle HorizontalAlignment="Right" Width="69" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
473 | <Rectangle HorizontalAlignment="Right" Width="69" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
474 | <Rectangle.Style> |
474 | <Rectangle.Style> |
475 | <Style TargetType="{x:Type Rectangle}"> |
475 | <Style TargetType="{x:Type Rectangle}"> |
476 | <Style.Triggers> |
476 | <Style.Triggers> |
477 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopConnect}" Value="True"> |
477 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopConnect}" Value="True"> |
478 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
478 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
479 | </DataTrigger> |
479 | </DataTrigger> |
480 | </Style.Triggers> |
480 | </Style.Triggers> |
481 | </Style> |
481 | </Style> |
482 | </Rectangle.Style> |
482 | </Rectangle.Style> |
483 | </Rectangle> |
483 | </Rectangle> |
484 | <Image x:Name="imageWiFi" Height="25.71" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/WiFi_W.png" HorizontalAlignment="Right" Width="24.083" ToolTip="Serial connection" Canvas.Left="5.417" Canvas.Top="4"/> |
484 | <Image x:Name="imageWiFi" Height="25.71" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/WiFi_W.png" HorizontalAlignment="Right" Width="24.083" ToolTip="Serial connection" Canvas.Left="5.417" Canvas.Top="4"/> |
485 | <Image x:Name="imageConn" Height="25.71" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Data_W.png" HorizontalAlignment="Right" Width="23.833" ToolTip="Datalink to copter with auto-refresh" Canvas.Left="40.667" Canvas.Top="3.75"/> |
485 | <Image x:Name="imageConn" Height="25.71" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Data_W.png" HorizontalAlignment="Right" Width="23.833" ToolTip="Datalink to copter with auto-refresh" Canvas.Left="40.667" Canvas.Top="3.75"/> |
486 | <Button x:Name="btnTopConnect" Content="" Click="btnConnectToCopter_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="Start / stop polling data from copter" HorizontalAlignment="Right" Width="69"/> |
486 | <Button x:Name="btnTopConnect" Content="" Click="btnConnectToCopter_Click" Background="{x:Null}" BorderThickness="0" BorderBrush="{x:Null}" Height="31" VerticalAlignment="Top" Foreground="{x:Null}" Focusable="False" Style="{DynamicResource ButtonWithoutEffectStyle}" ToolTip="Start / stop polling data from copter" HorizontalAlignment="Right" Width="69"/> |
487 | </Canvas> |
487 | </Canvas> |
488 | <Canvas Margin="0,2" HorizontalAlignment="Right" Width="37"> |
488 | <Canvas Margin="0,2" HorizontalAlignment="Right" Width="37"> |
489 | <Rectangle HorizontalAlignment="Right" Width="34" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
489 | <Rectangle HorizontalAlignment="Right" Width="34" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
490 | <Rectangle.Style> |
490 | <Rectangle.Style> |
491 | <Style TargetType="{x:Type Rectangle}"> |
491 | <Style TargetType="{x:Type Rectangle}"> |
492 | <Style.Triggers> |
492 | <Style.Triggers> |
493 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=imageFullscreen}" Value="True"> |
493 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=imageFullscreen}" Value="True"> |
494 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
494 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
495 | </DataTrigger> |
495 | </DataTrigger> |
496 | </Style.Triggers> |
496 | </Style.Triggers> |
497 | </Style> |
497 | </Style> |
498 | </Rectangle.Style> |
498 | </Rectangle.Style> |
499 | </Rectangle> |
499 | </Rectangle> |
500 | <Image x:Name="imageFullscreen" Height="25.458" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Fullscreen.png" HorizontalAlignment="Right" Width="22.75" MouseDown="imageFullscreen_MouseDown" ToolTip="Toggle fullscreen" Canvas.Left="5.75" Canvas.Top="4.002"/> |
500 | <Image x:Name="imageFullscreen" Height="25.458" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Fullscreen.png" HorizontalAlignment="Right" Width="22.75" MouseDown="imageFullscreen_MouseDown" ToolTip="Toggle fullscreen" Canvas.Left="5.75" Canvas.Top="4.002"/> |
501 | </Canvas> |
501 | </Canvas> |
502 | </Grid> |
502 | </Grid> |
503 | <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23"> |
503 | <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23"> |
504 | <Label x:Name="labelData" Content="Data" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" MouseDown="labelData_MouseDown" RenderTransformOrigin="0.5,0.5" Margin="-26,50,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" FontSize="14" > |
504 | <Label x:Name="labelData" Content="Data" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" MouseDown="labelData_MouseDown" RenderTransformOrigin="0.5,0.5" Margin="-26,50,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" FontSize="14" > |
505 | <Label.RenderTransform> |
505 | <Label.RenderTransform> |
506 | <TransformGroup> |
506 | <TransformGroup> |
507 | <ScaleTransform/> |
507 | <ScaleTransform/> |
508 | <SkewTransform/> |
508 | <SkewTransform/> |
509 | <RotateTransform Angle="-90"/> |
509 | <RotateTransform Angle="-90"/> |
510 | <TranslateTransform/> |
510 | <TranslateTransform/> |
511 | </TransformGroup> |
511 | </TransformGroup> |
512 | </Label.RenderTransform> |
512 | </Label.RenderTransform> |
513 | <Label.Style> |
513 | <Label.Style> |
514 | <Style TargetType="{x:Type Label}"> |
514 | <Style TargetType="{x:Type Label}"> |
515 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
515 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
516 | <Style.Triggers> |
516 | <Style.Triggers> |
517 | <Trigger Property="IsMouseOver" Value="True"> |
517 | <Trigger Property="IsMouseOver" Value="True"> |
518 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
518 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
519 | </Trigger> |
519 | </Trigger> |
520 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True"> |
520 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True"> |
521 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
521 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
522 | </DataTrigger> |
522 | </DataTrigger> |
523 | </Style.Triggers> |
523 | </Style.Triggers> |
524 | </Style> |
524 | </Style> |
525 | </Label.Style> |
525 | </Label.Style> |
526 | </Label> |
526 | </Label> |
527 | <Label x:Name="labelSettings" Content="Settings" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,125,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelSettings_MouseDown" FontSize="14"> |
527 | <Label x:Name="labelSettings" Content="Settings" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,125,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelSettings_MouseDown" FontSize="14"> |
528 | <Label.RenderTransform> |
528 | <Label.RenderTransform> |
529 | <TransformGroup> |
529 | <TransformGroup> |
530 | <ScaleTransform/> |
530 | <ScaleTransform/> |
531 | <SkewTransform/> |
531 | <SkewTransform/> |
532 | <RotateTransform Angle="-90"/> |
532 | <RotateTransform Angle="-90"/> |
533 | <TranslateTransform/> |
533 | <TranslateTransform/> |
534 | </TransformGroup> |
534 | </TransformGroup> |
535 | </Label.RenderTransform> |
535 | </Label.RenderTransform> |
536 | <Label.Style> |
536 | <Label.Style> |
537 | <Style TargetType="{x:Type Label}"> |
537 | <Style TargetType="{x:Type Label}"> |
538 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
538 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
539 | <Style.Triggers> |
539 | <Style.Triggers> |
540 | <Trigger Property="IsMouseOver" Value="True"> |
540 | <Trigger Property="IsMouseOver" Value="True"> |
541 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
541 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
542 | </Trigger> |
542 | </Trigger> |
543 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True"> |
543 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True"> |
544 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
544 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
545 | </DataTrigger> |
545 | </DataTrigger> |
546 | </Style.Triggers> |
546 | </Style.Triggers> |
547 | </Style> |
547 | </Style> |
548 | </Label.Style> |
548 | </Label.Style> |
549 | </Label> |
549 | </Label> |
550 | <Label x:Name="labelLog" Content="LOG" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,0,-25,27" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelLog_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Bottom"> |
550 | <Label x:Name="labelLog" Content="LOG" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,0,-25,27" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelLog_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Bottom"> |
551 | <Label.RenderTransform> |
551 | <Label.RenderTransform> |
552 | <TransformGroup> |
552 | <TransformGroup> |
553 | <ScaleTransform/> |
553 | <ScaleTransform/> |
554 | <SkewTransform/> |
554 | <SkewTransform/> |
555 | <RotateTransform Angle="-90"/> |
555 | <RotateTransform Angle="-90"/> |
556 | <TranslateTransform/> |
556 | <TranslateTransform/> |
557 | </TransformGroup> |
557 | </TransformGroup> |
558 | </Label.RenderTransform> |
558 | </Label.RenderTransform> |
559 | <Label.Style> |
559 | <Label.Style> |
560 | <Style TargetType="{x:Type Label}"> |
560 | <Style TargetType="{x:Type Label}"> |
561 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
561 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
562 | <Style.Triggers> |
562 | <Style.Triggers> |
563 | <Trigger Property="IsMouseOver" Value="True"> |
563 | <Trigger Property="IsMouseOver" Value="True"> |
564 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
564 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
565 | </Trigger> |
565 | </Trigger> |
566 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True"> |
566 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True"> |
567 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
567 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
568 | </DataTrigger> |
568 | </DataTrigger> |
569 | </Style.Triggers> |
569 | </Style.Triggers> |
570 | </Style> |
570 | </Style> |
571 | </Label.Style> |
571 | </Label.Style> |
572 | </Label> |
572 | </Label> |
573 | <Label x:Name="labelWaypoints" Content="Waypoints" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,200,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWaypoints_MouseDown" FontSize="14"> |
573 | <Label x:Name="labelWaypoints" Content="Waypoints" HorizontalAlignment="Left" VerticalAlignment="Top" Height="22" Width="74" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-26,200,-25,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWaypoints_MouseDown" FontSize="14"> |
574 | <Label.RenderTransform> |
574 | <Label.RenderTransform> |
575 | <TransformGroup> |
575 | <TransformGroup> |
576 | <ScaleTransform/> |
576 | <ScaleTransform/> |
577 | <SkewTransform/> |
577 | <SkewTransform/> |
578 | <RotateTransform Angle="-90"/> |
578 | <RotateTransform Angle="-90"/> |
579 | <TranslateTransform/> |
579 | <TranslateTransform/> |
580 | </TransformGroup> |
580 | </TransformGroup> |
581 | </Label.RenderTransform> |
581 | </Label.RenderTransform> |
582 | <Label.Style> |
582 | <Label.Style> |
583 | <Style TargetType="{x:Type Label}"> |
583 | <Style TargetType="{x:Type Label}"> |
584 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
584 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
585 | <Style.Triggers> |
585 | <Style.Triggers> |
586 | <Trigger Property="IsMouseOver" Value="True"> |
586 | <Trigger Property="IsMouseOver" Value="True"> |
587 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
587 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
588 | </Trigger> |
588 | </Trigger> |
589 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True"> |
589 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True"> |
590 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
590 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
591 | </DataTrigger> |
591 | </DataTrigger> |
592 | </Style.Triggers> |
592 | </Style.Triggers> |
593 | </Style> |
593 | </Style> |
594 | </Label.Style> |
594 | </Label.Style> |
595 | </Label> |
595 | </Label> |
596 | </Grid> |
596 | </Grid> |
597 | <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" > |
597 | <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" > |
598 | <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0"> |
598 | <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0"> |
599 | <TabItem Header="Analog"> |
599 | <TabItem Header="Analog"> |
600 | <Grid> |
600 | <Grid> |
601 | <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="110,42,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
601 | <TextBlock x:Name="tbVolt" HorizontalAlignment="Left" Height="23" Margin="110,42,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
602 | <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="110,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
602 | <TextBlock x:Name="tbCur" HorizontalAlignment="Left" Height="23" Margin="110,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
603 | <Label x:Name="label6_Copy" Content="Controller:" HorizontalAlignment="Left" Margin="8,6,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
603 | <Label x:Name="label6_Copy" Content="Controller:" HorizontalAlignment="Left" Margin="8,6,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
604 | <TextBox x:Name="tbCtrl" HorizontalAlignment="Left" Height="21" Margin="111,9,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="27" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" FontSize="16"/> |
604 | <TextBox x:Name="tbCtrl" HorizontalAlignment="Left" Height="21" Margin="111,9,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="27" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" FontSize="16"/> |
605 | <Label x:Name="label6_Copy3" Content="Voltage" HorizontalAlignment="Left" Margin="6,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
605 | <Label x:Name="label6_Copy3" Content="Voltage" HorizontalAlignment="Left" Margin="6,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
606 | <Label x:Name="label6_Copy4" Content="Current" HorizontalAlignment="Left" Margin="6,56,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
606 | <Label x:Name="label6_Copy4" Content="Current" HorizontalAlignment="Left" Margin="6,56,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
607 | <TextBlock x:Name="tbCapacity" HorizontalAlignment="Left" Height="23" Margin="110,78,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
607 | <TextBlock x:Name="tbCapacity" HorizontalAlignment="Left" Height="23" Margin="110,78,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
608 | <Label x:Name="label6_Copy5" Content="Capacity" HorizontalAlignment="Left" Margin="6,74,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
608 | <Label x:Name="label6_Copy5" Content="Capacity" HorizontalAlignment="Left" Margin="6,74,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
609 | <TextBlock x:Name="tbFTime" HorizontalAlignment="Left" Height="23" Margin="110,99,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
609 | <TextBlock x:Name="tbFTime" HorizontalAlignment="Left" Height="23" Margin="110,99,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
610 | <TextBlock x:Name="tbRCQ" HorizontalAlignment="Left" Height="23" Margin="110,119,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
610 | <TextBlock x:Name="tbRCQ" HorizontalAlignment="Left" Height="23" Margin="110,119,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
611 | <Label x:Name="label6_Copy6" Content="Flying time" HorizontalAlignment="Left" Margin="6,95,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
611 | <Label x:Name="label6_Copy6" Content="Flying time" HorizontalAlignment="Left" Margin="6,95,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
612 | <Label x:Name="label6_Copy7" Content="RC quality" HorizontalAlignment="Left" Margin="6,115,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
612 | <Label x:Name="label6_Copy7" Content="RC quality" HorizontalAlignment="Left" Margin="6,115,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
613 | <TextBlock x:Name="tbMagF" HorizontalAlignment="Left" Height="23" Margin="110,140,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
613 | <TextBlock x:Name="tbMagF" HorizontalAlignment="Left" Height="23" Margin="110,140,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
614 | <Label x:Name="label6_Copy8" Content="Mag. field" HorizontalAlignment="Left" Margin="6,136,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
614 | <Label x:Name="label6_Copy8" Content="Mag. field" HorizontalAlignment="Left" Margin="6,136,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
615 | <TextBlock x:Name="tbSats" HorizontalAlignment="Left" Height="23" Margin="110,161,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
615 | <TextBlock x:Name="tbSats" HorizontalAlignment="Left" Height="23" Margin="110,161,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
616 | <TextBlock x:Name="tbSpeed" HorizontalAlignment="Left" Height="23" Margin="110,181,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
616 | <TextBlock x:Name="tbSpeed" HorizontalAlignment="Left" Height="23" Margin="110,181,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
617 | <Label x:Name="label6_Copy9" Content="Satellites" HorizontalAlignment="Left" Margin="6,157,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
617 | <Label x:Name="label6_Copy9" Content="Satellites" HorizontalAlignment="Left" Margin="6,157,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
618 | <Label x:Name="label6_Copy10" Content="Gr. speed" HorizontalAlignment="Left" Margin="6,177,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
618 | <Label x:Name="label6_Copy10" Content="Gr. speed" HorizontalAlignment="Left" Margin="6,177,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
619 | <TextBlock x:Name="tbAlt" HorizontalAlignment="Left" Height="23" Margin="110,201,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
619 | <TextBlock x:Name="tbAlt" HorizontalAlignment="Left" Height="23" Margin="110,201,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
620 | <Label x:Name="label6_Copy11" Content="Altitude" HorizontalAlignment="Left" Margin="6,197,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
620 | <Label x:Name="label6_Copy11" Content="Altitude" HorizontalAlignment="Left" Margin="6,197,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
621 | <TextBlock x:Name="tbHeading" HorizontalAlignment="Left" Height="23" Margin="110,221,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
621 | <TextBlock x:Name="tbHeading" HorizontalAlignment="Left" Height="23" Margin="110,221,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
622 | <Label x:Name="label6_Copy12" Content="Heading" HorizontalAlignment="Left" Margin="6,217,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
622 | <Label x:Name="label6_Copy12" Content="Heading" HorizontalAlignment="Left" Margin="6,217,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
623 | <TextBlock x:Name="tbPitch" HorizontalAlignment="Left" Height="23" Margin="110,240,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
623 | <TextBlock x:Name="tbPitch" HorizontalAlignment="Left" Height="23" Margin="110,240,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
624 | <Label x:Name="label6_Copy13" Content="Pitch" HorizontalAlignment="Left" Margin="6,236,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
624 | <Label x:Name="label6_Copy13" Content="Pitch" HorizontalAlignment="Left" Margin="6,236,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
625 | <TextBlock x:Name="tbRoll" HorizontalAlignment="Left" Height="23" Margin="110,259,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
625 | <TextBlock x:Name="tbRoll" HorizontalAlignment="Left" Height="23" Margin="110,259,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
626 | <Label x:Name="label6_Copy14" Content="Roll" HorizontalAlignment="Left" Margin="6,255,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
626 | <Label x:Name="label6_Copy14" Content="Roll" HorizontalAlignment="Left" Margin="6,255,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
627 | <TextBlock x:Name="tbHP" HorizontalAlignment="Left" Height="23" Margin="110,278,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
627 | <TextBlock x:Name="tbHP" HorizontalAlignment="Left" Height="23" Margin="110,278,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
628 | <Label x:Name="label6_Copy15" Content="Distance HP" HorizontalAlignment="Left" Margin="6,274,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
628 | <Label x:Name="label6_Copy15" Content="Distance HP" HorizontalAlignment="Left" Margin="6,274,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
629 | <TextBlock x:Name="tbHP1" HorizontalAlignment="Left" Height="23" Margin="110,297,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
629 | <TextBlock x:Name="tbHP1" HorizontalAlignment="Left" Height="23" Margin="110,297,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
630 | <Label x:Name="label6_Copy16" Content="(Distance ???)" HorizontalAlignment="Left" Margin="6,293,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
630 | <Label x:Name="label6_Copy16" Content="(Distance ???)" HorizontalAlignment="Left" Margin="6,293,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
631 | <TextBlock x:Name="tbWP" HorizontalAlignment="Left" Height="23" Margin="110,315,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
631 | <TextBlock x:Name="tbWP" HorizontalAlignment="Left" Height="23" Margin="110,315,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
632 | <Label x:Name="label6_Copy17" Content="Distance WP" HorizontalAlignment="Left" Margin="6,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
632 | <Label x:Name="label6_Copy17" Content="Distance WP" HorizontalAlignment="Left" Margin="6,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
633 | <TextBlock x:Name="tbWPCount" HorizontalAlignment="Left" Height="23" Margin="110,333,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
633 | <TextBlock x:Name="tbWPCount" HorizontalAlignment="Left" Height="23" Margin="110,333,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
634 | <Label x:Name="label6_Copy19" Content="WP count" HorizontalAlignment="Left" Margin="6,329,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
634 | <Label x:Name="label6_Copy19" Content="WP count" HorizontalAlignment="Left" Margin="6,329,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
635 | <TextBlock x:Name="tbWPIndex" HorizontalAlignment="Left" Height="23" Margin="110,351,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
635 | <TextBlock x:Name="tbWPIndex" HorizontalAlignment="Left" Height="23" Margin="110,351,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
636 | <Label x:Name="label6_Copy20" Content="WP-Index" HorizontalAlignment="Left" Margin="6,347,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
636 | <Label x:Name="label6_Copy20" Content="WP-Index" HorizontalAlignment="Left" Margin="6,347,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
637 | <Label x:Name="label6" Content="CRC-Error" Margin="14,0,64,10.04" VerticalAlignment="Bottom" Background="{x:Null}" Foreground="White"/> |
637 | <Label x:Name="label6" Content="CRC-Error" Margin="14,0,64,10.04" VerticalAlignment="Bottom" Background="{x:Null}" Foreground="White"/> |
638 | <TextBox x:Name="tbCrc" Height="21" Margin="78,0,35,11.04" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}"/> |
638 | <TextBox x:Name="tbCrc" Height="21" Margin="78,0,35,11.04" TextWrapping="Wrap" Text="0" VerticalAlignment="Bottom" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}"/> |
639 | <Label x:Name="label6_Copy1" Content="SPI-Error" Margin="14,0,69,25.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
639 | <Label x:Name="label6_Copy1" Content="SPI-Error" Margin="14,0,69,25.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
640 | <TextBox x:Name="tbSPI" Margin="78,0,35,26.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
640 | <TextBox x:Name="tbSPI" Margin="78,0,35,26.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
641 | <Label x:Name="label6_Copy2" Content="I2C-Error" Margin="14,0,68,40.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
641 | <Label x:Name="label6_Copy2" Content="I2C-Error" Margin="14,0,68,40.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
642 | <TextBox x:Name="tbI2C" Margin="78,0,35,41.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
642 | <TextBox x:Name="tbI2C" Margin="78,0,35,41.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
643 | <Label x:Name="label6_Copy18" Content="NC-Error" Margin="14,0,68,56.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
643 | <Label x:Name="label6_Copy18" Content="NC-Error" Margin="14,0,68,56.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
644 | <TextBox x:Name="tbNCErr" Margin="78,0,35,57.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
644 | <TextBox x:Name="tbNCErr" Margin="78,0,35,57.04" TextWrapping="Wrap" Text="0" Padding="-9,0,0,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderBrush="{x:Null}" SelectionBrush="{x:Null}" Foreground="White" Background="{x:Null}" Height="21" VerticalAlignment="Bottom"/> |
645 | <TextBlock x:Name="tbNCGrSpeed" HorizontalAlignment="Left" Height="23" Margin="110,396,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
645 | <TextBlock x:Name="tbNCGrSpeed" HorizontalAlignment="Left" Height="23" Margin="110,396,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
646 | <Label x:Name="label6_Copy21" Content="Gr. speed (NC)" HorizontalAlignment="Left" Margin="6,392,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
646 | <Label x:Name="label6_Copy21" Content="Gr. speed (NC)" HorizontalAlignment="Left" Margin="6,392,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
647 | <TextBlock x:Name="tbHeadingCompass" HorizontalAlignment="Left" Height="23" Margin="110,415,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
647 | <TextBlock x:Name="tbHeadingCompass" HorizontalAlignment="Left" Height="23" Margin="110,415,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
648 | <Label x:Name="label6_Copy22" Content="Heading (NC)" HorizontalAlignment="Left" Margin="6,411,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
648 | <Label x:Name="label6_Copy22" Content="Heading (NC)" HorizontalAlignment="Left" Margin="6,411,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
649 | <TextBlock x:Name="tbHeadingNorth" HorizontalAlignment="Left" Height="23" Margin="110,433,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
649 | <TextBlock x:Name="tbHeadingNorth" HorizontalAlignment="Left" Height="23" Margin="110,433,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
650 | <Label x:Name="label6_Copy23" Content="Heading north" HorizontalAlignment="Left" Margin="6,429,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
650 | <Label x:Name="label6_Copy23" Content="Heading north" HorizontalAlignment="Left" Margin="6,429,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
651 | <TextBlock x:Name="tbWPMaxRange" HorizontalAlignment="Left" Height="23" Margin="110,370,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
651 | <TextBlock x:Name="tbWPMaxRange" HorizontalAlignment="Left" Height="23" Margin="110,370,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
652 | <Label x:Name="label6_Copy24" Content="WP max range" HorizontalAlignment="Left" Margin="6,366,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
652 | <Label x:Name="label6_Copy24" Content="WP max range" HorizontalAlignment="Left" Margin="6,366,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
653 | 653 | ||
654 | </Grid> |
654 | </Grid> |
655 | </TabItem> |
655 | </TabItem> |
656 | <TabItem Header="Status"> |
656 | <TabItem Header="Status"> |
657 | <Grid Margin="0"> |
657 | <Grid Margin="0"> |
658 | <Label x:Name="FC1_1" Content="Motors on" HorizontalAlignment="Left" Margin="10,12,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
658 | <Label x:Name="FC1_1" Content="Motors on" HorizontalAlignment="Left" Margin="10,12,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
659 | <Label x:Name="FC1_2" Content="Airborne" HorizontalAlignment="Left" Margin="10,35,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
659 | <Label x:Name="FC1_2" Content="Airborne" HorizontalAlignment="Left" Margin="10,35,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
660 | <Label x:Name="FC1_3" Content="Calibrate" HorizontalAlignment="Left" Margin="10,58,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
660 | <Label x:Name="FC1_3" Content="Calibrate" HorizontalAlignment="Left" Margin="10,58,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
661 | <Label x:Name="FC1_4" Content="Start" HorizontalAlignment="Left" Margin="10,81,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
661 | <Label x:Name="FC1_4" Content="Start" HorizontalAlignment="Left" Margin="10,81,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
662 | <Label x:Name="FC1_5" Content="Emergency landing" HorizontalAlignment="Left" Margin="10,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
662 | <Label x:Name="FC1_5" Content="Emergency landing" HorizontalAlignment="Left" Margin="10,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
663 | <Label x:Name="FC1_6" Content="Low battery" HorizontalAlignment="Left" Margin="10,127,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
663 | <Label x:Name="FC1_6" Content="Low battery" HorizontalAlignment="Left" Margin="10,127,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
664 | <Label x:Name="FC2_1" Content="Carefree" HorizontalAlignment="Left" Margin="10,150,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
664 | <Label x:Name="FC2_1" Content="Carefree" HorizontalAlignment="Left" Margin="10,150,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
665 | <Label x:Name="FC2_2" Content="Altitude control" HorizontalAlignment="Left" Margin="10,173,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
665 | <Label x:Name="FC2_2" Content="Altitude control" HorizontalAlignment="Left" Margin="10,173,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
666 | <Label x:Name="FC2_3" Content="RC failsave" HorizontalAlignment="Left" Margin="10,196,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
666 | <Label x:Name="FC2_3" Content="RC failsave" HorizontalAlignment="Left" Margin="10,196,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
667 | <Label x:Name="FC2_4" Content="Out 1" HorizontalAlignment="Left" Margin="10,219,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
667 | <Label x:Name="FC2_4" Content="Out 1" HorizontalAlignment="Left" Margin="10,219,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
668 | <Label x:Name="FC2_5" Content="Out 2" HorizontalAlignment="Left" Margin="10,242,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
668 | <Label x:Name="FC2_5" Content="Out 2" HorizontalAlignment="Left" Margin="10,242,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
669 | <Label x:Name="FC2_7" Content="Autostart" HorizontalAlignment="Left" Margin="10,288,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
669 | <Label x:Name="FC2_7" Content="Autostart" HorizontalAlignment="Left" Margin="10,288,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
670 | <Label x:Name="FC2_8" Content="Autoland" HorizontalAlignment="Left" Margin="10,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
670 | <Label x:Name="FC2_8" Content="Autoland" HorizontalAlignment="Left" Margin="10,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
671 | <Label x:Name="NC1_2" Content="Position hold" HorizontalAlignment="Left" Margin="10,334,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
671 | <Label x:Name="NC1_2" Content="Position hold" HorizontalAlignment="Left" Margin="10,334,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
672 | <Label x:Name="NC1_3" Content="Coming home" HorizontalAlignment="Left" Margin="10,357,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
672 | <Label x:Name="NC1_3" Content="Coming home" HorizontalAlignment="Left" Margin="10,357,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
673 | <Label x:Name="NC1_4" Content="Range limit" HorizontalAlignment="Left" Margin="10,380,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
673 | <Label x:Name="NC1_4" Content="Range limit" HorizontalAlignment="Left" Margin="10,380,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
674 | <Label x:Name="NC1_5" Content="No serial link" HorizontalAlignment="Left" Margin="10,403,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
674 | <Label x:Name="NC1_5" Content="No serial link" HorizontalAlignment="Left" Margin="10,403,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Padding="0" Height="23" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
675 | <Label x:Name="NC1_6" Content="Target reached" HorizontalAlignment="Left" Margin="10,426,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
675 | <Label x:Name="NC1_6" Content="Target reached" HorizontalAlignment="Left" Margin="10,426,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
676 | <Label x:Name="NC1_7" Content="Manual control" HorizontalAlignment="Left" Margin="10,449,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
676 | <Label x:Name="NC1_7" Content="Manual control" HorizontalAlignment="Left" Margin="10,449,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
677 | <Label x:Name="NC1_8" Content="GPS ok" HorizontalAlignment="Left" Margin="10,472,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5" BorderBrush="White" HorizontalContentAlignment="Center"/> |
677 | <Label x:Name="NC1_8" Content="GPS ok" HorizontalAlignment="Left" Margin="10,472,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5" BorderBrush="White" HorizontalContentAlignment="Center"/> |
678 | <Label x:Name="FC2_6" Content="Wait for takeoff" HorizontalAlignment="Left" Margin="10,265,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
678 | <Label x:Name="FC2_6" Content="Wait for takeoff" HorizontalAlignment="Left" Margin="10,265,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="16" Height="23" Padding="0" Width="158" BorderThickness="0.5,0.5,0.5,0.25" BorderBrush="White" HorizontalContentAlignment="Center"/> |
679 | 679 | ||
680 | </Grid> |
680 | </Grid> |
681 | </TabItem> |
681 | </TabItem> |
682 | <TabItem Header="Serial" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="54" Margin="-1,0,0,0"> |
682 | <TabItem Header="Serial" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="54" Margin="-1,0,0,0"> |
683 | <Grid> |
683 | <Grid> |
684 | <GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="188" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5"> |
684 | <GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="188" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5"> |
685 | <Grid Margin="0,0,-2,0.04"> |
685 | <Grid Margin="0,0,-2,0.04"> |
686 | <TextBox x:Name="textBoxSerial1" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel1 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial1_TextChanged"/> |
686 | <TextBox x:Name="textBoxSerial1" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel1 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial1_TextChanged"/> |
687 | <Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
687 | <Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
688 | <Label.Style> |
688 | <Label.Style> |
689 | <Style TargetType="{x:Type Label}"> |
689 | <Style TargetType="{x:Type Label}"> |
690 | <Style.Triggers> |
690 | <Style.Triggers> |
691 | <DataTrigger Binding="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
691 | <DataTrigger Binding="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
692 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan1ScaleSlider}"/> |
692 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan1ScaleSlider}"/> |
693 | </DataTrigger> |
693 | </DataTrigger> |
694 | </Style.Triggers> |
694 | </Style.Triggers> |
695 | </Style> |
695 | </Style> |
696 | </Label.Style> |
696 | </Label.Style> |
697 | </Label> |
697 | </Label> |
698 | <Slider x:Name="SerChan1ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan1ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
698 | <Slider x:Name="SerChan1ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan1ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
699 | <Button x:Name="btnSer1_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_0_Click"/> |
699 | <Button x:Name="btnSer1_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_0_Click"/> |
700 | <Button x:Name="btnSer1_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_127_Click"/> |
700 | <Button x:Name="btnSer1_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_127_Click"/> |
701 | <Button x:Name="btnSer1_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_254_Click"/> |
701 | <Button x:Name="btnSer1_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_254_Click"/> |
702 | <TextBox x:Name="textBoxSerial1_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val1_TextChanged"/> |
702 | <TextBox x:Name="textBoxSerial1_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val1_TextChanged"/> |
703 | <TextBox x:Name="textBoxSerial1_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val2_TextChanged"/> |
703 | <TextBox x:Name="textBoxSerial1_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val2_TextChanged"/> |
704 | <TextBox x:Name="textBoxSerial1_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val3_TextChanged"/> |
704 | <TextBox x:Name="textBoxSerial1_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial1_val3_TextChanged"/> |
705 | <Button x:Name="btnSer1_val1" Content="{Binding Text, ElementName=textBoxSerial1_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val1_Click"> |
705 | <Button x:Name="btnSer1_val1" Content="{Binding Text, ElementName=textBoxSerial1_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val1_Click"> |
706 | <Button.Style> |
706 | <Button.Style> |
707 | <Style TargetType="{x:Type Button}"> |
707 | <Style TargetType="{x:Type Button}"> |
708 | <Style.Triggers> |
708 | <Style.Triggers> |
709 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
709 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
710 | </Style.Triggers> |
710 | </Style.Triggers> |
711 | </Style> |
711 | </Style> |
712 | </Button.Style> |
712 | </Button.Style> |
713 | </Button> |
713 | </Button> |
714 | <Button x:Name="btnSer1_val2" Content="{Binding Text, ElementName=textBoxSerial1_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val2_Click"> |
714 | <Button x:Name="btnSer1_val2" Content="{Binding Text, ElementName=textBoxSerial1_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val2_Click"> |
715 | <Button.Style> |
715 | <Button.Style> |
716 | <Style TargetType="{x:Type Button}"> |
716 | <Style TargetType="{x:Type Button}"> |
717 | <Style.Triggers> |
717 | <Style.Triggers> |
718 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val2}"/> |
718 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val2}"/> |
719 | </Style.Triggers> |
719 | </Style.Triggers> |
720 | </Style> |
720 | </Style> |
721 | </Button.Style> |
721 | </Button.Style> |
722 | </Button> |
722 | </Button> |
723 | <Button x:Name="btnSer1_val3" Content="{Binding Text, ElementName=textBoxSerial1_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val3_Click"> |
723 | <Button x:Name="btnSer1_val3" Content="{Binding Text, ElementName=textBoxSerial1_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer1_val3_Click"> |
724 | <Button.Style> |
724 | <Button.Style> |
725 | <Style TargetType="{x:Type Button}"> |
725 | <Style TargetType="{x:Type Button}"> |
726 | <Style.Triggers> |
726 | <Style.Triggers> |
727 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val3}"/> |
727 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val3}"/> |
728 | </Style.Triggers> |
728 | </Style.Triggers> |
729 | </Style> |
729 | </Style> |
730 | </Button.Style> |
730 | </Button.Style> |
731 | </Button> |
731 | </Button> |
732 | 732 | ||
733 | </Grid> |
733 | </Grid> |
734 | </GroupBox> |
734 | </GroupBox> |
735 | <GroupBox x:Name="groupBoxSerchan2" Header="Channel 2" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,193,0,0"> |
735 | <GroupBox x:Name="groupBoxSerchan2" Header="Channel 2" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,193,0,0"> |
736 | <Grid Margin="0,0,-2,0.04"> |
736 | <Grid Margin="0,0,-2,0.04"> |
737 | <TextBox x:Name="textBoxSerial2" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel2 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial2_TextChanged"/> |
737 | <TextBox x:Name="textBoxSerial2" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel2 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial2_TextChanged"/> |
738 | <Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
738 | <Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
739 | <Label.Style> |
739 | <Label.Style> |
740 | <Style TargetType="{x:Type Label}"> |
740 | <Style TargetType="{x:Type Label}"> |
741 | <Style.Triggers> |
741 | <Style.Triggers> |
742 | <DataTrigger Binding="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
742 | <DataTrigger Binding="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
743 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan2ScaleSlider}"/> |
743 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan2ScaleSlider}"/> |
744 | </DataTrigger> |
744 | </DataTrigger> |
745 | </Style.Triggers> |
745 | </Style.Triggers> |
746 | </Style> |
746 | </Style> |
747 | </Label.Style> |
747 | </Label.Style> |
748 | </Label> |
748 | </Label> |
749 | <Slider x:Name="SerChan2ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan2ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
749 | <Slider x:Name="SerChan2ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="0.001" ValueChanged="SerChan2ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
750 | <Button x:Name="btnSer2_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_0_Click"/> |
750 | <Button x:Name="btnSer2_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_0_Click"/> |
751 | <Button x:Name="btnSer2_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_127_Click"/> |
751 | <Button x:Name="btnSer2_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_127_Click"/> |
752 | <Button x:Name="btnSer2_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_254_Click"/> |
752 | <Button x:Name="btnSer2_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_254_Click"/> |
753 | <TextBox x:Name="textBoxSerial2_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val1_TextChanged"/> |
753 | <TextBox x:Name="textBoxSerial2_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val1_TextChanged"/> |
754 | <TextBox x:Name="textBoxSerial2_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val2_TextChanged"/> |
754 | <TextBox x:Name="textBoxSerial2_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val2_TextChanged"/> |
755 | <TextBox x:Name="textBoxSerial2_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val3_TextChanged"/> |
755 | <TextBox x:Name="textBoxSerial2_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial2_val3_TextChanged"/> |
756 | <Button x:Name="btnSer2_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val1_Click"> |
756 | <Button x:Name="btnSer2_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val1_Click"> |
757 | <Button.Style> |
757 | <Button.Style> |
758 | <Style TargetType="{x:Type Button}"> |
758 | <Style TargetType="{x:Type Button}"> |
759 | <Style.Triggers> |
759 | <Style.Triggers> |
760 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
760 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
761 | </Style.Triggers> |
761 | </Style.Triggers> |
762 | </Style> |
762 | </Style> |
763 | </Button.Style> |
763 | </Button.Style> |
764 | </Button> |
764 | </Button> |
765 | <Button x:Name="btnSer2_val2" Content="{Binding Text, ElementName=textBoxSerial2_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val2_Click"> |
765 | <Button x:Name="btnSer2_val2" Content="{Binding Text, ElementName=textBoxSerial2_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val2_Click"> |
766 | <Button.Style> |
766 | <Button.Style> |
767 | <Style TargetType="{x:Type Button}"> |
767 | <Style TargetType="{x:Type Button}"> |
768 | <Style.Triggers> |
768 | <Style.Triggers> |
769 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val2}"/> |
769 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val2}"/> |
770 | </Style.Triggers> |
770 | </Style.Triggers> |
771 | </Style> |
771 | </Style> |
772 | </Button.Style> |
772 | </Button.Style> |
773 | </Button> |
773 | </Button> |
774 | <Button x:Name="btnSer2_val3" Content="{Binding Text, ElementName=textBoxSerial2_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val3_Click"> |
774 | <Button x:Name="btnSer2_val3" Content="{Binding Text, ElementName=textBoxSerial2_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer2_val3_Click"> |
775 | <Button.Style> |
775 | <Button.Style> |
776 | <Style TargetType="{x:Type Button}"> |
776 | <Style TargetType="{x:Type Button}"> |
777 | <Style.Triggers> |
777 | <Style.Triggers> |
778 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val3}"/> |
778 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val3}"/> |
779 | </Style.Triggers> |
779 | </Style.Triggers> |
780 | </Style> |
780 | </Style> |
781 | </Button.Style> |
781 | </Button.Style> |
782 | </Button> |
782 | </Button> |
783 | 783 | ||
784 | </Grid> |
784 | </Grid> |
785 | </GroupBox> |
785 | </GroupBox> |
786 | <GroupBox x:Name="groupBoxSerchan3" Header="Channel 3" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,391,0,0"> |
786 | <GroupBox x:Name="groupBoxSerchan3" Header="Channel 3" HorizontalAlignment="Left" Height="193" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5" Margin="0,391,0,0"> |
787 | <Grid Margin="0,0,-2,-12.96"> |
787 | <Grid Margin="0,0,-2,-12.96"> |
788 | <TextBox x:Name="textBoxSerial3" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel3 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial3_TextChanged"/> |
788 | <TextBox x:Name="textBoxSerial3" HorizontalAlignment="Left" Height="21" Margin="6,3,0,0" Text="SerialChannel3 description" VerticalAlignment="Top" Width="146" Background="{x:Null}" Foreground="White" UndoLimit="0" IsUndoEnabled="False" MaxLines="1" MaxLength="24" TextChanged="textBoxSerial3_TextChanged"/> |
789 | <Label x:Name="labelSerChan3" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
789 | <Label x:Name="labelSerChan3" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
790 | <Label.Style> |
790 | <Label.Style> |
791 | <Style TargetType="{x:Type Label}"> |
791 | <Style TargetType="{x:Type Label}"> |
792 | <Style.Triggers> |
792 | <Style.Triggers> |
793 | <DataTrigger Binding="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
793 | <DataTrigger Binding="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
794 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan3ScaleSlider}"/> |
794 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan3ScaleSlider}"/> |
795 | </DataTrigger> |
795 | </DataTrigger> |
796 | </Style.Triggers> |
796 | </Style.Triggers> |
797 | </Style> |
797 | </Style> |
798 | </Label.Style> |
798 | </Label.Style> |
799 | </Label> |
799 | </Label> |
800 | <Slider x:Name="SerChan3ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="1" ValueChanged="SerChan3ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
800 | <Slider x:Name="SerChan3ScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,29,0,0" VerticalAlignment="Top" Width="177" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" SmallChange="1" ValueChanged="SerChan3ScaleSlider_ValueChanged" IsSnapToTickEnabled="True"/> |
801 | <Button x:Name="btnSer3_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_0_Click"/> |
801 | <Button x:Name="btnSer3_0" Content="0" HorizontalAlignment="Left" Height="35" Margin="2,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_0_Click"/> |
802 | <Button x:Name="btnSer3_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_127_Click"/> |
802 | <Button x:Name="btnSer3_127" Content="127" HorizontalAlignment="Left" Height="35" Margin="62,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_127_Click"/> |
803 | <Button x:Name="btnSer3_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_254_Click"/> |
803 | <Button x:Name="btnSer3_254" Content="254" HorizontalAlignment="Left" Height="35" Margin="122,57,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_254_Click"/> |
804 | <TextBox x:Name="textBoxSerial3_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val1_TextChanged"/> |
804 | <TextBox x:Name="textBoxSerial3_val1" HorizontalAlignment="Left" Height="29" Margin="2,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val1_TextChanged"/> |
805 | <TextBox x:Name="textBoxSerial3_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val2_TextChanged"/> |
805 | <TextBox x:Name="textBoxSerial3_val2" HorizontalAlignment="Left" Height="29" Margin="62,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val2_TextChanged"/> |
806 | <TextBox x:Name="textBoxSerial3_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val3_TextChanged"/> |
806 | <TextBox x:Name="textBoxSerial3_val3" HorizontalAlignment="Left" Height="29" Margin="122,96,0,0" TextWrapping="Wrap" Text="0" VerticalAlignment="Top" Width="58" MaxLines="1" MaxLength="3" IsUndoEnabled="False" FontSize="14" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" KeyUp="textBox_serial_KeyPress" TextChanged="textBoxSerial3_val3_TextChanged"/> |
807 | <Button x:Name="btnSer3_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val1_Click"> |
807 | <Button x:Name="btnSer3_val1" Content="{Binding Text, ElementName=textBoxSerial2_val1}" HorizontalAlignment="Left" Height="35" Margin="2,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val1_Click"> |
808 | <Button.Style> |
808 | <Button.Style> |
809 | <Style TargetType="{x:Type Button}"> |
809 | <Style TargetType="{x:Type Button}"> |
810 | <Style.Triggers> |
810 | <Style.Triggers> |
811 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val1}"/> |
811 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val1}"/> |
812 | </Style.Triggers> |
812 | </Style.Triggers> |
813 | </Style> |
813 | </Style> |
814 | </Button.Style> |
814 | </Button.Style> |
815 | </Button> |
815 | </Button> |
816 | <Button x:Name="btnSer3_val2" Content="{Binding Text, ElementName=textBoxSerial3_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val2_Click"> |
816 | <Button x:Name="btnSer3_val2" Content="{Binding Text, ElementName=textBoxSerial3_val2}" HorizontalAlignment="Left" Height="35" Margin="62,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val2_Click"> |
817 | <Button.Style> |
817 | <Button.Style> |
818 | <Style TargetType="{x:Type Button}"> |
818 | <Style TargetType="{x:Type Button}"> |
819 | <Style.Triggers> |
819 | <Style.Triggers> |
820 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val2}"/> |
820 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val2}"/> |
821 | </Style.Triggers> |
821 | </Style.Triggers> |
822 | </Style> |
822 | </Style> |
823 | </Button.Style> |
823 | </Button.Style> |
824 | </Button> |
824 | </Button> |
825 | <Button x:Name="btnSer3_val3" Content="{Binding Text, ElementName=textBoxSerial3_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val3_Click"> |
825 | <Button x:Name="btnSer3_val3" Content="{Binding Text, ElementName=textBoxSerial3_val3}" HorizontalAlignment="Left" Height="35" Margin="122,128,0,0" VerticalAlignment="Top" Width="58" FontSize="14" Click="btnSer3_val3_Click"> |
826 | <Button.Style> |
826 | <Button.Style> |
827 | <Style TargetType="{x:Type Button}"> |
827 | <Style TargetType="{x:Type Button}"> |
828 | <Style.Triggers> |
828 | <Style.Triggers> |
829 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val3}"/> |
829 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val3}"/> |
830 | </Style.Triggers> |
830 | </Style.Triggers> |
831 | </Style> |
831 | </Style> |
832 | </Button.Style> |
832 | </Button.Style> |
833 | </Button> |
833 | </Button> |
834 | 834 | ||
835 | </Grid> |
835 | </Grid> |
836 | </GroupBox> |
836 | </GroupBox> |
837 | 837 | ||
838 | 838 | ||
839 | </Grid> |
839 | </Grid> |
840 | </TabItem> |
840 | </TabItem> |
841 | </TabControl> |
841 | </TabControl> |
842 | </Grid> |
842 | </Grid> |
843 | <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0" Visibility="Collapsed"> |
843 | <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0"> |
844 | <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="4,0,0,0"> |
844 | <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="4,0,0,0"> |
845 | <TabItem Header="General" Margin="0,0,5.849,0"> |
845 | <TabItem Header="General" Margin="0,0,5.849,0"> |
846 | <Grid x:Name="TabGridGeneral"> |
846 | <Grid x:Name="TabGridGeneral"> |
847 | <wpConverter:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
847 | <wpConverter:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
848 | <GroupBox x:Name="groupBox" Header="timings autoupdate (ms)" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="210" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14"> |
848 | <GroupBox x:Name="groupBox" Header="timings autoupdate (ms)" HorizontalAlignment="Left" Height="129" Margin="10,278,0,0" VerticalAlignment="Top" Width="210" Foreground="White" BorderThickness="0.5,0.5,0.4,0.4" FontSize="14"> |
849 | <Grid Margin="0,0,-12,-6"> |
849 | <Grid Margin="0,0,-12,-6"> |
850 | <Label x:Name="label" Content="debug values" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
850 | <Label x:Name="label" Content="debug values" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
851 | <Label x:Name="label_Copy" Content="Nav-Ctrl values" HorizontalAlignment="Left" Margin="4,36,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
851 | <Label x:Name="label_Copy" Content="Nav-Ctrl values" HorizontalAlignment="Left" Margin="4,36,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
852 | <Label x:Name="label_Copy1" Content="BL-Ctrl values" HorizontalAlignment="Left" Margin="4,59,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
852 | <Label x:Name="label_Copy1" Content="BL-Ctrl values" HorizontalAlignment="Left" Margin="4,59,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
853 | <Label x:Name="label_Copy2" Content="OSD values" HorizontalAlignment="Left" Margin="4,82,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
853 | <Label x:Name="label_Copy2" Content="OSD values" HorizontalAlignment="Left" Margin="4,82,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
854 | <ComboBox x:Name="cBoxTimingsDebug" HorizontalAlignment="Left" Height="23" Margin="105,10,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsDebug_DropDownClosed"/> |
854 | <ComboBox x:Name="cBoxTimingsDebug" HorizontalAlignment="Left" Height="23" Margin="105,10,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsDebug_DropDownClosed"/> |
855 | <ComboBox x:Name="cBoxTimingsNav" HorizontalAlignment="Left" Height="23" Margin="105,33,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsNav_DropDownClosed"/> |
855 | <ComboBox x:Name="cBoxTimingsNav" HorizontalAlignment="Left" Height="23" Margin="105,33,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsNav_DropDownClosed"/> |
856 | <ComboBox x:Name="cBoxTimingsBl" HorizontalAlignment="Left" Height="23" Margin="105,56,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsBl_DropDownClosed"/> |
856 | <ComboBox x:Name="cBoxTimingsBl" HorizontalAlignment="Left" Height="23" Margin="105,56,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsBl_DropDownClosed"/> |
857 | <ComboBox x:Name="cBoxTimingsOSD" HorizontalAlignment="Left" Height="23" Margin="105,79,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsOSD_DropDownClosed"/> |
857 | <ComboBox x:Name="cBoxTimingsOSD" HorizontalAlignment="Left" Height="23" Margin="105,79,0,0" VerticalAlignment="Top" Width="61" Padding="6,0,0,0" DropDownClosed="cBoxTimingsOSD_DropDownClosed"/> |
858 | <CheckBox x:Name="chkbAutoDbg" Content="" HorizontalAlignment="Left" Height="16" Margin="173,13,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoDbg_Click"/> |
858 | <CheckBox x:Name="chkbAutoDbg" Content="" HorizontalAlignment="Left" Height="16" Margin="173,13,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoDbg_Click"/> |
859 | <CheckBox x:Name="chkbAutoNav" Content="" HorizontalAlignment="Left" Height="16" Margin="173,36,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoNav_Click"/> |
859 | <CheckBox x:Name="chkbAutoNav" Content="" HorizontalAlignment="Left" Height="16" Margin="173,36,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoNav_Click"/> |
860 | <CheckBox x:Name="chkbAutoBL" Content="" HorizontalAlignment="Left" Height="16" Margin="173,59,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoBL_Click"/> |
860 | <CheckBox x:Name="chkbAutoBL" Content="" HorizontalAlignment="Left" Height="16" Margin="173,59,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoBL_Click"/> |
861 | <CheckBox x:Name="chkbAutoOSD" Content="" HorizontalAlignment="Left" Height="16" Margin="173,82,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoOSD_Click"/> |
861 | <CheckBox x:Name="chkbAutoOSD" Content="" HorizontalAlignment="Left" Height="16" Margin="173,82,0,0" VerticalAlignment="Top" Width="20" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" BorderThickness="2" FontSize="18" Padding="0" Click="chkbAutoOSD_Click"/> |
862 | <Label x:Name="label_Copy3" Content="LiPo Cells" HorizontalAlignment="Left" Margin="-6,121,0,-29.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63"/> |
862 | <Label x:Name="label_Copy3" Content="LiPo Cells" HorizontalAlignment="Left" Margin="-6,121,0,-29.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63"/> |
863 | <ComboBox x:Name="cBoxLiPoCells" HorizontalAlignment="Left" Height="23" Margin="57,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxLiPoCells_DropDownClosed"/> |
863 | <ComboBox x:Name="cBoxLiPoCells" HorizontalAlignment="Left" Height="23" Margin="57,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxLiPoCells_DropDownClosed"/> |
864 | <Label x:Name="label_Copy4" Content="Capacity" HorizontalAlignment="Left" Margin="4,150,0,-58.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63" Visibility="Hidden"/> |
864 | <Label x:Name="label_Copy4" Content="Capacity" HorizontalAlignment="Left" Margin="4,150,0,-58.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63" Visibility="Hidden"/> |
865 | <Label x:Name="label_Copy5" Content="Motors" HorizontalAlignment="Left" Margin="111,122,0,-30.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="51"/> |
865 | <Label x:Name="label_Copy5" Content="Motors" HorizontalAlignment="Left" Margin="111,122,0,-30.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="51"/> |
866 | <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="160,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed"/> |
866 | <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="160,120,0,-33.62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed"/> |
867 | </Grid> |
867 | </Grid> |
868 | </GroupBox> |
868 | </GroupBox> |
869 | <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/> |
869 | <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/> |
870 | <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="48,447,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}" Tag="{Binding ElementName=tbCtrl}" FontSize="16" Visibility="Hidden" Background="#FFF7ACAC" BorderBrush="Red"/> |
870 | <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="48,447,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" Style="{StaticResource HideSwitchNCButton}" Tag="{Binding ElementName=tbCtrl}" FontSize="16" Visibility="Hidden" Background="#FFF7ACAC" BorderBrush="Red"/> |
871 | </Grid> |
871 | </Grid> |
872 | </TabItem> |
872 | </TabItem> |
873 | <TabItem Header="Style" Margin="-6.849,0,-2.022,0"> |
873 | <TabItem Header="Style" Margin="-6.849,0,-2.022,0"> |
874 | <Grid x:Name="TabGridStyle"> |
874 | <Grid x:Name="TabGridStyle"> |
875 | <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/> |
875 | <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/> |
876 | <Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}"> |
876 | <Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}"> |
877 | <Label.Style> |
877 | <Label.Style> |
878 | <Style TargetType="{x:Type Label}"> |
878 | <Style TargetType="{x:Type Label}"> |
879 | <Style.Triggers> |
879 | <Style.Triggers> |
880 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleSlider}"> |
880 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleSlider}"> |
881 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleSlider}"/> |
881 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleSlider}"/> |
882 | </DataTrigger> |
882 | </DataTrigger> |
883 | </Style.Triggers> |
883 | </Style.Triggers> |
884 | </Style> |
884 | </Style> |
885 | </Label.Style> |
885 | </Label.Style> |
886 | </Label> |
886 | </Label> |
887 | <Slider x:Name="UIScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,28,0,0" VerticalAlignment="Top" Width="206" Maximum="2" Minimum="0.7" Value="1" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.01" SmallChange="0.001"/> |
887 | <Slider x:Name="UIScaleSlider" HorizontalAlignment="Left" Height="29" Margin="4,28,0,0" VerticalAlignment="Top" Width="206" Maximum="2" Minimum="0.7" Value="1" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.01" SmallChange="0.001"/> |
888 | <Slider x:Name="UIScaleTopSlider" HorizontalAlignment="Left" Height="16" Margin="9,74,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" ValueChanged="UIScaleTopSlider_ValueChanged" LargeChange="0.01" SmallChange="0.001"/> |
888 | <Slider x:Name="UIScaleTopSlider" HorizontalAlignment="Left" Height="16" Margin="9,74,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" ValueChanged="UIScaleTopSlider_ValueChanged" LargeChange="0.01" SmallChange="0.001"/> |
889 | <Label x:Name="label_Copy8" Content="Top bar scale" HorizontalAlignment="Left" Margin="14,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
889 | <Label x:Name="label_Copy8" Content="Top bar scale" HorizontalAlignment="Left" Margin="14,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
890 | <Label x:Name="labelTopBarScale" HorizontalAlignment="Left" Margin="95,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleTopSlider}"> |
890 | <Label x:Name="labelTopBarScale" HorizontalAlignment="Left" Margin="95,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleTopSlider}"> |
891 | <Label.Style> |
891 | <Label.Style> |
892 | <Style TargetType="{x:Type Label}"> |
892 | <Style TargetType="{x:Type Label}"> |
893 | <Style.Triggers> |
893 | <Style.Triggers> |
894 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleTopSlider}"> |
894 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleTopSlider}"> |
895 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleTopSlider}"/> |
895 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleTopSlider}"/> |
896 | </DataTrigger> |
896 | </DataTrigger> |
897 | </Style.Triggers> |
897 | </Style.Triggers> |
898 | </Style> |
898 | </Style> |
899 | </Label.Style> |
899 | </Label.Style> |
900 | </Label> |
900 | </Label> |
901 | <Slider x:Name="UIScaleMotorsSlider" HorizontalAlignment="Left" Height="16" Margin="9,112,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
901 | <Slider x:Name="UIScaleMotorsSlider" HorizontalAlignment="Left" Height="16" Margin="9,112,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
902 | <Label x:Name="label_Copy9" Content="Motors scale" HorizontalAlignment="Left" Margin="14,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
902 | <Label x:Name="label_Copy9" Content="Motors scale" HorizontalAlignment="Left" Margin="14,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
903 | <Label x:Name="labelMotorsScale" HorizontalAlignment="Left" Margin="95,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
903 | <Label x:Name="labelMotorsScale" HorizontalAlignment="Left" Margin="95,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
904 | <Label.Style> |
904 | <Label.Style> |
905 | <Style TargetType="{x:Type Label}"> |
905 | <Style TargetType="{x:Type Label}"> |
906 | <Style.Triggers> |
906 | <Style.Triggers> |
907 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
907 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
908 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleMotorsSlider}"/> |
908 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleMotorsSlider}"/> |
909 | </DataTrigger> |
909 | </DataTrigger> |
910 | </Style.Triggers> |
910 | </Style.Triggers> |
911 | </Style> |
911 | </Style> |
912 | </Label.Style> |
912 | </Label.Style> |
913 | </Label> |
913 | </Label> |
914 | <Slider x:Name="UIScaleOSDSlider" HorizontalAlignment="Left" Height="16" Margin="9,148,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
914 | <Slider x:Name="UIScaleOSDSlider" HorizontalAlignment="Left" Height="16" Margin="9,148,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
915 | <Label x:Name="label_Copy10" Content="OSD scale" HorizontalAlignment="Left" Margin="14,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
915 | <Label x:Name="label_Copy10" Content="OSD scale" HorizontalAlignment="Left" Margin="14,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
916 | <Label x:Name="labelOSDScale" HorizontalAlignment="Left" Margin="95,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleOSDSlider}"> |
916 | <Label x:Name="labelOSDScale" HorizontalAlignment="Left" Margin="95,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleOSDSlider}"> |
917 | <Label.Style> |
917 | <Label.Style> |
918 | <Style TargetType="{x:Type Label}"> |
918 | <Style TargetType="{x:Type Label}"> |
919 | <Style.Triggers> |
919 | <Style.Triggers> |
920 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleOSDSlider}"> |
920 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleOSDSlider}"> |
921 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleOSDSlider}"/> |
921 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleOSDSlider}"/> |
922 | </DataTrigger> |
922 | </DataTrigger> |
923 | </Style.Triggers> |
923 | </Style.Triggers> |
924 | </Style> |
924 | </Style> |
925 | </Label.Style> |
925 | </Label.Style> |
926 | </Label> |
926 | </Label> |
927 | <Slider x:Name="UIScaleLOGSlider" HorizontalAlignment="Left" Height="16" Margin="9,184,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
927 | <Slider x:Name="UIScaleLOGSlider" HorizontalAlignment="Left" Height="16" Margin="9,184,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
928 | <Label x:Name="label_Copy11" Content="LOG scale" HorizontalAlignment="Left" Margin="14,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
928 | <Label x:Name="label_Copy11" Content="LOG scale" HorizontalAlignment="Left" Margin="14,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
929 | <Label x:Name="labelLOGScale" HorizontalAlignment="Left" Margin="95,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleLOGSlider}"> |
929 | <Label x:Name="labelLOGScale" HorizontalAlignment="Left" Margin="95,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleLOGSlider}"> |
930 | <Label.Style> |
930 | <Label.Style> |
931 | <Style TargetType="{x:Type Label}"> |
931 | <Style TargetType="{x:Type Label}"> |
932 | <Style.Triggers> |
932 | <Style.Triggers> |
933 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleLOGSlider}"> |
933 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleLOGSlider}"> |
934 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleLOGSlider}"/> |
934 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleLOGSlider}"/> |
935 | </DataTrigger> |
935 | </DataTrigger> |
936 | </Style.Triggers> |
936 | </Style.Triggers> |
937 | </Style> |
937 | </Style> |
938 | </Label.Style> |
938 | </Label.Style> |
939 | </Label> |
939 | </Label> |
940 | <Slider x:Name="UIScaleHorizonSlider" HorizontalAlignment="Left" Height="16" Margin="9,220,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
940 | <Slider x:Name="UIScaleHorizonSlider" HorizontalAlignment="Left" Height="16" Margin="9,220,0,0" VerticalAlignment="Top" Width="207" Value="1" Maximum="2" Minimum="0.5" LargeChange="0.01" SmallChange="0.001"/> |
941 | <Label x:Name="label_Copy12" Content="Horizon scale" HorizontalAlignment="Left" Margin="14,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
941 | <Label x:Name="label_Copy12" Content="Horizon scale" HorizontalAlignment="Left" Margin="14,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
942 | <Label x:Name="labelHorizonScale" HorizontalAlignment="Left" Margin="95,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
942 | <Label x:Name="labelHorizonScale" HorizontalAlignment="Left" Margin="95,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
943 | <Label.Style> |
943 | <Label.Style> |
944 | <Style TargetType="{x:Type Label}"> |
944 | <Style TargetType="{x:Type Label}"> |
945 | <Style.Triggers> |
945 | <Style.Triggers> |
946 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
946 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
947 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleHorizonSlider}"/> |
947 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleHorizonSlider}"/> |
948 | </DataTrigger> |
948 | </DataTrigger> |
949 | </Style.Triggers> |
949 | </Style.Triggers> |
950 | </Style> |
950 | </Style> |
951 | </Label.Style> |
951 | </Label.Style> |
952 | </Label> |
952 | </Label> |
953 | <Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,248,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/> |
953 | <Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="14,248,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/> |
954 | <GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,323,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top"> |
954 | <GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,323,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top"> |
955 | <Grid Margin="0,0,0,0"> |
955 | <Grid Margin="0,0,0,0"> |
956 | <CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
956 | <CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
957 | <CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
957 | <CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
958 | <CheckBox x:Name="chkBoxTopBarShowCurrent" Content="Current" Foreground="White" Margin="10,42,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
958 | <CheckBox x:Name="chkBoxTopBarShowCurrent" Content="Current" Foreground="White" Margin="10,42,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
959 | <CheckBox x:Name="chkBoxTopBarShowFlightTime" Content="FlightTime" Foreground="White" Margin="10,58,82,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
959 | <CheckBox x:Name="chkBoxTopBarShowFlightTime" Content="FlightTime" Foreground="White" Margin="10,58,82,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
960 | <CheckBox x:Name="chkBoxTopBarShowDistanceHP" Content="Distance Home" Foreground="White" Margin="10,75,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
960 | <CheckBox x:Name="chkBoxTopBarShowDistanceHP" Content="Distance Home" Foreground="White" Margin="10,75,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
961 | <CheckBox x:Name="chkBoxTopBarShowHeight" Content="Height" Foreground="White" Margin="10,92,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
961 | <CheckBox x:Name="chkBoxTopBarShowHeight" Content="Height" Foreground="White" Margin="10,92,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
962 | <CheckBox x:Name="chkBoxTopBarShowSpeed" Content="GroundSpeed" Foreground="White" Margin="10,108,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
962 | <CheckBox x:Name="chkBoxTopBarShowSpeed" Content="GroundSpeed" Foreground="White" Margin="10,108,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
963 | <CheckBox x:Name="chkBoxTopBarShowMF" Content="Magnetic field" Foreground="White" Margin="10,124,70,-2" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
963 | <CheckBox x:Name="chkBoxTopBarShowMF" Content="Magnetic field" Foreground="White" Margin="10,124,70,-2" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
964 | <CheckBox x:Name="chkBoxTopBarShowSatellites" Content="Satellites" Foreground="White" Margin="10,141,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
964 | <CheckBox x:Name="chkBoxTopBarShowSatellites" Content="Satellites" Foreground="White" Margin="10,141,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
965 | <CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
965 | <CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
966 | </Grid> |
966 | </Grid> |
967 | </GroupBox> |
967 | </GroupBox> |
968 | <CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,529,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
968 | <CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="14,529,64,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
969 | <CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen
scalings" Foreground="White" Margin="119,285,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" /> |
969 | <CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen
scalings" Foreground="White" Margin="119,285,0,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" /> |
970 | <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,285,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
970 | <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="6,285,106,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
971 | </Grid> |
971 | </Grid> |
972 | </TabItem> |
972 | </TabItem> |
973 | <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="1.022,0,-4,0"> |
973 | <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="1.022,0,-4,0"> |
974 | <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
974 | <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
975 | <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,480,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/> |
975 | <CheckBox x:Name="checkBoxFollowCopter" Content="follow copter" HorizontalAlignment="Left" Margin="8,480,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" Click="checkBoxFollowCopter_Click" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered"/> |
976 | <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,402,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/> |
976 | <CheckBox x:Name="checkBoxAutoSetHP" Content="auto set HP" HorizontalAlignment="Left" Margin="92,402,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="set HP automatically with first satfix" Click="checkBoxAutoSetHP_Click"/> |
977 | <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/> |
977 | <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/> |
978 | <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/> |
978 | <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/> |
979 | <Button Height="27" Margin="0,127,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="71" Content="Reload"/> |
979 | <Button Height="27" Margin="0,127,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="71" Content="Reload"/> |
980 | <TextBox Margin="6,78,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
980 | <TextBox Margin="6,78,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
981 | <TextBox Margin="6,102,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
981 | <TextBox Margin="6,102,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
982 | <Button Height="27" HorizontalAlignment="Left" Margin="6,127,0,0" x:Name="buttonGeoLoc" VerticalAlignment="Top" Width="63" Click="buttonGeoLoc_Click" Content="Go To!"/> |
982 | <Button Height="27" HorizontalAlignment="Left" Margin="6,127,0,0" x:Name="buttonGeoLoc" VerticalAlignment="Top" Width="63" Click="buttonGeoLoc_Click" Content="Go To!"/> |
983 | <Label Height="23" HorizontalAlignment="Right" Margin="0,78,4,0" x:Name="label2" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
983 | <Label Height="23" HorizontalAlignment="Right" Margin="0,78,4,0" x:Name="label2" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
984 | <Label Height="29" HorizontalAlignment="Right" Margin="0,99,4,0" x:Name="label3" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
984 | <Label Height="29" HorizontalAlignment="Right" Margin="0,99,4,0" x:Name="label3" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
985 | 985 | ||
986 | 986 | ||
987 | <ComboBox FontSize="12" Margin="6,174,10,0" x:Name="comboBoxMapType" Height="25" VerticalAlignment="Top" SelectedItem="{Binding MapProvider, ElementName=MainMap}"/> |
987 | <ComboBox FontSize="12" Margin="6,174,10,0" x:Name="comboBoxMapType" Height="25" VerticalAlignment="Top" SelectedItem="{Binding MapProvider, ElementName=MainMap}"/> |
988 | <Label HorizontalAlignment="Right" Margin="0,151,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="Map provider"/> |
988 | <Label HorizontalAlignment="Right" Margin="0,151,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="Map provider"/> |
989 | <ComboBox FontSize="12" Height="25" Margin="6,218,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" /> |
989 | <ComboBox FontSize="12" Height="25" Margin="6,218,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" /> |
990 | <Label Height="32" HorizontalAlignment="Right" Margin="0,194,128,0" x:Name="label5" VerticalAlignment="Top" Width="91" Foreground="White" Content="Caching Mode"/> |
990 | <Label Height="32" HorizontalAlignment="Right" Margin="0,194,128,0" x:Name="label5" VerticalAlignment="Top" Width="91" Foreground="White" Content="Caching Mode"/> |
991 | <Button x:Name="buttonPrefetch" Content="Prefetch cache" HorizontalAlignment="Left" Margin="6,245,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonPrefetch_Click"/> |
991 | <Button x:Name="buttonPrefetch" Content="Prefetch cache" HorizontalAlignment="Left" Margin="6,245,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonPrefetch_Click"/> |
992 | <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="Geocoding location"/> |
992 | <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="Geocoding location"/> |
993 | <TextBox Margin="6,349,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" /> |
993 | <TextBox Margin="6,349,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" /> |
994 | <TextBox Margin="6,373,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" /> |
994 | <TextBox Margin="6,373,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" /> |
995 | <Label Height="23" HorizontalAlignment="Right" Margin="0,349,4,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
995 | <Label Height="23" HorizontalAlignment="Right" Margin="0,349,4,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
996 | <Label Height="29" HorizontalAlignment="Right" Margin="0,370,4,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
996 | <Label Height="29" HorizontalAlignment="Right" Margin="0,370,4,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
997 | <Label HorizontalAlignment="Right" Margin="0,325,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="Current position" Height="28" VerticalAlignment="Top"/> |
997 | <Label HorizontalAlignment="Right" Margin="0,325,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="Current position" Height="28" VerticalAlignment="Top"/> |
998 | <Slider x:Name="sliderMapZoom" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Margin="10,303,0,0" Width="206" Maximum="24" SmallChange="1" Value="0" IsSnapToTickEnabled="True" ValueChanged="sliderMapZoom_ValueChanged" Height="29" VerticalAlignment="Top"/> |
998 | <Slider x:Name="sliderMapZoom" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Margin="10,303,0,0" Width="206" Maximum="24" SmallChange="1" Value="0" IsSnapToTickEnabled="True" ValueChanged="sliderMapZoom_ValueChanged" Height="29" VerticalAlignment="Top"/> |
999 | <Label Height="23" HorizontalAlignment="Right" Margin="0,275,139,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="Zoomlevel"/> |
999 | <Label Height="23" HorizontalAlignment="Right" Margin="0,275,139,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="Zoomlevel"/> |
1000 | <Label Height="23" HorizontalAlignment="Right" Margin="0,275,101,0" x:Name="labelZoom" VerticalAlignment="Top" Width="49" VerticalContentAlignment="Center" Foreground="White" Content="{Binding Value, ElementName=sliderMapZoom}" HorizontalContentAlignment="Center"/> |
1000 | <Label Height="23" HorizontalAlignment="Right" Margin="0,275,101,0" x:Name="labelZoom" VerticalAlignment="Top" Width="49" VerticalContentAlignment="Center" Foreground="White" Content="{Binding Value, ElementName=sliderMapZoom}" HorizontalContentAlignment="Center"/> |
1001 | <Button x:Name="btnSetHP" Content="set Home" Margin="7,400,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top"/> |
1001 | <Button x:Name="btnSetHP" Content="set Home" Margin="7,400,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top"/> |
1002 | <Button x:Name="btnClearHP" Content="clear Home" Margin="7,424,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6"/> |
1002 | <Button x:Name="btnClearHP" Content="clear Home" Margin="7,424,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6"/> |
1003 | <Button x:Name="btnGotoHP" Content="goto Home" Margin="92,424,54,0" Click="btnGotoHP_Click" Height="25" VerticalAlignment="Top"/> |
1003 | <Button x:Name="btnGotoHP" Content="goto Home" Margin="92,424,54,0" Click="btnGotoHP_Click" Height="25" VerticalAlignment="Top"/> |
1004 | <CheckBox x:Name="checkBoxGPXLog" Content="GPX-Log" HorizontalAlignment="Left" Margin="8,457,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered" Click="checkBoxGPXLog_Click"/> |
1004 | <CheckBox x:Name="checkBoxGPXLog" Content="GPX-Log" HorizontalAlignment="Left" Margin="8,457,0,0" Width="107" RenderTransformOrigin="0.783,27.263" Foreground="White" FontSize="14" VerticalContentAlignment="Center" Height="20" VerticalAlignment="Top" ToolTip="the map follows the copter - the copter is always centered" Click="checkBoxGPXLog_Click"/> |
1005 | <Rectangle HorizontalAlignment="Left" Width="72" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="128,454,0,0" Height="39" VerticalAlignment="Top"> |
1005 | <Rectangle HorizontalAlignment="Left" Width="72" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="128,454,0,0" Height="39" VerticalAlignment="Top"> |
1006 | <Rectangle.Style> |
1006 | <Rectangle.Style> |
1007 | <Style TargetType="{x:Type Rectangle}"> |
1007 | <Style TargetType="{x:Type Rectangle}"> |
1008 | <Style.Triggers> |
1008 | <Style.Triggers> |
1009 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadGPXLog}" Value="True"> |
1009 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadGPXLog}" Value="True"> |
1010 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1010 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1011 | </DataTrigger> |
1011 | </DataTrigger> |
1012 | </Style.Triggers> |
1012 | </Style.Triggers> |
1013 | </Style> |
1013 | </Style> |
1014 | </Rectangle.Style> |
1014 | </Rectangle.Style> |
1015 | </Rectangle> |
1015 | </Rectangle> |
1016 | <Button x:Name="btnLoadGPXLog" Content="" HorizontalAlignment="Left" Margin="131,455,0,0" Width="67" ToolTip="load GPX-log from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnLoadGPXLog_Click" Height="36" VerticalAlignment="Top"> |
1016 | <Button x:Name="btnLoadGPXLog" Content="" HorizontalAlignment="Left" Margin="131,455,0,0" Width="67" ToolTip="load GPX-log from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnLoadGPXLog_Click" Height="36" VerticalAlignment="Top"> |
1017 | <Button.Background> |
1017 | <Button.Background> |
1018 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
1018 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
1019 | </Button.Background> |
1019 | </Button.Background> |
1020 | </Button> |
1020 | </Button> |
1021 | <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,488,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/> |
1021 | <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,488,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/> |
1022 | <Button x:Name="btnClearRoute" Content="clear route" Margin="127,511,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/> |
1022 | <Button x:Name="btnClearRoute" Content="clear route" Margin="127,511,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/> |
1023 | </Grid> |
1023 | </Grid> |
1024 | </TabItem> |
1024 | </TabItem> |
1025 | <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="70"> |
1025 | <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="70"> |
1026 | <Grid> |
1026 | <Grid> |
1027 | <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1027 | <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="109" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1028 | <Grid Margin="0,0,-6,-3.96"> |
1028 | <Grid Margin="0,0,-6,-3.96"> |
1029 | <Slider x:Name="sliderThresholdVoltageCrit" HorizontalAlignment="Left" Height="23" Margin="10,65,0,0" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
1029 | <Slider x:Name="sliderThresholdVoltageCrit" HorizontalAlignment="Left" Height="23" Margin="10,65,0,0" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
1030 | <Label x:Name="labelThresholdVoltageCrit" HorizontalAlignment="Left" Margin="86,41,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
1030 | <Label x:Name="labelThresholdVoltageCrit" HorizontalAlignment="Left" Margin="86,41,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
1031 | <Label.Style> |
1031 | <Label.Style> |
1032 | <Style TargetType="{x:Type Label}"> |
1032 | <Style TargetType="{x:Type Label}"> |
1033 | <Style.Triggers> |
1033 | <Style.Triggers> |
1034 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
1034 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
1035 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageCrit}"/> |
1035 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageCrit}"/> |
1036 | </DataTrigger> |
1036 | </DataTrigger> |
1037 | </Style.Triggers> |
1037 | </Style.Triggers> |
1038 | </Style> |
1038 | </Style> |
1039 | </Label.Style> |
1039 | </Label.Style> |
1040 | </Label> |
1040 | </Label> |
1041 | <Label x:Name="labelThresholdVoltageCrit_Copy" Content="critical" HorizontalAlignment="Left" Margin="8,41,0,0" VerticalAlignment="Top" Foreground="White"/> |
1041 | <Label x:Name="labelThresholdVoltageCrit_Copy" Content="critical" HorizontalAlignment="Left" Margin="8,41,0,0" VerticalAlignment="Top" Foreground="White"/> |
1042 | <Slider x:Name="sliderThresholdVoltageWarn" HorizontalAlignment="Left" Height="23" Margin="10,22,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdVoltageWarn_ValueChanged" Maximum="30" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
1042 | <Slider x:Name="sliderThresholdVoltageWarn" HorizontalAlignment="Left" Height="23" Margin="10,22,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdVoltageWarn_ValueChanged" Maximum="30" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
1043 | <Label x:Name="labelThresholdVoltageWarn" HorizontalAlignment="Left" Margin="86,-2,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
1043 | <Label x:Name="labelThresholdVoltageWarn" HorizontalAlignment="Left" Margin="86,-2,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
1044 | <Label.Style> |
1044 | <Label.Style> |
1045 | <Style TargetType="{x:Type Label}"> |
1045 | <Style TargetType="{x:Type Label}"> |
1046 | <Style.Triggers> |
1046 | <Style.Triggers> |
1047 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
1047 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
1048 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageWarn}"/> |
1048 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageWarn}"/> |
1049 | </DataTrigger> |
1049 | </DataTrigger> |
1050 | </Style.Triggers> |
1050 | </Style.Triggers> |
1051 | </Style> |
1051 | </Style> |
1052 | </Label.Style> |
1052 | </Label.Style> |
1053 | </Label> |
1053 | </Label> |
1054 | <Label x:Name="labelThresholdVoltageCrit_Copy2" Content="warning" HorizontalAlignment="Left" Margin="8,-2,0,0" VerticalAlignment="Top" Foreground="White"/> |
1054 | <Label x:Name="labelThresholdVoltageCrit_Copy2" Content="warning" HorizontalAlignment="Left" Margin="8,-2,0,0" VerticalAlignment="Top" Foreground="White"/> |
1055 | 1055 | ||
1056 | </Grid> |
1056 | </Grid> |
1057 | </GroupBox> |
1057 | </GroupBox> |
1058 | <GroupBox x:Name="groupBox2_Copy1" Header="Voice output" HorizontalAlignment="Left" Height="132" Margin="10,221,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1058 | <GroupBox x:Name="groupBox2_Copy1" Header="Voice output" HorizontalAlignment="Left" Height="132" Margin="10,221,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1059 | <Grid Margin="0,0,-6,-3.96"> |
1059 | <Grid Margin="0,0,-6,-3.96"> |
1060 | <CheckBox x:Name="checkBoxSatfixLost" Content="SatFix lost" HorizontalAlignment="Left" Height="16" Margin="10,48,0,0" VerticalAlignment="Top" Width="90" Foreground="#FFFFFEFE" Click="checkBoxSatfixLost_Click"/> |
1060 | <CheckBox x:Name="checkBoxSatfixLost" Content="SatFix lost" HorizontalAlignment="Left" Height="16" Margin="10,48,0,0" VerticalAlignment="Top" Width="90" Foreground="#FFFFFEFE" Click="checkBoxSatfixLost_Click"/> |
1061 | <CheckBox x:Name="checkBoxMagneticField" Content="Magnetic field level" HorizontalAlignment="Left" Height="16" Margin="10,69,0,0" VerticalAlignment="Top" Width="131" Foreground="#FFFFFEFE" Click="checkBoxMagneticField_Click"/> |
1061 | <CheckBox x:Name="checkBoxMagneticField" Content="Magnetic field level" HorizontalAlignment="Left" Height="16" Margin="10,69,0,0" VerticalAlignment="Top" Width="131" Foreground="#FFFFFEFE" Click="checkBoxMagneticField_Click"/> |
1062 | <CheckBox x:Name="checkBoxRClevel" Content="RC level" HorizontalAlignment="Left" Height="16" Margin="10,90,0,0" VerticalAlignment="Top" Width="131" Foreground="#FFFFFEFE" Click="checkBoxRClevel_Click"/> |
1062 | <CheckBox x:Name="checkBoxRClevel" Content="RC level" HorizontalAlignment="Left" Height="16" Margin="10,90,0,0" VerticalAlignment="Top" Width="131" Foreground="#FFFFFEFE" Click="checkBoxRClevel_Click"/> |
1063 | <CheckBox x:Name="checkBoxThresholdDistanceVoice" Content="Distance HP" HorizontalAlignment="Left" Height="16" Margin="10,27,0,0" VerticalAlignment="Top" Width="90" Foreground="#FFFFFEFE" Click="checkBoxThresholdDistanceVoice_Click"/> |
1063 | <CheckBox x:Name="checkBoxThresholdDistanceVoice" Content="Distance HP" HorizontalAlignment="Left" Height="16" Margin="10,27,0,0" VerticalAlignment="Top" Width="90" Foreground="#FFFFFEFE" Click="checkBoxThresholdDistanceVoice_Click"/> |
1064 | <CheckBox x:Name="checkBoxThresholdVoltageVoice" Content="Battery voltage" HorizontalAlignment="Left" Height="16" Margin="10,6,0,0" VerticalAlignment="Top" Width="112" Foreground="#FFFFFEFE" Click="checkBoxThresholdVoltageVoice_Click"/> |
1064 | <CheckBox x:Name="checkBoxThresholdVoltageVoice" Content="Battery voltage" HorizontalAlignment="Left" Height="16" Margin="10,6,0,0" VerticalAlignment="Top" Width="112" Foreground="#FFFFFEFE" Click="checkBoxThresholdVoltageVoice_Click"/> |
1065 | </Grid> |
1065 | </Grid> |
1066 | </GroupBox> |
1066 | </GroupBox> |
1067 | <GroupBox x:Name="grpBox" Header="Distance HP" HorizontalAlignment="Left" Height="71" Margin="10,118,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1067 | <GroupBox x:Name="grpBox" Header="Distance HP" HorizontalAlignment="Left" Height="71" Margin="10,118,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
1068 | <Grid Margin="0,0,-6,-3.96"> |
1068 | <Grid Margin="0,0,-6,-3.96"> |
1069 | <Slider x:Name="sliderThresholdDistanceWarn" HorizontalAlignment="Left" Height="23" Margin="10,27,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdDistanceWarn_ValueChanged" Maximum="1000" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="100"/> |
1069 | <Slider x:Name="sliderThresholdDistanceWarn" HorizontalAlignment="Left" Height="23" Margin="10,27,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdDistanceWarn_ValueChanged" Maximum="1000" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="100"/> |
1070 | <Label x:Name="labelThresholdDistanceWarn" HorizontalAlignment="Left" Margin="86,3,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
1070 | <Label x:Name="labelThresholdDistanceWarn" HorizontalAlignment="Left" Margin="86,3,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
1071 | <Label.Style> |
1071 | <Label.Style> |
1072 | <Style TargetType="{x:Type Label}"> |
1072 | <Style TargetType="{x:Type Label}"> |
1073 | <Style.Triggers> |
1073 | <Style.Triggers> |
1074 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
1074 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
1075 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdDistanceWarn}"/> |
1075 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdDistanceWarn}"/> |
1076 | </DataTrigger> |
1076 | </DataTrigger> |
1077 | </Style.Triggers> |
1077 | </Style.Triggers> |
1078 | </Style> |
1078 | </Style> |
1079 | </Label.Style> |
1079 | </Label.Style> |
1080 | </Label> |
1080 | </Label> |
1081 | 1081 | ||
1082 | </Grid> |
1082 | </Grid> |
1083 | </GroupBox> |
1083 | </GroupBox> |
1084 | </Grid> |
1084 | </Grid> |
1085 | </TabItem> |
1085 | </TabItem> |
1086 | <TabItem Header="Map elements style" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="118" Margin="-19,0,0,0"> |
1086 | <TabItem Header="Map elements style" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="118" Margin="-19,0,0,0"> |
1087 | <Grid> |
1087 | <Grid> |
1088 | <Border Margin="0,10,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="222" Height="263" VerticalAlignment="Top"> |
1088 | <Border Margin="0,10,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="222" Height="263" VerticalAlignment="Top"> |
1089 | <Grid Margin="-0.5,-0.5,-0.5,1.5"> |
1089 | <Grid Margin="-0.5,-0.5,-0.5,1.5"> |
1090 | <ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Top" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,117,0"> |
1090 | <ComboBox x:Name="comboBoxFSColor" Height="33" VerticalAlignment="Top" SelectedIndex="0" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxFSColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,117,0"> |
1091 | <ComboBoxItem Content="red"/> |
1091 | <ComboBoxItem Content="red"/> |
1092 | <ComboBoxItem Content="green"/> |
1092 | <ComboBoxItem Content="green"/> |
1093 | <ComboBoxItem Content="blue"/> |
1093 | <ComboBoxItem Content="blue"/> |
1094 | <ComboBoxItem Content="yellow"/> |
1094 | <ComboBoxItem Content="yellow"/> |
1095 | <ComboBoxItem Content="pink"/> |
1095 | <ComboBoxItem Content="pink"/> |
1096 | </ComboBox> |
1096 | </ComboBox> |
1097 | <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,137,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1097 | <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,137,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1098 | <ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,99,117,0" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
1098 | <ComboBox x:Name="comboBoxWPColor" Height="33" Margin="0,99,117,0" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxWPColor_DropDownClosed" HorizontalAlignment="Right" Width="95"> |
1099 | <ComboBoxItem Content="red"/> |
1099 | <ComboBoxItem Content="red"/> |
1100 | <ComboBoxItem Content="green"/> |
1100 | <ComboBoxItem Content="green"/> |
1101 | <ComboBoxItem Content="blue"/> |
1101 | <ComboBoxItem Content="blue"/> |
1102 | <ComboBoxItem Content="yellow"/> |
1102 | <ComboBoxItem Content="yellow"/> |
1103 | <ComboBoxItem Content="pink"/> |
1103 | <ComboBoxItem Content="pink"/> |
1104 | </ComboBox> |
1104 | </ComboBox> |
1105 | <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,75,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1105 | <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,75,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1106 | <ComboBox x:Name="comboBoxPOIColor" Margin="0,99,12,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top"> |
1106 | <ComboBox x:Name="comboBoxPOIColor" Margin="0,99,12,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxPOIColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top"> |
1107 | <ComboBoxItem Content="red"/> |
1107 | <ComboBoxItem Content="red"/> |
1108 | <ComboBoxItem Content="green"/> |
1108 | <ComboBoxItem Content="green"/> |
1109 | <ComboBoxItem Content="blue"/> |
1109 | <ComboBoxItem Content="blue"/> |
1110 | <ComboBoxItem Content="yellow"/> |
1110 | <ComboBoxItem Content="yellow"/> |
1111 | <ComboBoxItem Content="pink"/> |
1111 | <ComboBoxItem Content="pink"/> |
1112 | </ComboBox> |
1112 | </ComboBox> |
1113 | <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,75,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1113 | <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,75,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1114 | <ComboBox x:Name="comboBoxCopterColor" Margin="0,29,117,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
1114 | <ComboBox x:Name="comboBoxCopterColor" Margin="0,29,117,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterColor_DropDownClosed"> |
1115 | <ComboBoxItem Content="red"/> |
1115 | <ComboBoxItem Content="red"/> |
1116 | <ComboBoxItem Content="green"/> |
1116 | <ComboBoxItem Content="green"/> |
1117 | <ComboBoxItem Content="blue"/> |
1117 | <ComboBoxItem Content="blue"/> |
1118 | <ComboBoxItem Content="yellow"/> |
1118 | <ComboBoxItem Content="yellow"/> |
1119 | <ComboBoxItem Content="pink"/> |
1119 | <ComboBoxItem Content="pink"/> |
1120 | </ComboBox> |
1120 | </ComboBox> |
1121 | <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,3,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1121 | <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,3,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1122 | <ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Top" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,221,117,0" DropDownClosed="comboBoxRouteColor_DropDownClosed"> |
1122 | <ComboBox x:Name="comboBoxRouteColor" Height="33" VerticalAlignment="Top" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,221,117,0" DropDownClosed="comboBoxRouteColor_DropDownClosed"> |
1123 | <ComboBoxItem Content="red"/> |
1123 | <ComboBoxItem Content="red"/> |
1124 | <ComboBoxItem Content="green"/> |
1124 | <ComboBoxItem Content="green"/> |
1125 | <ComboBoxItem Content="blue"/> |
1125 | <ComboBoxItem Content="blue"/> |
1126 | <ComboBoxItem Content="yellow"/> |
1126 | <ComboBoxItem Content="yellow"/> |
1127 | <ComboBoxItem Content="pink"/> |
1127 | <ComboBoxItem Content="pink"/> |
1128 | </ComboBox> |
1128 | </ComboBox> |
1129 | <Label x:Name="label4_Copy10" Content="Route color" HorizontalAlignment="Right" Margin="0,195,133,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1129 | <Label x:Name="label4_Copy10" Content="Route color" HorizontalAlignment="Right" Margin="0,195,133,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
1130 | <ComboBox x:Name="comboBoxLandingColor" Height="33" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxLandingColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,12,0"> |
1130 | <ComboBox x:Name="comboBoxLandingColor" Height="33" VerticalAlignment="Top" SelectedIndex="2" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxLandingColor_DropDownClosed" HorizontalAlignment="Right" Width="95" Margin="0,161,12,0"> |
1131 | <ComboBoxItem Content="red"/> |
1131 | <ComboBoxItem Content="red"/> |
1132 | <ComboBoxItem Content="green"/> |
1132 | <ComboBoxItem Content="green"/> |
1133 | <ComboBoxItem Content="blue"/> |
1133 | <ComboBoxItem Content="blue"/> |
1134 | <ComboBoxItem Content="yellow"/> |
1134 | <ComboBoxItem Content="yellow"/> |
1135 | <ComboBoxItem Content="pink"/> |
1135 | <ComboBoxItem Content="pink"/> |
1136 | </ComboBox> |
1136 | </ComboBox> |
1137 | <Label x:Name="label4_Copy31" Content="Landing color" HorizontalAlignment="Right" Margin="0,137,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
1137 | <Label x:Name="label4_Copy31" Content="Landing color" HorizontalAlignment="Right" Margin="0,137,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
1138 | <ComboBox x:Name="comboBoxCopterHeadingColor" Margin="0,29,11,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterHeadingColor_DropDownClosed"> |
1138 | <ComboBox x:Name="comboBoxCopterHeadingColor" Margin="0,29,11,0" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Height="33" VerticalAlignment="Top" DropDownClosed="comboBoxCopterHeadingColor_DropDownClosed"> |
1139 | <ComboBoxItem Content="red"/> |
1139 | <ComboBoxItem Content="red"/> |
1140 | <ComboBoxItem Content="green"/> |
1140 | <ComboBoxItem Content="green"/> |
1141 | <ComboBoxItem Content="blue"/> |
1141 | <ComboBoxItem Content="blue"/> |
1142 | <ComboBoxItem Content="yellow"/> |
1142 | <ComboBoxItem Content="yellow"/> |
1143 | <ComboBoxItem Content="pink"/> |
1143 | <ComboBoxItem Content="pink"/> |
1144 | </ComboBox> |
1144 | </ComboBox> |
1145 | <Label x:Name="label4_Copy33" Content="Heading color" HorizontalAlignment="Right" Margin="0,3,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
1145 | <Label x:Name="label4_Copy33" Content="Heading color" HorizontalAlignment="Right" Margin="0,3,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
- | 1146 | <ComboBox x:Name="comboBoxWPMaxRangeColor" Height="33" VerticalAlignment="Top" SelectedIndex="4" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="16" HorizontalAlignment="Right" Width="95" Margin="0,221,11,0" DropDownClosed="comboBoxWPMaxRangeColor_DropDownClosed"> |
|
- | 1147 | <ComboBoxItem Content="red"/> |
|
- | 1148 | <ComboBoxItem Content="green"/> |
|
- | 1149 | <ComboBoxItem Content="blue"/> |
|
- | 1150 | <ComboBoxItem Content="yellow"/> |
|
- | 1151 | <ComboBoxItem Content="pink"/> |
|
- | 1152 | </ComboBox> |
|
- | 1153 | <Label x:Name="label4_Copy39" Content="max range color" HorizontalAlignment="Right" Margin="0,195,10,0" VerticalAlignment="Top" Width="97" Foreground="White"/> |
|
1146 | 1154 | ||
1147 | </Grid> |
1155 | </Grid> |
1148 | </Border> |
1156 | </Border> |
1149 | 1157 | ||
1150 | </Grid> |
1158 | </Grid> |
1151 | </TabItem> |
1159 | </TabItem> |
1152 | </TabControl> |
1160 | </TabControl> |
1153 | </Grid> |
1161 | </Grid> |
1154 | <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden"> |
1162 | <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden"> |
1155 | <Border.BorderBrush> |
1163 | <Border.BorderBrush> |
1156 | <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
1164 | <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
1157 | <GradientStop Color="#FF9DCAF9" Offset="0"/> |
1165 | <GradientStop Color="#FF9DCAF9" Offset="0"/> |
1158 | <GradientStop Color="#FF004385" Offset="1"/> |
1166 | <GradientStop Color="#FF004385" Offset="1"/> |
1159 | </LinearGradientBrush> |
1167 | </LinearGradientBrush> |
1160 | </Border.BorderBrush> |
1168 | </Border.BorderBrush> |
1161 | </Border> |
1169 | </Border> |
1162 | <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-22,-29" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, Converter={StaticResource BooleanToVisibility}, ElementName=chkBoxShowHorizon}"> |
1170 | <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-22,-29" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, Converter={StaticResource BooleanToVisibility}, ElementName=chkBoxShowHorizon}"> |
1163 | <ArtificialHorizon:ArtificialHorizon.RenderTransform> |
1171 | <ArtificialHorizon:ArtificialHorizon.RenderTransform> |
1164 | <ScaleTransform |
1172 | <ScaleTransform |
1165 | CenterX="136" |
1173 | CenterX="136" |
1166 | CenterY="117" |
1174 | CenterY="117" |
1167 | ScaleX="{Binding Value, ElementName=UIScaleHorizonSlider}" |
1175 | ScaleX="{Binding Value, ElementName=UIScaleHorizonSlider}" |
1168 | ScaleY="{Binding Value, ElementName=UIScaleHorizonSlider}" |
1176 | ScaleY="{Binding Value, ElementName=UIScaleHorizonSlider}" |
1169 | /> |
1177 | /> |
1170 | </ArtificialHorizon:ArtificialHorizon.RenderTransform> |
1178 | </ArtificialHorizon:ArtificialHorizon.RenderTransform> |
1171 | </ArtificialHorizon:ArtificialHorizon> |
1179 | </ArtificialHorizon:ArtificialHorizon> |
1172 | <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="518"> |
1180 | <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="518"> |
1173 | <Grid.LayoutTransform> |
1181 | <Grid.LayoutTransform> |
1174 | <ScaleTransform |
1182 | <ScaleTransform |
1175 | CenterX="0" |
1183 | CenterX="0" |
1176 | CenterY="0" |
1184 | CenterY="0" |
1177 | ScaleX="{Binding Value, ElementName=UIScaleLOGSlider}" |
1185 | ScaleX="{Binding Value, ElementName=UIScaleLOGSlider}" |
1178 | ScaleY="{Binding Value, ElementName=UIScaleLOGSlider}" |
1186 | ScaleY="{Binding Value, ElementName=UIScaleLOGSlider}" |
1179 | /> |
1187 | /> |
1180 | </Grid.LayoutTransform> |
1188 | </Grid.LayoutTransform> |
1181 | <RichTextBox x:Name="rtfError" Height="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="232" Margin="0,0,4,2" IsDocumentEnabled="True" AllowDrop="False" AcceptsReturn="False" IsReadOnly="True" IsUndoEnabled="False" UndoLimit="0" /> |
1189 | <RichTextBox x:Name="rtfError" Height="60" VerticalAlignment="Bottom" HorizontalAlignment="Right" Width="232" Margin="0,0,4,2" IsDocumentEnabled="True" AllowDrop="False" AcceptsReturn="False" IsReadOnly="True" IsUndoEnabled="False" UndoLimit="0" /> |
1182 | <RichTextBox x:Name="rtfTerminal" Margin="0,0,239,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" /> |
1190 | <RichTextBox x:Name="rtfTerminal" Margin="0,0,239,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" /> |
1183 | </Grid> |
1191 | </Grid> |
1184 | <Grid x:Name="GridMotors" Margin="0,38,25,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden"> |
1192 | <Grid x:Name="GridMotors" Margin="0,38,25,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden"> |
1185 | <Grid.LayoutTransform> |
1193 | <Grid.LayoutTransform> |
1186 | <ScaleTransform |
1194 | <ScaleTransform |
1187 | CenterX="0" |
1195 | CenterX="0" |
1188 | CenterY="0" |
1196 | CenterY="0" |
1189 | ScaleX="{Binding Value, ElementName=UIScaleMotorsSlider}" |
1197 | ScaleX="{Binding Value, ElementName=UIScaleMotorsSlider}" |
1190 | ScaleY="{Binding Value, ElementName=UIScaleMotorsSlider}" |
1198 | ScaleY="{Binding Value, ElementName=UIScaleMotorsSlider}" |
1191 | /> |
1199 | /> |
1192 | </Grid.LayoutTransform> |
1200 | </Grid.LayoutTransform> |
1193 | <DataGrid x:Name="dgvMotors1" HorizontalAlignment="Left" Height="272" Margin="1,3,-6,0" VerticalAlignment="Top" Width="137" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" IsReadOnly="True" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}"/> |
1201 | <DataGrid x:Name="dgvMotors1" HorizontalAlignment="Left" Height="272" Margin="1,3,-6,0" VerticalAlignment="Top" Width="137" ItemsSource="{Binding}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" FontSize="14" IsReadOnly="True" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}"/> |
1194 | <!--<DataGrid x:Name="dgvMotors2" HorizontalAlignment="Left" Height="116" Margin="137,6,0,0" VerticalAlignment="Top" Width="129" ItemsSource="{Binding}" IsReadOnly="True" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="14" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}" Visibility="Collapsed"/>--> |
1202 | <!--<DataGrid x:Name="dgvMotors2" HorizontalAlignment="Left" Height="116" Margin="137,6,0,0" VerticalAlignment="Top" Width="129" ItemsSource="{Binding}" IsReadOnly="True" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" FontSize="14" Background="{x:Null}" HorizontalGridLinesBrush="#FF688CAF" VerticalGridLinesBrush="#FF688CAF" HeadersVisibility="Column" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Disabled" BorderBrush="{x:Null}" Visibility="Collapsed"/>--> |
1195 | </Grid> |
1203 | </Grid> |
1196 | <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden"> |
1204 | <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden"> |
1197 | <Grid.LayoutTransform> |
1205 | <Grid.LayoutTransform> |
1198 | <ScaleTransform |
1206 | <ScaleTransform |
1199 | CenterX="0" |
1207 | CenterX="0" |
1200 | CenterY="0" |
1208 | CenterY="0" |
1201 | ScaleX="{Binding Value, ElementName=UIScaleOSDSlider}" |
1209 | ScaleX="{Binding Value, ElementName=UIScaleOSDSlider}" |
1202 | ScaleY="{Binding Value, ElementName=UIScaleOSDSlider}" |
1210 | ScaleY="{Binding Value, ElementName=UIScaleOSDSlider}" |
1203 | /> |
1211 | /> |
1204 | </Grid.LayoutTransform> |
1212 | </Grid.LayoutTransform> |
1205 | <RichTextBox x:Name="rtfOSD" Height="83" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" Margin="10,5,0,0" FontFamily="Consolas" FontSize="16" /> |
1213 | <RichTextBox x:Name="rtfOSD" Height="83" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" Margin="10,5,0,0" FontFamily="Consolas" FontSize="16" /> |
1206 | <ComboBox x:Name="cbOSD" HorizontalAlignment="Left" Margin="203,96,0,0" VerticalAlignment="Top" Width="47" Height="27" DropDownClosed="cbOSD_DropDownClosing"/> |
1214 | <ComboBox x:Name="cbOSD" HorizontalAlignment="Left" Margin="203,96,0,0" VerticalAlignment="Top" Width="47" Height="27" DropDownClosed="cbOSD_DropDownClosing"/> |
1207 | <Button x:Name="btnOSDBackward" Content="Å" HorizontalAlignment="Left" Height="34" Margin="203,44,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDBackward_Click"/> |
1215 | <Button x:Name="btnOSDBackward" Content="Å" HorizontalAlignment="Left" Height="34" Margin="203,44,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDBackward_Click"/> |
1208 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
1216 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
1209 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
1217 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
1210 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
1218 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
1211 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
1219 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
1212 | </Grid> |
1220 | </Grid> |
1213 | <Label x:Name="lblSimu" Content="Simulation active" Height="22" Margin="0,36,24,0" VerticalAlignment="Top" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Padding="0" FontFamily="Arial" BorderBrush="#FFF9A40F" BorderThickness="2" Foreground="Black" HorizontalAlignment="Right" Width="135" Visibility="Collapsed"> |
1221 | <Label x:Name="lblSimu" Content="Simulation active" Height="22" Margin="0,36,24,0" VerticalAlignment="Top" FontSize="16" VerticalContentAlignment="Center" HorizontalContentAlignment="Center" Padding="0" FontFamily="Arial" BorderBrush="#FFF9A40F" BorderThickness="2" Foreground="Black" HorizontalAlignment="Right" Width="135" Visibility="Collapsed"> |
1214 | <Label.Background> |
1222 | <Label.Background> |
1215 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
1223 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
1216 | <GradientStop Color="#FFFFD8C6"/> |
1224 | <GradientStop Color="#FFFFD8C6"/> |
1217 | <GradientStop Color="#FFFFD29B" Offset="0.18"/> |
1225 | <GradientStop Color="#FFFFD29B" Offset="0.18"/> |
1218 | <GradientStop Color="#FFFFD07F" Offset="0.391"/> |
1226 | <GradientStop Color="#FFFFD07F" Offset="0.391"/> |
1219 | <GradientStop Color="#FFFFA261" Offset="1"/> |
1227 | <GradientStop Color="#FFFFA261" Offset="1"/> |
1220 | </LinearGradientBrush> |
1228 | </LinearGradientBrush> |
1221 | </Label.Background> |
1229 | </Label.Background> |
1222 | </Label> |
1230 | </Label> |
1223 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Collapsed"> |
1231 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="526" VerticalAlignment="Top" Visibility="Collapsed"> |
1224 | <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" Visibility="Hidden"/> |
1232 | <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" Visibility="Hidden"/> |
1225 | <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" Visibility="Hidden"/> |
1233 | <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" Visibility="Hidden"/> |
1226 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
1234 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
1227 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
1235 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
1228 | <Border Margin="5,458,0,1" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="577"> |
1236 | <Border Margin="5,458,0,1" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="577"> |
1229 | <Grid Margin="0,0,-1,4"> |
1237 | <Grid Margin="0,0,-1,4"> |
1230 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="104,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1238 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="104,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1231 | <Rectangle.Style> |
1239 | <Rectangle.Style> |
1232 | <Style TargetType="{x:Type Rectangle}"> |
1240 | <Style TargetType="{x:Type Rectangle}"> |
1233 | <Style.Triggers> |
1241 | <Style.Triggers> |
1234 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True"> |
1242 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True"> |
1235 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1243 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1236 | </DataTrigger> |
1244 | </DataTrigger> |
1237 | </Style.Triggers> |
1245 | </Style.Triggers> |
1238 | </Style> |
1246 | </Style> |
1239 | </Rectangle.Style> |
1247 | </Rectangle.Style> |
1240 | </Rectangle> |
1248 | </Rectangle> |
1241 | <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="105,0,0,0" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1249 | <Button x:Name="btnGetWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="105,0,0,0" VerticalAlignment="Bottom" Width="92" Click="btnGetWP_Click" ToolTip="Download WP-list from copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1242 | <Button.Background> |
1250 | <Button.Background> |
1243 | <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform"/> |
1251 | <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform"/> |
1244 | </Button.Background> |
1252 | </Button.Background> |
1245 | </Button> |
1253 | </Button> |
1246 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1254 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1247 | <Rectangle.Style> |
1255 | <Rectangle.Style> |
1248 | <Style TargetType="{x:Type Rectangle}"> |
1256 | <Style TargetType="{x:Type Rectangle}"> |
1249 | <Style.Triggers> |
1257 | <Style.Triggers> |
1250 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True"> |
1258 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True"> |
1251 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1259 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1252 | </DataTrigger> |
1260 | </DataTrigger> |
1253 | </Style.Triggers> |
1261 | </Style.Triggers> |
1254 | </Style> |
1262 | </Style> |
1255 | </Rectangle.Style> |
1263 | </Rectangle.Style> |
1256 | </Rectangle> |
1264 | </Rectangle> |
1257 | <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="6,0,0,0" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1265 | <Button x:Name="btnSendWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="6,0,0,0" VerticalAlignment="Bottom" Width="92" ToolTip="Upload WP-list to copter" BorderBrush="#FFBDBDBD" Click="btnSendWPList_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1258 | <Button.Background> |
1266 | <Button.Background> |
1259 | <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform"/> |
1267 | <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform"/> |
1260 | </Button.Background> |
1268 | </Button.Background> |
1261 | </Button> |
1269 | </Button> |
1262 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1270 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1263 | <Rectangle.Style> |
1271 | <Rectangle.Style> |
1264 | <Style TargetType="{x:Type Rectangle}"> |
1272 | <Style TargetType="{x:Type Rectangle}"> |
1265 | <Style.Triggers> |
1273 | <Style.Triggers> |
1266 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True"> |
1274 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True"> |
1267 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1275 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1268 | </DataTrigger> |
1276 | </DataTrigger> |
1269 | </Style.Triggers> |
1277 | </Style.Triggers> |
1270 | </Style> |
1278 | </Style> |
1271 | </Rectangle.Style> |
1279 | </Rectangle.Style> |
1272 | </Rectangle> |
1280 | </Rectangle> |
1273 | <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="221,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1281 | <Button x:Name="btnLoadWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="221,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="load wp-list from file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnLoadWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1274 | <Button.Background> |
1282 | <Button.Background> |
1275 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
1283 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
1276 | </Button.Background> |
1284 | </Button.Background> |
1277 | </Button> |
1285 | </Button> |
1278 | <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="99,0,0,36" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/> |
1286 | <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="99,0,0,36" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/> |
1279 | <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="2,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/> |
1287 | <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="2,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/> |
1280 | <Label x:Name="label4_Copy7" Content="load file" HorizontalAlignment="Left" Margin="218,0,0,35" VerticalAlignment="Bottom" Width="62" Foreground="White"/> |
1288 | <Label x:Name="label4_Copy7" Content="load file" HorizontalAlignment="Left" Margin="218,0,0,35" VerticalAlignment="Bottom" Width="62" Foreground="White"/> |
1281 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="377,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1289 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="377,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1282 | <Rectangle.Style> |
1290 | <Rectangle.Style> |
1283 | <Style TargetType="{x:Type Rectangle}"> |
1291 | <Style TargetType="{x:Type Rectangle}"> |
1284 | <Style.Triggers> |
1292 | <Style.Triggers> |
1285 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True"> |
1293 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True"> |
1286 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1294 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1287 | </DataTrigger> |
1295 | </DataTrigger> |
1288 | </Style.Triggers> |
1296 | </Style.Triggers> |
1289 | </Style> |
1297 | </Style> |
1290 | </Rectangle.Style> |
1298 | </Rectangle.Style> |
1291 | </Rectangle> |
1299 | </Rectangle> |
1292 | <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="377,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="clear all items from the local WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click"> |
1300 | <Button x:Name="btnClearWPList" Content="" HorizontalAlignment="Left" Height="36" Margin="377,0,0,1" VerticalAlignment="Bottom" Width="94" ToolTip="clear all items from the local WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearWPList_Click"> |
1293 | <Button.Background> |
1301 | <Button.Background> |
1294 | <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
1302 | <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
1295 | </Button.Background> |
1303 | </Button.Background> |
1296 | </Button> |
1304 | </Button> |
1297 | <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="373,0,0,35" VerticalAlignment="Bottom" Width="93" Foreground="White"/> |
1305 | <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="373,0,0,35" VerticalAlignment="Bottom" Width="93" Foreground="White"/> |
1298 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="476,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1306 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="476,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1299 | <Rectangle.Style> |
1307 | <Rectangle.Style> |
1300 | <Style TargetType="{x:Type Rectangle}"> |
1308 | <Style TargetType="{x:Type Rectangle}"> |
1301 | <Style.Triggers> |
1309 | <Style.Triggers> |
1302 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True"> |
1310 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True"> |
1303 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1311 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1304 | </DataTrigger> |
1312 | </DataTrigger> |
1305 | </Style.Triggers> |
1313 | </Style.Triggers> |
1306 | </Style> |
1314 | </Style> |
1307 | </Rectangle.Style> |
1315 | </Rectangle.Style> |
1308 | </Rectangle> |
1316 | </Rectangle> |
1309 | <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="478,0,0,1" VerticalAlignment="Bottom" Width="92" ToolTip="clear all items from the WP list in the copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click"> |
1317 | <Button x:Name="btnClearCopterList" Content="" HorizontalAlignment="Left" Height="36" Margin="478,0,0,1" VerticalAlignment="Bottom" Width="92" ToolTip="clear all items from the WP list in the copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnClearCopterList_Click"> |
1310 | <Button.Background> |
1318 | <Button.Background> |
1311 | <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
1319 | <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
1312 | </Button.Background> |
1320 | </Button.Background> |
1313 | </Button> |
1321 | </Button> |
1314 | <Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="472,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/> |
1322 | <Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="472,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/> |
1315 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="293,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1323 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="293,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
1316 | <Rectangle.Style> |
1324 | <Rectangle.Style> |
1317 | <Style TargetType="{x:Type Rectangle}"> |
1325 | <Style TargetType="{x:Type Rectangle}"> |
1318 | <Style.Triggers> |
1326 | <Style.Triggers> |
1319 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True"> |
1327 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True"> |
1320 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1328 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1321 | </DataTrigger> |
1329 | </DataTrigger> |
1322 | </Style.Triggers> |
1330 | </Style.Triggers> |
1323 | </Style> |
1331 | </Style> |
1324 | </Rectangle.Style> |
1332 | </Rectangle.Style> |
1325 | </Rectangle> |
1333 | </Rectangle> |
1326 | <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="293,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1334 | <Button x:Name="btnSaveWPLFile" Content="" HorizontalAlignment="Left" Height="37" Margin="293,0,0,0" VerticalAlignment="Bottom" Width="68" ToolTip="save list to *.wpl file" BorderBrush="#FFBDBDBD" HorizontalContentAlignment="Center" Click="btnSaveWPLFile_Click" Style="{DynamicResource ButtonWithoutEffectStyle}"> |
1327 | <Button.Background> |
1335 | <Button.Background> |
1328 | <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/> |
1336 | <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/> |
1329 | </Button.Background> |
1337 | </Button.Background> |
1330 | </Button> |
1338 | </Button> |
1331 | <Label x:Name="label4_Copy13" Content="save file" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="71" Foreground="White"/> |
1339 | <Label x:Name="label4_Copy13" Content="save file" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="71" Foreground="White"/> |
1332 | </Grid> |
1340 | </Grid> |
1333 | </Border> |
1341 | </Border> |
1334 | <Border Margin="6,338,0,73" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="822"> |
1342 | <Border Margin="6,338,0,73" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="822"> |
1335 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1343 | <Grid Margin="-0.5,-0.5,-0.5,4.5"> |
1336 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="6,24,0,0" VerticalAlignment="Top" Width="66"> |
1344 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="6,24,0,0" VerticalAlignment="Top" Width="66"> |
1337 | <ComboBoxItem Content="WP"/> |
1345 | <ComboBoxItem Content="WP"/> |
1338 | <ComboBoxItem Content="POI"/> |
1346 | <ComboBoxItem Content="POI"/> |
1339 | <ComboBoxItem Content="Failsafe"/> |
1347 | <ComboBoxItem Content="Failsafe"/> |
1340 | <ComboBoxItem Content="Landing"/> |
1348 | <ComboBoxItem Content="Landing"/> |
1341 | </ComboBox> |
1349 | </ComboBox> |
1342 | <Label x:Name="label4a" Content="Type" HorizontalAlignment="Left" Margin="7,6,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1350 | <Label x:Name="label4a" Content="Type" HorizontalAlignment="Left" Margin="7,6,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1343 | <Label x:Name="label4b" Content="Prefix" HorizontalAlignment="Left" Margin="77,6,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1351 | <Label x:Name="label4b" Content="Prefix" HorizontalAlignment="Left" Margin="77,6,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1344 | <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="77,24,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False"/> |
1352 | <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="77,24,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False"/> |
1345 | <Label x:Name="label4_Copy16" Content="Latitude" HorizontalAlignment="Left" Margin="111,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1353 | <Label x:Name="label4_Copy16" Content="Latitude" HorizontalAlignment="Left" Margin="111,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1346 | <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="111,24,0,0" VerticalAlignment="Top" Width="76" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" /> |
1354 | <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="111,24,0,0" VerticalAlignment="Top" Width="76" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True" /> |
1347 | <Label x:Name="label4_Copy17" Content="Longitude" HorizontalAlignment="Left" Margin="192,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1355 | <Label x:Name="label4_Copy17" Content="Longitude" HorizontalAlignment="Left" Margin="192,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1348 | <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="192,24,0,0" VerticalAlignment="Top" Width="76" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1356 | <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="192,24,0,0" VerticalAlignment="Top" Width="76" IsUndoEnabled="False" MaxLines="1" MaxLength="10" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1349 | <Label x:Name="label4_Copy18" Content="Altitude" HorizontalAlignment="Left" Margin="273,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1357 | <Label x:Name="label4_Copy18" Content="Altitude" HorizontalAlignment="Left" Margin="273,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1350 | <TextBox x:Name="tbWPEditAlt" HorizontalAlignment="Left" Height="22" Margin="273,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1358 | <TextBox x:Name="tbWPEditAlt" HorizontalAlignment="Left" Height="22" Margin="273,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1351 | <Label x:Name="label4_Copy19" Content="Heading" HorizontalAlignment="Left" Margin="320,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1359 | <Label x:Name="label4_Copy19" Content="Heading" HorizontalAlignment="Left" Margin="320,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1352 | <TextBox x:Name="tbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="320,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1360 | <TextBox x:Name="tbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="320,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="7" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1353 | <Label x:Name="label4_Copy20" Content="Speed" HorizontalAlignment="Left" Margin="394,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1361 | <Label x:Name="label4_Copy20" Content="Speed" HorizontalAlignment="Left" Margin="394,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1354 | <TextBox x:Name="tbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="394,24,0,0" VerticalAlignment="Top" Width="65" IsUndoEnabled="False" MaxLines="1" MaxLength="6" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1362 | <TextBox x:Name="tbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="394,24,0,0" VerticalAlignment="Top" Width="65" IsUndoEnabled="False" MaxLines="1" MaxLength="6" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1355 | <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="394,51,0,0" VerticalAlignment="Top" Width="65"> |
1363 | <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="394,51,0,0" VerticalAlignment="Top" Width="65"> |
1356 | <ComboBoxItem Content="MAX"/> |
1364 | <ComboBoxItem Content="MAX"/> |
1357 | <ComboBoxItem Content="m/s"/> |
1365 | <ComboBoxItem Content="m/s"/> |
1358 | <ComboBoxItem Content="Poti 1"/> |
1366 | <ComboBoxItem Content="Poti 1"/> |
1359 | <ComboBoxItem Content="Poti 2"/> |
1367 | <ComboBoxItem Content="Poti 2"/> |
1360 | <ComboBoxItem Content="Poti 3"/> |
1368 | <ComboBoxItem Content="Poti 3"/> |
1361 | <ComboBoxItem Content="Poti 4"/> |
1369 | <ComboBoxItem Content="Poti 4"/> |
1362 | <ComboBoxItem Content="Poti 5"/> |
1370 | <ComboBoxItem Content="Poti 5"/> |
1363 | <ComboBoxItem Content="Poti 6"/> |
1371 | <ComboBoxItem Content="Poti 6"/> |
1364 | <ComboBoxItem Content="Poti 7"/> |
1372 | <ComboBoxItem Content="Poti 7"/> |
1365 | <ComboBoxItem Content="Poti 8"/> |
1373 | <ComboBoxItem Content="Poti 8"/> |
1366 | </ComboBox> |
1374 | </ComboBox> |
1367 | <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="320,51,0,0" VerticalAlignment="Top" Width="69"> |
1375 | <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="320,51,0,0" VerticalAlignment="Top" Width="69"> |
1368 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
1376 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
1369 | <ComboBoxItem Content="WP/POI"/> |
1377 | <ComboBoxItem Content="WP/POI"/> |
1370 | <ComboBoxItem Content="degree"/> |
1378 | <ComboBoxItem Content="degree"/> |
1371 | </ComboBox> |
1379 | </ComboBox> |
1372 | <Label x:Name="label4_Copy21" Content="Climbrate" HorizontalAlignment="Left" Margin="464,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1380 | <Label x:Name="label4_Copy21" Content="Climbrate" HorizontalAlignment="Left" Margin="464,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1373 | <TextBox x:Name="tbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="464,24,0,0" VerticalAlignment="Top" Width="61" IsUndoEnabled="False" MaxLines="1" MaxLength="4" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1381 | <TextBox x:Name="tbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="464,24,0,0" VerticalAlignment="Top" Width="61" IsUndoEnabled="False" MaxLines="1" MaxLength="4" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1374 | <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="464,51,0,0" VerticalAlignment="Top" Width="61"> |
1382 | <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="464,51,0,0" VerticalAlignment="Top" Width="61"> |
1375 | <ComboBoxItem Content="AUTO"/> |
1383 | <ComboBoxItem Content="AUTO"/> |
1376 | <ComboBoxItem Content="m/s"/> |
1384 | <ComboBoxItem Content="m/s"/> |
1377 | </ComboBox> |
1385 | </ComboBox> |
1378 | <Label x:Name="label4_Copy22" Content="Radius" HorizontalAlignment="Left" Margin="530,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1386 | <Label x:Name="label4_Copy22" Content="Radius" HorizontalAlignment="Left" Margin="530,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1379 | <TextBox x:Name="tbWPEditRadius" HorizontalAlignment="Left" Height="22" Margin="530,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="3" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1387 | <TextBox x:Name="tbWPEditRadius" HorizontalAlignment="Left" Height="22" Margin="530,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="3" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1380 | <Label x:Name="label4_Copy23" Content="Holdtime" HorizontalAlignment="Left" Margin="577,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1388 | <Label x:Name="label4_Copy23" Content="Holdtime" HorizontalAlignment="Left" Margin="577,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1381 | <TextBox x:Name="tbWPEditHoldtime" HorizontalAlignment="Left" Height="22" Margin="577,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1389 | <TextBox x:Name="tbWPEditHoldtime" HorizontalAlignment="Left" Height="22" Margin="577,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1382 | <Label x:Name="label4_Copy24" Content="AutoTrig" HorizontalAlignment="Left" Margin="631,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1390 | <Label x:Name="label4_Copy24" Content="AutoTrig" HorizontalAlignment="Left" Margin="631,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1383 | <TextBox x:Name="tbWPEditAutoTrigger" HorizontalAlignment="Left" Height="22" Margin="631,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1391 | <TextBox x:Name="tbWPEditAutoTrigger" HorizontalAlignment="Left" Height="22" Margin="631,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1384 | <Label x:Name="label4_Copy25" Content="CamAngle" HorizontalAlignment="Left" Margin="684,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1392 | <Label x:Name="label4_Copy25" Content="CamAngle" HorizontalAlignment="Left" Margin="684,6,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1385 | <TextBox x:Name="tbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="684,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1393 | <TextBox x:Name="tbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="684,24,0,0" VerticalAlignment="Top" Width="69" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1386 | <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="684,51,0,0" VerticalAlignment="Top" Width="69"> |
1394 | <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="684,51,0,0" VerticalAlignment="Top" Width="69"> |
1387 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
1395 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
1388 | <ComboBoxItem Content="AUTO"/> |
1396 | <ComboBoxItem Content="AUTO"/> |
1389 | <ComboBoxItem Content="degree"/> |
1397 | <ComboBoxItem Content="degree"/> |
1390 | </ComboBox> |
1398 | </ComboBox> |
1391 | <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="758,6,-4,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1399 | <Label x:Name="label4_Copy26" Content="Out1Timer" HorizontalAlignment="Left" Margin="758,6,-4,0" Width="63" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
1392 | <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="758,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1400 | <TextBox x:Name="tbWPEditOut1" HorizontalAlignment="Left" Height="22" Margin="758,24,0,0" VerticalAlignment="Top" Width="42" IsUndoEnabled="False" MaxLines="1" MaxLength="2" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" TouchDown="tbWPEdit_TouchDown" KeyDown="tbWPEdit_KeyDown" PreviewMouseLeftButtonDown="tbWPEdit_MouseDown" IsTabStop="False" IsReadOnly="True"/> |
1393 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1401 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1394 | <Rectangle.Style> |
1402 | <Rectangle.Style> |
1395 | <Style TargetType="{x:Type Rectangle}"> |
1403 | <Style TargetType="{x:Type Rectangle}"> |
1396 | <Style.Triggers> |
1404 | <Style.Triggers> |
1397 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True"> |
1405 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True"> |
1398 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1406 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1399 | </DataTrigger> |
1407 | </DataTrigger> |
1400 | </Style.Triggers> |
1408 | </Style.Triggers> |
1401 | </Style> |
1409 | </Style> |
1402 | </Rectangle.Style> |
1410 | </Rectangle.Style> |
1403 | </Rectangle> |
1411 | </Rectangle> |
1404 | <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="36" Margin="8,0,0,-1" VerticalAlignment="Bottom" Width="80" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click"> |
1412 | <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="36" Margin="8,0,0,-1" VerticalAlignment="Bottom" Width="80" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click"> |
1405 | <Button.Background> |
1413 | <Button.Background> |
1406 | <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/> |
1414 | <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/> |
1407 | </Button.Background> |
1415 | </Button.Background> |
1408 | </Button> |
1416 | </Button> |
1409 | <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="5,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1417 | <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="5,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1410 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="92,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1418 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="92,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1411 | <Rectangle.Style> |
1419 | <Rectangle.Style> |
1412 | <Style TargetType="{x:Type Rectangle}"> |
1420 | <Style TargetType="{x:Type Rectangle}"> |
1413 | <Style.Triggers> |
1421 | <Style.Triggers> |
1414 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True"> |
1422 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True"> |
1415 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1423 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1416 | </DataTrigger> |
1424 | </DataTrigger> |
1417 | </Style.Triggers> |
1425 | </Style.Triggers> |
1418 | </Style> |
1426 | </Style> |
1419 | </Rectangle.Style> |
1427 | </Rectangle.Style> |
1420 | </Rectangle> |
1428 | </Rectangle> |
1421 | <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="36" Margin="92,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click"> |
1429 | <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="36" Margin="92,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click"> |
1422 | <Button.Background> |
1430 | <Button.Background> |
1423 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
1431 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
1424 | </Button.Background> |
1432 | </Button.Background> |
1425 | </Button> |
1433 | </Button> |
1426 | <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="92,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1434 | <Label x:Name="label4_Copy30" Content="delete WP" HorizontalAlignment="Left" Margin="92,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1427 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="562,0,0,-2" Height="40" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
1435 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="562,0,0,-2" Height="40" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
1428 | <Rectangle.Style> |
1436 | <Rectangle.Style> |
1429 | <Style TargetType="{x:Type Rectangle}"> |
1437 | <Style TargetType="{x:Type Rectangle}"> |
1430 | <Style.Triggers> |
1438 | <Style.Triggers> |
1431 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
1439 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
1432 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1440 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1433 | </DataTrigger> |
1441 | </DataTrigger> |
1434 | </Style.Triggers> |
1442 | </Style.Triggers> |
1435 | </Style> |
1443 | </Style> |
1436 | </Rectangle.Style> |
1444 | </Rectangle.Style> |
1437 | </Rectangle> |
1445 | </Rectangle> |
1438 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="563,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
1446 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="36" Margin="563,0,0,-1" VerticalAlignment="Bottom" Width="93" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
1439 | <Button.Background> |
1447 | <Button.Background> |
1440 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
1448 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
1441 | </Button.Background> |
1449 | </Button.Background> |
1442 | </Button> |
1450 | </Button> |
1443 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="560,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1451 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="560,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1444 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="190,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1452 | <Rectangle HorizontalAlignment="Left" Width="81" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="190,0,0,-2" Height="40" VerticalAlignment="Bottom"> |
1445 | <Rectangle.Style> |
1453 | <Rectangle.Style> |
1446 | <Style TargetType="{x:Type Rectangle}"> |
1454 | <Style TargetType="{x:Type Rectangle}"> |
1447 | <Style.Triggers> |
1455 | <Style.Triggers> |
1448 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True"> |
1456 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True"> |
1449 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1457 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1450 | </DataTrigger> |
1458 | </DataTrigger> |
1451 | </Style.Triggers> |
1459 | </Style.Triggers> |
1452 | </Style> |
1460 | </Style> |
1453 | </Rectangle.Style> |
1461 | </Rectangle.Style> |
1454 | </Rectangle> |
1462 | </Rectangle> |
1455 | <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="36" Margin="190,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click"> |
1463 | <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="36" Margin="190,0,0,-1" VerticalAlignment="Bottom" Width="81" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click"> |
1456 | <Button.Background> |
1464 | <Button.Background> |
1457 | <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform"/> |
1465 | <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform"/> |
1458 | </Button.Background> |
1466 | </Button.Background> |
1459 | </Button> |
1467 | </Button> |
1460 | <Label x:Name="label4_Copy34" Content="send to copter" HorizontalAlignment="Left" Margin="190,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1468 | <Label x:Name="label4_Copy34" Content="send to copter" HorizontalAlignment="Left" Margin="190,0,0,34" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
1461 | </Grid> |
1469 | </Grid> |
1462 | </Border> |
1470 | </Border> |
1463 | <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"> |
1471 | <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"> |
1464 | <DataGrid.Columns> |
1472 | <DataGrid.Columns> |
1465 | <DataGridTextColumn Header="Index" Binding="{Binding Index}"/> |
1473 | <DataGridTextColumn Header="Index" Binding="{Binding Index}"/> |
1466 | <DataGridTextColumn Header="Type" Binding="{Binding Type, ConverterParameter=Type, Converter={StaticResource wpConvert}}"/> |
1474 | <DataGridTextColumn Header="Type" Binding="{Binding Type, ConverterParameter=Type, Converter={StaticResource wpConvert}}"/> |
1467 | <DataGridTextColumn Header="Name" Binding="{Binding Name}"/> |
1475 | <DataGridTextColumn Header="Name" Binding="{Binding Name}"/> |
1468 | <DataGridTextColumn Header="Latitude" Binding="{Binding Latitude, ConverterParameter=Latitude, Converter={StaticResource wpConvert}}"/> |
1476 | <DataGridTextColumn Header="Latitude" Binding="{Binding Latitude, ConverterParameter=Latitude, Converter={StaticResource wpConvert}}"/> |
1469 | <DataGridTextColumn Header="Longitude" Binding="{Binding Longitude, ConverterParameter=Longitude, Converter={StaticResource wpConvert}}"/> |
1477 | <DataGridTextColumn Header="Longitude" Binding="{Binding Longitude, ConverterParameter=Longitude, Converter={StaticResource wpConvert}}"/> |
1470 | <DataGridTextColumn Header="Altitude" Binding="{Binding Altitude, ConverterParameter=Altitude, Converter={StaticResource wpConvert}}"/> |
1478 | <DataGridTextColumn Header="Altitude" Binding="{Binding Altitude, ConverterParameter=Altitude, Converter={StaticResource wpConvert}}"/> |
1471 | <DataGridTextColumn Header="Heading" Binding="{Binding Heading, ConverterParameter=Heading, Converter={StaticResource wpConvert}}"/> |
1479 | <DataGridTextColumn Header="Heading" Binding="{Binding Heading, ConverterParameter=Heading, Converter={StaticResource wpConvert}}"/> |
1472 | <DataGridTextColumn Header="Speed" Binding="{Binding Speed, ConverterParameter=Speed, Converter={StaticResource wpConvert}}"/> |
1480 | <DataGridTextColumn Header="Speed" Binding="{Binding Speed, ConverterParameter=Speed, Converter={StaticResource wpConvert}}"/> |
1473 | <DataGridTextColumn Header="ClimbRate" Binding="{Binding ClimbRate, ConverterParameter=ClimbRate, Converter={StaticResource wpConvert}}"/> |
1481 | <DataGridTextColumn Header="ClimbRate" Binding="{Binding ClimbRate, ConverterParameter=ClimbRate, Converter={StaticResource wpConvert}}"/> |
1474 | <DataGridTextColumn Header="Radius" Binding="{Binding Radius, ConverterParameter=Radius, Converter={StaticResource wpConvert}}"/> |
1482 | <DataGridTextColumn Header="Radius" Binding="{Binding Radius, ConverterParameter=Radius, Converter={StaticResource wpConvert}}"/> |
1475 | <DataGridTextColumn Header="HoldTime" Binding="{Binding HoldTime, ConverterParameter=DelayTime, Converter={StaticResource wpConvert}}"/> |
1483 | <DataGridTextColumn Header="HoldTime" Binding="{Binding HoldTime, ConverterParameter=DelayTime, Converter={StaticResource wpConvert}}"/> |
1476 | <DataGridTextColumn Header="AutoTrigger" Binding="{Binding AutoTrigger, ConverterParameter=AutoTrigger, Converter={StaticResource wpConvert}}"/> |
1484 | <DataGridTextColumn Header="AutoTrigger" Binding="{Binding AutoTrigger, ConverterParameter=AutoTrigger, Converter={StaticResource wpConvert}}"/> |
1477 | <DataGridTextColumn Header="CamAngle" Binding="{Binding CamAngle, ConverterParameter=CamAngle, Converter={StaticResource wpConvert}}"/> |
1485 | <DataGridTextColumn Header="CamAngle" Binding="{Binding CamAngle, ConverterParameter=CamAngle, Converter={StaticResource wpConvert}}"/> |
1478 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Out1Timer}"/> |
1486 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Out1Timer}"/> |
1479 | </DataGrid.Columns> |
1487 | </DataGrid.Columns> |
1480 | </DataGrid> |
1488 | </DataGrid> |
1481 | <CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,396,0,0" VerticalAlignment="Top" Width="110" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/> |
1489 | <CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,396,0,0" VerticalAlignment="Top" Width="110" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/> |
1482 | <Label x:Name="label4_Copy9" Content="total distance" HorizontalAlignment="Right" Margin="0,455,51,0" VerticalAlignment="Top" Width="99" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13"/> |
1490 | <Label x:Name="label4_Copy9" Content="total distance" HorizontalAlignment="Right" Margin="0,455,51,0" VerticalAlignment="Top" Width="99" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13"/> |
1483 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,455,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1491 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,455,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1484 | <Label x:Name="label4_Copy14" Content="/" HorizontalAlignment="Right" Margin="0,504,29,0" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1492 | <Label x:Name="label4_Copy14" Content="/" HorizontalAlignment="Right" Margin="0,504,29,0" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1485 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,507,2,0" VerticalAlignment="Top" Width="25" Foreground="White" Padding="0" Height="16" FontSize="13"/> |
1493 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,507,2,0" VerticalAlignment="Top" Width="25" Foreground="White" Padding="0" Height="16" FontSize="13"/> |
1486 | <Label x:Name="label4_Copy15" Content="active WP" HorizontalAlignment="Right" Margin="0,504,61,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1494 | <Label x:Name="label4_Copy15" Content="active WP" HorizontalAlignment="Right" Margin="0,504,61,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1487 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,507,36,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1495 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,507,36,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
1488 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,136" Height="40" VerticalAlignment="Bottom"> |
1496 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="857,0,0,136" Height="40" VerticalAlignment="Bottom"> |
1489 | <Rectangle.Style> |
1497 | <Rectangle.Style> |
1490 | <Style TargetType="{x:Type Rectangle}"> |
1498 | <Style TargetType="{x:Type Rectangle}"> |
1491 | <Style.Triggers> |
1499 | <Style.Triggers> |
1492 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
1500 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
1493 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1501 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1494 | </DataTrigger> |
1502 | </DataTrigger> |
1495 | </Style.Triggers> |
1503 | </Style.Triggers> |
1496 | </Style> |
1504 | </Style> |
1497 | </Rectangle.Style> |
1505 | </Rectangle.Style> |
1498 | </Rectangle> |
1506 | </Rectangle> |
1499 | <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"> |
1507 | <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"> |
1500 | <Button.Background> |
1508 | <Button.Background> |
1501 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
1509 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
1502 | </Button.Background> |
1510 | </Button.Background> |
1503 | </Button> |
1511 | </Button> |
1504 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="855,0,-1,172" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
1512 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="855,0,-1,172" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
1505 | <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom" Visibility="Collapsed"> |
1513 | <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom" Visibility="Collapsed"> |
1506 | <Rectangle.Fill> |
1514 | <Rectangle.Fill> |
1507 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
1515 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
1508 | <GradientStop Color="#FF9DFFAA"/> |
1516 | <GradientStop Color="#FF9DFFAA"/> |
1509 | <GradientStop Color="#FF5DE094" Offset="0.236"/> |
1517 | <GradientStop Color="#FF5DE094" Offset="0.236"/> |
1510 | <GradientStop Color="#FF5DD6A0" Offset="0.39"/> |
1518 | <GradientStop Color="#FF5DD6A0" Offset="0.39"/> |
1511 | <GradientStop Color="#FF4FCF8F" Offset="1"/> |
1519 | <GradientStop Color="#FF4FCF8F" Offset="1"/> |
1512 | </LinearGradientBrush> |
1520 | </LinearGradientBrush> |
1513 | </Rectangle.Fill> |
1521 | </Rectangle.Fill> |
1514 | </Rectangle> |
1522 | </Rectangle> |
1515 | <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom"> |
1523 | <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom"> |
1516 | <Rectangle.Style> |
1524 | <Rectangle.Style> |
1517 | <Style TargetType="{x:Type Rectangle}"> |
1525 | <Style TargetType="{x:Type Rectangle}"> |
1518 | <Style.Triggers> |
1526 | <Style.Triggers> |
1519 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True"> |
1527 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True"> |
1520 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1528 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
1521 | </DataTrigger> |
1529 | </DataTrigger> |
1522 | </Style.Triggers> |
1530 | </Style.Triggers> |
1523 | </Style> |
1531 | </Style> |
1524 | </Rectangle.Style> |
1532 | </Rectangle.Style> |
1525 | </Rectangle> |
1533 | </Rectangle> |
1526 | <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="33" Margin="624,0,0,12" VerticalAlignment="Bottom" Width="58" ToolTip="Start/stop simulationmode on copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click"> |
1534 | <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="33" Margin="624,0,0,12" VerticalAlignment="Bottom" Width="58" ToolTip="Start/stop simulationmode on copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click"> |
1527 | <Button.Background> |
1535 | <Button.Background> |
1528 | <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform"/> |
1536 | <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform"/> |
1529 | </Button.Background> |
1537 | </Button.Background> |
1530 | </Button> |
1538 | </Button> |
1531 | <Label x:Name="label4_Copy32" Content="Simulation" HorizontalAlignment="Left" Margin="619,0,0,43" VerticalAlignment="Bottom" Width="74" Foreground="White" Height="26"/> |
1539 | <Label x:Name="label4_Copy32" Content="Simulation" HorizontalAlignment="Left" Margin="619,0,0,43" VerticalAlignment="Bottom" Width="74" Foreground="White" Height="26"/> |
1532 | <Label x:Name="label4_Copy35" Content="distance next WP" HorizontalAlignment="Right" Margin="0,470,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1540 | <Label x:Name="label4_Copy35" Content="distance next WP" HorizontalAlignment="Right" Margin="0,470,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1533 | <Label x:Name="lblWPRouteDistanceWP" Content="0 m" HorizontalAlignment="Right" Margin="0,472,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1541 | <Label x:Name="lblWPRouteDistanceWP" Content="0 m" HorizontalAlignment="Right" Margin="0,472,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1534 | <Label x:Name="label4_Copy36" Content="hold time" HorizontalAlignment="Right" Margin="0,487,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1542 | <Label x:Name="label4_Copy36" Content="hold time" HorizontalAlignment="Right" Margin="0,487,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
1535 | <Label x:Name="lblWPHoldTime" Content="0 s" HorizontalAlignment="Right" Margin="0,489,10,0" VerticalAlignment="Top" Width="36" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1543 | <Label x:Name="lblWPHoldTime" Content="0 s" HorizontalAlignment="Right" Margin="0,489,10,0" VerticalAlignment="Top" Width="36" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
1536 | <CheckBox x:Name="checkBoxShowWPStatus" Content="show statusbar" HorizontalAlignment="Right" Height="22" Margin="0,414,-1,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPStatus_Click"/> |
1544 | <CheckBox x:Name="checkBoxShowWPStatus" Content="show statusbar" HorizontalAlignment="Right" Height="22" Margin="0,414,-1,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPStatus_Click"/> |
1537 | <CheckBox x:Name="checkBoxShowWPMaxRange" Content="show max range" HorizontalAlignment="Right" Height="22" Margin="0,433,-1,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPMaxRange_click"/> |
1545 | <CheckBox x:Name="checkBoxShowWPMaxRange" Content="show max range" HorizontalAlignment="Right" Height="22" Margin="0,433,-1,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPMaxRange_click"/> |
1538 | </Grid> |
1546 | </Grid> |
1539 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1547 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
1540 | <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"> |
1548 | <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"> |
1541 | <Label.RenderTransform> |
1549 | <Label.RenderTransform> |
1542 | <TransformGroup> |
1550 | <TransformGroup> |
1543 | <ScaleTransform/> |
1551 | <ScaleTransform/> |
1544 | <SkewTransform/> |
1552 | <SkewTransform/> |
1545 | <RotateTransform Angle="90"/> |
1553 | <RotateTransform Angle="90"/> |
1546 | <TranslateTransform/> |
1554 | <TranslateTransform/> |
1547 | </TransformGroup> |
1555 | </TransformGroup> |
1548 | </Label.RenderTransform> |
1556 | </Label.RenderTransform> |
1549 | <Label.Style> |
1557 | <Label.Style> |
1550 | <Style TargetType="{x:Type Label}"> |
1558 | <Style TargetType="{x:Type Label}"> |
1551 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
1559 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
1552 | <Style.Triggers> |
1560 | <Style.Triggers> |
1553 | <Trigger Property="IsMouseOver" Value="True"> |
1561 | <Trigger Property="IsMouseOver" Value="True"> |
1554 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
1562 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
1555 | </Trigger> |
1563 | </Trigger> |
1556 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True"> |
1564 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True"> |
1557 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
1565 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
1558 | </DataTrigger> |
1566 | </DataTrigger> |
1559 | </Style.Triggers> |
1567 | </Style.Triggers> |
1560 | </Style> |
1568 | </Style> |
1561 | </Label.Style> |
1569 | </Label.Style> |
1562 | </Label> |
1570 | </Label> |
1563 | <Label x:Name="labelOSD" Content="OSD" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,158,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelOSD_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1571 | <Label x:Name="labelOSD" Content="OSD" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,158,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelOSD_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
1564 | <Label.RenderTransform> |
1572 | <Label.RenderTransform> |
1565 | <TransformGroup> |
1573 | <TransformGroup> |
1566 | <ScaleTransform/> |
1574 | <ScaleTransform/> |
1567 | <SkewTransform/> |
1575 | <SkewTransform/> |
1568 | <RotateTransform Angle="90"/> |
1576 | <RotateTransform Angle="90"/> |
1569 | <TranslateTransform/> |
1577 | <TranslateTransform/> |
1570 | </TransformGroup> |
1578 | </TransformGroup> |
1571 | </Label.RenderTransform> |
1579 | </Label.RenderTransform> |
1572 | <Label.Style> |
1580 | <Label.Style> |
1573 | <Style TargetType="{x:Type Label}"> |
1581 | <Style TargetType="{x:Type Label}"> |
1574 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
1582 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
1575 | <Style.Triggers> |
1583 | <Style.Triggers> |
1576 | <Trigger Property="IsMouseOver" Value="True"> |
1584 | <Trigger Property="IsMouseOver" Value="True"> |
1577 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
1585 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
1578 | </Trigger> |
1586 | </Trigger> |
1579 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True"> |
1587 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True"> |
1580 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
1588 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
1581 | </DataTrigger> |
1589 | </DataTrigger> |
1582 | </Style.Triggers> |
1590 | </Style.Triggers> |
1583 | </Style> |
1591 | </Style> |
1584 | </Label.Style> |
1592 | </Label.Style> |
1585 | </Label> |
1593 | </Label> |
1586 | <TextBox x:Name="tbSideBarStatusMotors" HorizontalAlignment="Right" Height="21" Margin="0,9,1,0" TextWrapping="NoWrap" Text="M" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Motors on/off" FontWeight="Bold"> |
1594 | <TextBox x:Name="tbSideBarStatusMotors" HorizontalAlignment="Right" Height="21" Margin="0,9,1,0" TextWrapping="NoWrap" Text="M" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Motors on/off" FontWeight="Bold"> |
1587 | <TextBox.Resources> |
1595 | <TextBox.Resources> |
1588 | <Style TargetType="{x:Type Border}"> |
1596 | <Style TargetType="{x:Type Border}"> |
1589 | <Setter Property="CornerRadius" Value="30"/> |
1597 | <Setter Property="CornerRadius" Value="30"/> |
1590 | </Style> |
1598 | </Style> |
1591 | </TextBox.Resources> |
1599 | </TextBox.Resources> |
1592 | </TextBox> |
1600 | </TextBox> |
1593 | <TextBox x:Name="tbSideBarStatusPH" HorizontalAlignment="Left" Height="19" Margin="1,32,0,0" Text="PH" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Position Hold / Coming Home" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1601 | <TextBox x:Name="tbSideBarStatusPH" HorizontalAlignment="Left" Height="19" Margin="1,32,0,0" Text="PH" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Position Hold / Coming Home" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1594 | <TextBox x:Name="tbSideBarStatusCF" HorizontalAlignment="Left" Height="19" Margin="1,53,0,0" Text="CF" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Carefree" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1602 | <TextBox x:Name="tbSideBarStatusCF" HorizontalAlignment="Left" Height="19" Margin="1,53,0,0" Text="CF" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Carefree" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1595 | <TextBox x:Name="tbSideBarStatusAC" HorizontalAlignment="Left" Height="19" Margin="1,74,0,0" Text="AC" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Altitude control" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1603 | <TextBox x:Name="tbSideBarStatusAC" HorizontalAlignment="Left" Height="19" Margin="1,74,0,0" Text="AC" VerticalAlignment="Top" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="Altitude control" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontWeight="Bold"/> |
1596 | <TextBox x:Name="tbSideBarStatusEmergencyLanding" HorizontalAlignment="Left" Height="21" Margin="1,95,0,0" TextWrapping="NoWrap" Text="H" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Emergency landing" FontWeight="Bold"> |
1604 | <TextBox x:Name="tbSideBarStatusEmergencyLanding" HorizontalAlignment="Left" Height="21" Margin="1,95,0,0" TextWrapping="NoWrap" Text="H" VerticalAlignment="Top" Width="21" FontSize="14" BorderBrush="#FFD3D2D2" Background="Transparent" Foreground="#FFD3D2D2" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" UndoLimit="0" AllowDrop="False" IsReadOnly="True" IsUndoEnabled="False" MaxLines="1" MinLines="1" MaxLength="1" ToolTip="Emergency landing" FontWeight="Bold"> |
1597 | <TextBox.Resources> |
1605 | <TextBox.Resources> |
1598 | <Style TargetType="{x:Type Border}"> |
1606 | <Style TargetType="{x:Type Border}"> |
1599 | <Setter Property="CornerRadius" Value="30"/> |
1607 | <Setter Property="CornerRadius" Value="30"/> |
1600 | </Style> |
1608 | </Style> |
1601 | </TextBox.Resources> |
1609 | </TextBox.Resources> |
1602 | </TextBox> |
1610 | </TextBox> |
1603 | <TextBox x:Name="tbSideBarGPXLog" Height="19" Margin="1,0,0,4" Text="GPX" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="GPX-Log active" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontSize="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" Padding="-1.5,0,0,0"/> |
1611 | <TextBox x:Name="tbSideBarGPXLog" Height="19" Margin="1,0,0,4" Text="GPX" Width="21" Background="Transparent" Foreground="#FFD3D2D2" AllowDrop="False" BorderThickness="0.6" ToolTip="GPX-Log active" IsUndoEnabled="False" MaxLines="1" BorderBrush="#FFD3D2D2" UndoLimit="0" FontSize="10" VerticalAlignment="Bottom" HorizontalAlignment="Left" HorizontalContentAlignment="Stretch" VerticalContentAlignment="Center" Padding="-1.5,0,0,0"/> |
1604 | </Grid> |
1612 | </Grid> |
1605 | <Grid x:Name="WPStatus" HorizontalAlignment="Left" Height="37" Margin="295,37,0,0" VerticalAlignment="Top" Width="313" Background="#7F000000" Style="{StaticResource GridVisibility}" Tag="{Binding ElementName=checkBoxShowWPStatus}"> |
1613 | <Grid x:Name="WPStatus" HorizontalAlignment="Left" Height="37" Margin="295,37,0,0" VerticalAlignment="Top" Width="313" Background="#7F000000" Style="{StaticResource GridVisibility}" Tag="{Binding ElementName=checkBoxShowWPStatus}"> |
1606 | <Canvas Margin="225,2,40,4"> |
1614 | <Canvas Margin="225,2,40,4"> |
1607 | <Label x:Name="label4_Copy38" Content="WP" HorizontalAlignment="Center" VerticalAlignment="Top" Width="86" Foreground="White" Height="31" Padding="4,1,1,1" VerticalContentAlignment="Center" FontSize="14" BorderBrush="#FFDBDFE6" BorderThickness="0.5" ToolTip="active WP index"/> |
1615 | <Label x:Name="label4_Copy38" Content="WP" HorizontalAlignment="Center" VerticalAlignment="Top" Width="86" Foreground="White" Height="31" Padding="4,1,1,1" VerticalContentAlignment="Center" FontSize="14" BorderBrush="#FFDBDFE6" BorderThickness="0.5" ToolTip="active WP index"/> |
1608 | <Label x:Name="label4_Copy37" Content="/" HorizontalAlignment="Right" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="14" Canvas.Left="50" Canvas.Top="5"/> |
1616 | <Label x:Name="label4_Copy37" Content="/" HorizontalAlignment="Right" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="14" Canvas.Left="50" Canvas.Top="5"/> |
1609 | <Label x:Name="lblWPStatusIndexNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="31" FontSize="14" Canvas.Left="25" VerticalContentAlignment="Center"/> |
1617 | <Label x:Name="lblWPStatusIndexNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="31" FontSize="14" Canvas.Left="25" VerticalContentAlignment="Center"/> |
1610 | <Label x:Name="lblWPStatusCountNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Center" Width="25" Foreground="White" Padding="0" Height="31" FontSize="14" Canvas.Left="59" VerticalContentAlignment="Center"/> |
1618 | <Label x:Name="lblWPStatusCountNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Center" Width="25" Foreground="White" Padding="0" Height="31" FontSize="14" Canvas.Left="59" VerticalContentAlignment="Center"/> |
1611 | </Canvas> |
1619 | </Canvas> |
1612 | <Canvas Margin="79,3,189,158" ToolTip="distance next WP"> |
1620 | <Canvas Margin="79,3,189,158" ToolTip="distance next WP"> |
1613 | <TextBox x:Name="tbWPStatusDistanceWP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFDBDFE6" FontSize="14" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance next WP" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" Canvas.Left="-5"/> |
1621 | <TextBox x:Name="tbWPStatusDistanceWP" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFDBDFE6" FontSize="14" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="distance next WP" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False" Canvas.Left="-5"/> |
1614 | <ed:LineArrow Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="1" Stroke="White" VerticalAlignment="Bottom" Width="49" EndArrow="StealthArrow" ArrowSize="4" Canvas.Top="25" StrokeThickness="2" Canvas.Left="1"/> |
1622 | <ed:LineArrow Fill="#FFF4F4F5" HorizontalAlignment="Left" Height="1" Stroke="White" VerticalAlignment="Bottom" Width="49" EndArrow="StealthArrow" ArrowSize="4" Canvas.Top="25" StrokeThickness="2" Canvas.Left="1"/> |
1615 | </Canvas> |
1623 | </Canvas> |
1616 | <Canvas Margin="2,3,257,0" ToolTip="hold time"> |
1624 | <Canvas Margin="2,3,257,0" ToolTip="hold time"> |
1617 | <TextBox x:Name="tbWPStatusHoldTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 s" VerticalAlignment="Top" Width="69" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since take off" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
1625 | <TextBox x:Name="tbWPStatusHoldTime" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 s" VerticalAlignment="Top" Width="69" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="flight time since take off" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
1618 | <Image x:Name="imageFlightTime1" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="40" Canvas.Top="2.333"/> |
1626 | <Image x:Name="imageFlightTime1" Height="25.583" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/flighttime.png" HorizontalAlignment="Left" Width="25.375" Canvas.Left="40" Canvas.Top="2.333"/> |
1619 | </Canvas> |
1627 | </Canvas> |
1620 | <Canvas Margin="161,2,114,4" ToolTip="WP height"> |
1628 | <Canvas Margin="161,2,114,4" ToolTip="WP height"> |
1621 | <TextBox x:Name="tbWPStatusHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="height" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
1629 | <TextBox x:Name="tbWPStatusHeight" HorizontalAlignment="Left" Height="31" TextWrapping="Wrap" Text="0 m" VerticalAlignment="Top" Width="61" BorderBrush="#FFE4E4E4" FontSize="14" VerticalContentAlignment="Center" Background="#00000000" Padding="4,1,1,1" Foreground="White" ToolTip="height" BorderThickness="0.5" AllowDrop="False" IsHitTestVisible="False" IsTabStop="False" IsReadOnly="True" IsUndoEnabled="False"/> |
1622 | <Image x:Name="imageFlightTime_Copy1" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/> |
1630 | <Image x:Name="imageFlightTime_Copy1" Height="23" VerticalAlignment="Top" UseLayoutRounding="False" Source="Images/Altitude.png" HorizontalAlignment="Left" Width="8.25" Canvas.Left="48.688" Canvas.Top="4"/> |
1623 | </Canvas> |
1631 | </Canvas> |
1624 | </Grid> |
1632 | </Grid> |
1625 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
1633 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
1626 | </Grid> |
1634 | </Grid> |
1627 | <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl
The necessary data can ONLY be accessed 
by the NaviControl!
Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" > |
1635 | <Label x:Name="labelSwitchToNavi" Content="The communication is set to FlightControl
The necessary data can ONLY be accessed 
by the NaviControl!
Please switch to NaviControl in the settings tab" HorizontalAlignment="Left" Height="161" Margin="347,147,0,0" VerticalAlignment="Top" Width="574" Foreground="White" FontSize="26.667" Style="{StaticResource HideSwitchNCLabel}" Tag="{Binding ElementName=tbCtrl}" > |
1628 | <Label.Background> |
1636 | <Label.Background> |
1629 | <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0"> |
1637 | <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0"> |
1630 | <GradientStop Color="#B2FF2121" Offset="0.457"/> |
1638 | <GradientStop Color="#B2FF2121" Offset="0.457"/> |
1631 | <GradientStop Color="Red" Offset="1"/> |
1639 | <GradientStop Color="Red" Offset="1"/> |
1632 | </LinearGradientBrush> |
1640 | </LinearGradientBrush> |
1633 | </Label.Background> |
1641 | </Label.Background> |
1634 | </Label> |
1642 | </Label> |
1635 | </Grid> |
1643 | </Grid> |
1636 | </Window> |
1644 | </Window> |