Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2537 | - | 1 | <Window xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon" |
2 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
||
3 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
||
4 | xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
||
5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
||
6 | xmlns:local="clr-namespace:MKLiveView" |
||
7 | xmlns:WindowsPresentation="clr-namespace:GMap.NET.WindowsPresentation;assembly=GMap.NET.WindowsPresentation" |
||
8 | xmlns:ArtificialHorizon="clr-namespace:MKLiveView.ArtificialHorizon" |
||
9 | xmlns:wpConverter="clr-namespace:MKLiveView" |
||
10 | xmlns:ed="http://schemas.microsoft.com/expression/2010/drawing" |
||
11 | x:Class="MKLiveView.MainWindow" |
||
12 | mc:Ignorable="d" |
||
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"> |
||
15 | <Window.Resources> |
||
16 | <wpConverter:waypointsConverter x:Key="wpConvert" /> |
||
17 | <BooleanToVisibilityConverter x:Key="BooleanToVisibility" /> |
||
18 | <LinearGradientBrush x:Key="ActiveItemBrush" EndPoint="0,1" StartPoint="0,0"> |
||
19 | <GradientStop Color="#FFC6F5FF"/> |
||
20 | <GradientStop Color="#FFB6E8FF" Offset="0.18"/> |
||
21 | <GradientStop Color="#FF98CBF5" Offset="0.389"/> |
||
22 | <GradientStop Color="#FF9FD3FF" Offset="1"/> |
||
23 | </LinearGradientBrush> |
||
24 | <LinearGradientBrush x:Key="PressedItemBrush" EndPoint="0,1" StartPoint="0,0"> |
||
25 | <GradientStop Color="#FFFFEAC6"/> |
||
26 | <GradientStop Color="#FFFFD99B" Offset="0.18"/> |
||
27 | <GradientStop Color="#FFFFD07F" Offset="0.39"/> |
||
28 | <GradientStop Color="#FFFFC961" Offset="1"/> |
||
29 | </LinearGradientBrush> |
||
30 | <Style x:Key="ButtonWithoutEffectStyle" TargetType="{x:Type Button}"> |
||
31 | <Setter Property="Background" Value="Transparent" /> |
||
32 | <Setter Property="Template"> |
||
33 | <Setter.Value> |
||
34 | <ControlTemplate TargetType="{x:Type Button}"> |
||
35 | <Grid Background="{TemplateBinding Background}"> |
||
36 | <ContentPresenter /> |
||
37 | <Border x:Name="border" |
||
38 | BorderThickness="0" |
||
39 | Padding="4,2" |
||
40 | BorderBrush="#FFE4E4E4" |
||
41 | CornerRadius="0" |
||
42 | Background="{TemplateBinding Background}"> |
||
43 | <ContentPresenter HorizontalAlignment="Center" VerticalAlignment="Center" /> |
||
44 | </Border> |
||
45 | </Grid> |
||
46 | |||
47 | </ControlTemplate> |
||
48 | </Setter.Value> |
||
49 | </Setter> |
||
50 | </Style> |
||
51 | <Style TargetType="{x:Type DataGridColumnHeader}"> |
||
52 | <Setter Property="Background" Value="Transparent" /> |
||
53 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
||
54 | </Style> |
||
55 | <Style TargetType="{x:Type DataGridCell}"> |
||
56 | <Setter Property="Background" Value="Transparent" /> |
||
57 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
||
58 | </Style> |
||
59 | <Style TargetType="{x:Type DataGridRow}"> |
||
60 | <Setter Property="Background" Value="Transparent" /> |
||
61 | <Setter Property="Foreground" Value="#FFFFFFFF" /> |
||
62 | </Style> |
||
63 | <Style TargetType="{x:Type DataGridRowHeader}"> |
||
64 | <Setter Property="Background" Value="Transparent" /> |
||
65 | </Style> |
||
66 | <Style x:Key="CanvasVisibility" TargetType="{x:Type Canvas}"> |
||
67 | <Style.Triggers> |
||
68 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
||
69 | <Setter Property="Visibility" Value="Collapsed" /> |
||
70 | </DataTrigger> |
||
71 | </Style.Triggers> |
||
72 | </Style> |
||
73 | <Style x:Key="GridVisibility" TargetType="{x:Type Grid}"> |
||
74 | <Style.Triggers> |
||
75 | <DataTrigger Binding="{Binding Tag.IsChecked, RelativeSource={RelativeSource Self}}" Value="False"> |
||
76 | <Setter Property="Visibility" Value="Collapsed" /> |
||
77 | </DataTrigger> |
||
78 | </Style.Triggers> |
||
79 | </Style> |
||
80 | |||
81 | <SolidColorBrush x:Key="SliderThumb.Static.Foreground" Color="#FFE5E5E5"/> |
||
82 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Background" Color="#FFDCECFC"/> |
||
83 | <SolidColorBrush x:Key="SliderThumb.MouseOver.Border" Color="#FF7Eb4EA"/> |
||
84 | <SolidColorBrush x:Key="SliderThumb.Pressed.Background" Color="#FFDAECFC"/> |
||
85 | <SolidColorBrush x:Key="SliderThumb.Pressed.Border" Color="#FF569DE5"/> |
||
86 | <SolidColorBrush x:Key="SliderThumb.Disabled.Background" Color="#FFF0F0F0"/> |
||
87 | <SolidColorBrush x:Key="SliderThumb.Disabled.Border" Color="#FFD9D9D9"/> |
||
88 | <SolidColorBrush x:Key="SliderThumb.Static.Background" Color="#FFF0F0F0"/> |
||
89 | <SolidColorBrush x:Key="SliderThumb.Static.Border" Color="#FFACACAC"/> |
||
90 | <ControlTemplate x:Key="SliderThumbHorizontalTop" TargetType="{x:Type Thumb}"> |
||
91 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
||
92 | <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 | </Grid> |
||
94 | <ControlTemplate.Triggers> |
||
95 | <Trigger Property="IsMouseOver" Value="true"> |
||
96 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
97 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
98 | </Trigger> |
||
99 | <Trigger Property="IsDragging" Value="true"> |
||
100 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
101 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
102 | </Trigger> |
||
103 | <Trigger Property="IsEnabled" Value="false"> |
||
104 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
105 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
106 | </Trigger> |
||
107 | </ControlTemplate.Triggers> |
||
108 | </ControlTemplate> |
||
109 | <ControlTemplate x:Key="SliderThumbHorizontalBottom" TargetType="{x:Type Thumb}"> |
||
110 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
||
111 | <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 | </Grid> |
||
113 | <ControlTemplate.Triggers> |
||
114 | <Trigger Property="IsMouseOver" Value="true"> |
||
115 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
116 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
117 | </Trigger> |
||
118 | <Trigger Property="IsDragging" Value="true"> |
||
119 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
120 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
121 | </Trigger> |
||
122 | <Trigger Property="IsEnabled" Value="false"> |
||
123 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
124 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
125 | </Trigger> |
||
126 | </ControlTemplate.Triggers> |
||
127 | </ControlTemplate> |
||
128 | <SolidColorBrush x:Key="SliderThumb.Track.Border" Color="#FFD6D6D6"/> |
||
129 | <SolidColorBrush x:Key="SliderThumb.Track.Background" Color="#FFE7EAEA"/> |
||
130 | <Style x:Key="RepeatButtonTransparent" TargetType="{x:Type RepeatButton}"> |
||
131 | <Setter Property="OverridesDefaultStyle" Value="true"/> |
||
132 | <Setter Property="Background" Value="Transparent"/> |
||
133 | <Setter Property="Focusable" Value="false"/> |
||
134 | <Setter Property="IsTabStop" Value="false"/> |
||
135 | <Setter Property="Template"> |
||
136 | <Setter.Value> |
||
137 | <ControlTemplate TargetType="{x:Type RepeatButton}"> |
||
138 | <Rectangle Fill="{TemplateBinding Background}" Height="{TemplateBinding Height}" Width="{TemplateBinding Width}"/> |
||
139 | </ControlTemplate> |
||
140 | </Setter.Value> |
||
141 | </Setter> |
||
142 | </Style> |
||
143 | <ControlTemplate x:Key="SliderThumbHorizontalDefault" TargetType="{x:Type Thumb}"> |
||
144 | <Grid HorizontalAlignment="Center" UseLayoutRounding="True" VerticalAlignment="Center"> |
||
145 | <!--<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 | <Ellipse x:Name="grip" Fill="{StaticResource SliderThumb.Static.Background}" Stretch="Fill" SnapsToDevicePixels="True" Stroke="{StaticResource SliderThumb.Static.Border}" StrokeThickness="1" UseLayoutRounding="True" VerticalAlignment="Center" Width="Auto" Height="30" Margin="-15,-5" /> |
||
147 | </Grid> |
||
148 | <ControlTemplate.Triggers> |
||
149 | <Trigger Property="IsMouseOver" Value="true"> |
||
150 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
151 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
152 | </Trigger> |
||
153 | <Trigger Property="IsDragging" Value="true"> |
||
154 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
155 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
156 | </Trigger> |
||
157 | <Trigger Property="IsEnabled" Value="false"> |
||
158 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
159 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
160 | </Trigger> |
||
161 | </ControlTemplate.Triggers> |
||
162 | </ControlTemplate> |
||
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"> |
||
165 | <Grid Margin="0,-3,0,3"> |
||
166 | <Grid.RowDefinitions> |
||
167 | <RowDefinition Height="Auto"/> |
||
168 | <RowDefinition Height="Auto" MinHeight="{TemplateBinding MinHeight}"/> |
||
169 | <RowDefinition Height="Auto"/> |
||
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"/> |
||
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"> |
||
174 | <Canvas Margin="-6,-1"> |
||
175 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Height="4.0" Visibility="Hidden"/> |
||
176 | </Canvas> |
||
177 | </Border> |
||
178 | <Track x:Name="PART_Track" Grid.Row="1"> |
||
179 | <Track.DecreaseRepeatButton> |
||
180 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="0,-3,0.13,3"/> |
||
181 | </Track.DecreaseRepeatButton> |
||
182 | <Track.IncreaseRepeatButton> |
||
183 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}" Margin="-0.13,-3,0,3"/> |
||
184 | </Track.IncreaseRepeatButton> |
||
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"/> |
||
187 | </Track.Thumb> |
||
188 | </Track> |
||
189 | </Grid> |
||
190 | </Border> |
||
191 | <ControlTemplate.Triggers> |
||
192 | <Trigger Property="TickPlacement" Value="TopLeft"> |
||
193 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
||
194 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalTop}"/> |
||
195 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,2,5,0"/> |
||
196 | </Trigger> |
||
197 | <Trigger Property="TickPlacement" Value="BottomRight"> |
||
198 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
||
199 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbHorizontalBottom}"/> |
||
200 | <Setter Property="Margin" TargetName="TrackBackground" Value="5,0,5,2"/> |
||
201 | </Trigger> |
||
202 | <Trigger Property="TickPlacement" Value="Both"> |
||
203 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
||
204 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
||
205 | </Trigger> |
||
206 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
||
207 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
||
208 | </Trigger> |
||
209 | <Trigger Property="IsKeyboardFocused" Value="true"> |
||
210 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
||
211 | </Trigger> |
||
212 | </ControlTemplate.Triggers> |
||
213 | </ControlTemplate> |
||
214 | <ControlTemplate x:Key="SliderThumbVerticalLeft" TargetType="{x:Type Thumb}"> |
||
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}"/> |
||
217 | </Grid> |
||
218 | <ControlTemplate.Triggers> |
||
219 | <Trigger Property="IsMouseOver" Value="true"> |
||
220 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
221 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
222 | </Trigger> |
||
223 | <Trigger Property="IsDragging" Value="true"> |
||
224 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
225 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
226 | </Trigger> |
||
227 | <Trigger Property="IsEnabled" Value="false"> |
||
228 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
229 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
230 | </Trigger> |
||
231 | </ControlTemplate.Triggers> |
||
232 | </ControlTemplate> |
||
233 | <ControlTemplate x:Key="SliderThumbVerticalRight" TargetType="{x:Type Thumb}"> |
||
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}"/> |
||
236 | </Grid> |
||
237 | <ControlTemplate.Triggers> |
||
238 | <Trigger Property="IsMouseOver" Value="true"> |
||
239 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
240 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
241 | </Trigger> |
||
242 | <Trigger Property="IsDragging" Value="true"> |
||
243 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
244 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
245 | </Trigger> |
||
246 | <Trigger Property="IsEnabled" Value="false"> |
||
247 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
248 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
249 | </Trigger> |
||
250 | </ControlTemplate.Triggers> |
||
251 | </ControlTemplate> |
||
252 | <ControlTemplate x:Key="SliderThumbVerticalDefault" TargetType="{x:Type Thumb}"> |
||
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}"/> |
||
255 | </Grid> |
||
256 | <ControlTemplate.Triggers> |
||
257 | <Trigger Property="IsMouseOver" Value="true"> |
||
258 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Background}"/> |
||
259 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.MouseOver.Border}"/> |
||
260 | </Trigger> |
||
261 | <Trigger Property="IsDragging" Value="true"> |
||
262 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Background}"/> |
||
263 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Pressed.Border}"/> |
||
264 | </Trigger> |
||
265 | <Trigger Property="IsEnabled" Value="false"> |
||
266 | <Setter Property="Fill" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Background}"/> |
||
267 | <Setter Property="Stroke" TargetName="grip" Value="{StaticResource SliderThumb.Disabled.Border}"/> |
||
268 | </Trigger> |
||
269 | </ControlTemplate.Triggers> |
||
270 | </ControlTemplate> |
||
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"> |
||
273 | <Grid> |
||
274 | <Grid.ColumnDefinitions> |
||
275 | <ColumnDefinition Width="Auto"/> |
||
276 | <ColumnDefinition MinWidth="{TemplateBinding MinWidth}" Width="Auto"/> |
||
277 | <ColumnDefinition Width="Auto"/> |
||
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"/> |
||
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"> |
||
282 | <Canvas Margin="-1,-6"> |
||
283 | <Rectangle x:Name="PART_SelectionRange" Fill="{DynamicResource {x:Static SystemColors.HighlightBrushKey}}" Visibility="Hidden" Width="4.0"/> |
||
284 | </Canvas> |
||
285 | </Border> |
||
286 | <Track x:Name="PART_Track" Grid.Column="1"> |
||
287 | <Track.DecreaseRepeatButton> |
||
288 | <RepeatButton Command="{x:Static Slider.DecreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
||
289 | </Track.DecreaseRepeatButton> |
||
290 | <Track.IncreaseRepeatButton> |
||
291 | <RepeatButton Command="{x:Static Slider.IncreaseLarge}" Style="{StaticResource RepeatButtonTransparent}"/> |
||
292 | </Track.IncreaseRepeatButton> |
||
293 | <Track.Thumb> |
||
294 | <Thumb x:Name="Thumb" Focusable="False" Height="11" OverridesDefaultStyle="True" Template="{StaticResource SliderThumbVerticalDefault}" VerticalAlignment="Top" Width="18"/> |
||
295 | </Track.Thumb> |
||
296 | </Track> |
||
297 | </Grid> |
||
298 | </Border> |
||
299 | <ControlTemplate.Triggers> |
||
300 | <Trigger Property="TickPlacement" Value="TopLeft"> |
||
301 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
||
302 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalLeft}"/> |
||
303 | <Setter Property="Margin" TargetName="TrackBackground" Value="2,5,0,5"/> |
||
304 | </Trigger> |
||
305 | <Trigger Property="TickPlacement" Value="BottomRight"> |
||
306 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
||
307 | <Setter Property="Template" TargetName="Thumb" Value="{StaticResource SliderThumbVerticalRight}"/> |
||
308 | <Setter Property="Margin" TargetName="TrackBackground" Value="0,5,2,5"/> |
||
309 | </Trigger> |
||
310 | <Trigger Property="TickPlacement" Value="Both"> |
||
311 | <Setter Property="Visibility" TargetName="TopTick" Value="Visible"/> |
||
312 | <Setter Property="Visibility" TargetName="BottomTick" Value="Visible"/> |
||
313 | </Trigger> |
||
314 | <Trigger Property="IsSelectionRangeEnabled" Value="true"> |
||
315 | <Setter Property="Visibility" TargetName="PART_SelectionRange" Value="Visible"/> |
||
316 | </Trigger> |
||
317 | <Trigger Property="IsKeyboardFocused" Value="true"> |
||
318 | <Setter Property="Foreground" TargetName="Thumb" Value="Blue"/> |
||
319 | </Trigger> |
||
320 | </ControlTemplate.Triggers> |
||
321 | </ControlTemplate> |
||
322 | <Style x:Key="TouchSliderStyle" TargetType="{x:Type Slider}"> |
||
323 | <Setter Property="Stylus.IsPressAndHoldEnabled" Value="false"/> |
||
324 | <Setter Property="Background" Value="Transparent"/> |
||
325 | <Setter Property="BorderBrush" Value="Transparent"/> |
||
326 | <Setter Property="Foreground" Value="{StaticResource SliderThumb.Static.Foreground}"/> |
||
327 | <Setter Property="Template" Value="{StaticResource SliderHorizontal}"/> |
||
328 | <Style.Triggers> |
||
329 | <Trigger Property="Orientation" Value="Vertical"> |
||
330 | <Setter Property="Template" Value="{StaticResource SliderVertical}"/> |
||
331 | </Trigger> |
||
332 | </Style.Triggers> |
||
333 | </Style> |
||
334 | <Storyboard x:Key="VoltageCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
335 | <ColorAnimationUsingKeyFrames |
||
336 | Storyboard.TargetName="rectTopVoltage" |
||
337 | Storyboard.TargetProperty="Fill.(SolidColorBrush.Color)"> |
||
338 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
339 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
340 | </ColorAnimationUsingKeyFrames> |
||
341 | </Storyboard> |
||
342 | <Storyboard x:Key="SatFixLostAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
343 | <ColorAnimationUsingKeyFrames |
||
344 | Storyboard.TargetName="tbTopSats" |
||
345 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
||
346 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
347 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
348 | </ColorAnimationUsingKeyFrames> |
||
349 | </Storyboard> |
||
350 | <Storyboard x:Key="MagneticFieldCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
351 | <ColorAnimationUsingKeyFrames |
||
352 | Storyboard.TargetName="tbTopEarthMag" |
||
353 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
||
354 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
355 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
356 | </ColorAnimationUsingKeyFrames> |
||
357 | </Storyboard> |
||
358 | <Storyboard x:Key="DistanceCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
359 | <ColorAnimationUsingKeyFrames |
||
360 | Storyboard.TargetName="tbTopDistanceHP" |
||
361 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
||
362 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
363 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
364 | </ColorAnimationUsingKeyFrames> |
||
365 | </Storyboard> |
||
366 | <Storyboard x:Key="RCCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
367 | <ColorAnimationUsingKeyFrames |
||
368 | Storyboard.TargetName="tbTopRC" |
||
369 | Storyboard.TargetProperty="Background.(SolidColorBrush.Color)"> |
||
370 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
371 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
372 | </ColorAnimationUsingKeyFrames> |
||
373 | </Storyboard> |
||
374 | <Storyboard x:Key="BLCtrlCritAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
375 | <ColorAnimationUsingKeyFrames |
||
376 | Storyboard.TargetName="rectMotorTempWarn" |
||
377 | Storyboard.TargetProperty="Fill.(SolidColorBrush.Color)"> |
||
378 | <DiscreteColorKeyFrame KeyTime="0:0:0" Value="Red" /> |
||
379 | <DiscreteColorKeyFrame KeyTime="0:0:0.5" Value="Transparent" /> |
||
380 | </ColorAnimationUsingKeyFrames> |
||
381 | </Storyboard> |
||
382 | <Storyboard x:Key="CamActiveAnim" Duration="0:0:1" RepeatBehavior="Forever"> |
||
383 | <ObjectAnimationUsingKeyFrames |
||
384 | Storyboard.TargetName="labelCam_pic" |
||
385 | Storyboard.TargetProperty="Background"> |
||
386 | <DiscreteObjectKeyFrame KeyTime="0:0:0"> |
||
387 | <DiscreteObjectKeyFrame.Value> |
||
388 | <ImageBrush ImageSource="Images/Photo-Camera_g.ico" Stretch="Uniform"/> |
||
389 | </DiscreteObjectKeyFrame.Value> |
||
390 | </DiscreteObjectKeyFrame> |
||
391 | <DiscreteObjectKeyFrame KeyTime="0:0:0.5"> |
||
392 | <DiscreteObjectKeyFrame.Value> |
||
393 | <ImageBrush ImageSource="Images/Photo-Camera.ico" Stretch="Uniform"/> |
||
394 | </DiscreteObjectKeyFrame.Value> |
||
395 | </DiscreteObjectKeyFrame> |
||
396 | </ObjectAnimationUsingKeyFrames> |
||
397 | </Storyboard> |
||
398 | <Style x:Key="HideSwitchNCLabel" TargetType="{x:Type Label}"> |
||
399 | <Setter Property="Visibility" Value="Collapsed" /> |
||
400 | <Style.Triggers> |
||
401 | <DataTrigger Binding="{Binding Tag.Text}" Value="FC"> |
||
402 | <Setter Property="Visibility" Value="Visible" /> |
||
403 | </DataTrigger> |
||
404 | </Style.Triggers> |
||
405 | </Style> |
||
406 | <Style x:Key="HideSwitchNCButton" TargetType="{x:Type Button}"> |
||
407 | <Setter Property="Visibility" Value="Hidden" /> |
||
408 | <Style.Triggers> |
||
409 | <DataTrigger Binding="{Binding Tag.Text}" Value="FC"> |
||
410 | <Setter Property="Visibility" Value="Visible" /> |
||
411 | </DataTrigger> |
||
412 | </Style.Triggers> |
||
413 | </Style> |
||
414 | </Window.Resources> |
||
415 | <Grid> |
||
416 | <Grid x:Name="GridGMapControl" PreviewMouseLeftButtonDown="GridGMapControl_PreviewMouseLeftButtonDown"> |
||
417 | <WindowsPresentation:GMapControl x:Name="MainMap" Loaded="MainMap_Loaded" OnPositionChanged="MainMap_OnPositionChanged" OnMapZoomChanged="MainMap_OnMapZoomChanged" StylusDown="MainMap_StylusDown" StylusUp="MainMap_StylusUp" StylusMove="MainMap_StylusMove"/> |
||
418 | </Grid> |
||
419 | <Grid> |
||
420 | <Grid.LayoutTransform> |
||
421 | <ScaleTransform |
||
422 | CenterX="0" |
||
423 | CenterY="0" |
||
424 | ScaleX="{Binding Value, ElementName=UIScaleSlider}" |
||
425 | ScaleY="{Binding Value, ElementName=UIScaleSlider}" |
||
426 | /> |
||
427 | </Grid.LayoutTransform> |
||
428 | <Image x:Name="_camImage" Stretch="None" MouseMove="_CamImage_MouseMove" MouseDown="_CamImage_MouseDown" Visibility="Collapsed"> |
||
429 | <Image.LayoutTransform> |
||
430 | <ScaleTransform |
||
431 | CenterX="0" |
||
432 | CenterY="0" |
||
433 | ScaleX="{Binding Value, ElementName=SliderCamZoom}" |
||
434 | ScaleY="{Binding Value, ElementName=SliderCamZoom}" |
||
435 | /> |
||
436 | </Image.LayoutTransform> |
||
437 | </Image> |
||
438 | |||
439 | <Grid x:Name="GridTop" Height="36" VerticalAlignment="Top" Background="#7F000000"> |
||
440 | <Grid.LayoutTransform> |
||
441 | <ScaleTransform |
||
442 | CenterX="0" |
||
443 | CenterY="0" |
||
444 | ScaleX="{Binding Value, ElementName=UIScaleTopSlider}" |
||
445 | ScaleY="{Binding Value, ElementName=UIScaleTopSlider}" |
||
446 | /> |
||
447 | </Grid.LayoutTransform> |
||
448 | |||
449 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
||
450 | <StackPanel Orientation="Horizontal" Margin="0,0,115,0"> |
||
451 | <Canvas Margin="2,3,2,5" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowVoltage}"> |
||
452 | <Rectangle x:Name="rectTopVoltage" HorizontalAlignment="Left" Height="28" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="89" StrokeThickness="3" Fill="#00000000"/> |
||
453 | <Rectangle Fill="#FFE8E8FF" HorizontalAlignment="Left" Height="13" Stroke="#FFCFCECE" VerticalAlignment="Top" Width="6" StrokeThickness="2" Canvas.Left="89" Canvas.Top="8"/> |
||
454 | <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"/> |
||
455 | <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"/> |
||
456 | </Canvas> |
||
457 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCapacity}" ToolTip="capacity used"> |
||
458 | <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"/> |
||
459 | <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"/> |
||
460 | </Canvas> |
||
461 | <Canvas Margin="1,2,2,3" Width="72" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowCurrent}" ToolTip="Current"> |
||
462 | <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"/> |
||
463 | <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"/> |
||
464 | </Canvas> |
||
465 | <Canvas Margin="1,2,2,3" Width="94" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowFlightTime}" ToolTip="flight time since take off"> |
||
466 | <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"/> |
||
467 | <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"/> |
||
468 | </Canvas> |
||
469 | <Canvas Margin="1,2,2,3" Width="84" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowDistanceHP}"> |
||
470 | <Rectangle HorizontalAlignment="Right" Width="84" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
||
471 | <Rectangle.Style> |
||
472 | <Style TargetType="{x:Type Rectangle}"> |
||
473 | <Style.Triggers> |
||
474 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopHome}" Value="True"> |
||
475 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
476 | </DataTrigger> |
||
477 | </Style.Triggers> |
||
478 | </Style> |
||
479 | </Rectangle.Style> |
||
480 | </Rectangle> |
||
481 | <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"/> |
||
482 | <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"/> |
||
483 | <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"/> |
||
484 | </Canvas> |
||
485 | <Canvas Margin="1,2,2,3" Width="61" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowHeight}" ToolTip="height"> |
||
486 | <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"/> |
||
487 | <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"/> |
||
488 | </Canvas> |
||
489 | <Canvas Margin="1,2,2,1" Width="95" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSpeed}" ToolTip="groundspeed"> |
||
490 | <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"/> |
||
491 | <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"/> |
||
492 | </Canvas> |
||
493 | <Canvas Margin="0,2,2,0" Width="83" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowMF}" ToolTip="earth magnetic field"> |
||
494 | <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"/> |
||
495 | <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"/> |
||
496 | </Canvas> |
||
497 | <Canvas Margin="1,2,2,3" Width="56" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowSatellites}" ToolTip="Satellites"> |
||
498 | <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"/> |
||
499 | <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"/> |
||
500 | </Canvas> |
||
501 | <Canvas Margin="1,2,2,2.4" Width="62" Style="{StaticResource CanvasVisibility}" Tag="{Binding ElementName=chkBoxTopBarShowRC}" ToolTip="RC quality level (200 max)"> |
||
502 | <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"/> |
||
503 | <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"/> |
||
504 | </Canvas> |
||
505 | </StackPanel> |
||
506 | <Canvas Margin="0,2,42,3" Width="70" HorizontalAlignment="Right"> |
||
507 | <Rectangle HorizontalAlignment="Right" Width="69" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
||
508 | <Rectangle.Style> |
||
509 | <Style TargetType="{x:Type Rectangle}"> |
||
510 | <Style.Triggers> |
||
511 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnTopConnect}" Value="True"> |
||
512 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
513 | </DataTrigger> |
||
514 | </Style.Triggers> |
||
515 | </Style> |
||
516 | </Rectangle.Style> |
||
517 | </Rectangle> |
||
518 | <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"/> |
||
519 | <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"/> |
||
520 | <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"/> |
||
521 | </Canvas> |
||
522 | <Canvas Margin="0,2" HorizontalAlignment="Right" Width="37"> |
||
523 | <Rectangle HorizontalAlignment="Right" Width="34" Stroke="#FFE4E4E4" StrokeThickness="0.5" Height="31"> |
||
524 | <Rectangle.Style> |
||
525 | <Style TargetType="{x:Type Rectangle}"> |
||
526 | <Style.Triggers> |
||
527 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=imageFullscreen}" Value="True"> |
||
528 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
529 | </DataTrigger> |
||
530 | </Style.Triggers> |
||
531 | </Style> |
||
532 | </Rectangle.Style> |
||
533 | </Rectangle> |
||
534 | <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"/> |
||
535 | </Canvas> |
||
536 | </Grid> |
||
537 | <Grid x:Name="GridSideBar" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Left" Width="23"> |
||
538 | <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" > |
||
539 | <Label.RenderTransform> |
||
540 | <TransformGroup> |
||
541 | <ScaleTransform/> |
||
542 | <SkewTransform/> |
||
543 | <RotateTransform Angle="-90"/> |
||
544 | <TranslateTransform/> |
||
545 | </TransformGroup> |
||
546 | </Label.RenderTransform> |
||
547 | <Label.Style> |
||
548 | <Style TargetType="{x:Type Label}"> |
||
549 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
550 | <Style.Triggers> |
||
551 | <Trigger Property="IsMouseOver" Value="True"> |
||
552 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
553 | </Trigger> |
||
554 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridData}" Value="True"> |
||
555 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
556 | </DataTrigger> |
||
557 | </Style.Triggers> |
||
558 | </Style> |
||
559 | </Label.Style> |
||
560 | </Label> |
||
561 | <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"> |
||
562 | <Label.RenderTransform> |
||
563 | <TransformGroup> |
||
564 | <ScaleTransform/> |
||
565 | <SkewTransform/> |
||
566 | <RotateTransform Angle="-90"/> |
||
567 | <TranslateTransform/> |
||
568 | </TransformGroup> |
||
569 | </Label.RenderTransform> |
||
570 | <Label.Style> |
||
571 | <Style TargetType="{x:Type Label}"> |
||
572 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
573 | <Style.Triggers> |
||
574 | <Trigger Property="IsMouseOver" Value="True"> |
||
575 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
576 | </Trigger> |
||
577 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridSettings}" Value="True"> |
||
578 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
579 | </DataTrigger> |
||
580 | </Style.Triggers> |
||
581 | </Style> |
||
582 | </Label.Style> |
||
583 | </Label> |
||
584 | <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"> |
||
585 | <Label.RenderTransform> |
||
586 | <TransformGroup> |
||
587 | <ScaleTransform/> |
||
588 | <SkewTransform/> |
||
589 | <RotateTransform Angle="-90"/> |
||
590 | <TranslateTransform/> |
||
591 | </TransformGroup> |
||
592 | </Label.RenderTransform> |
||
593 | <Label.Style> |
||
594 | <Style TargetType="{x:Type Label}"> |
||
595 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
596 | <Style.Triggers> |
||
597 | <Trigger Property="IsMouseOver" Value="True"> |
||
598 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
599 | </Trigger> |
||
600 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridLog}" Value="True"> |
||
601 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
602 | </DataTrigger> |
||
603 | </Style.Triggers> |
||
604 | </Style> |
||
605 | </Label.Style> |
||
606 | </Label> |
||
607 | <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"> |
||
608 | <Label.RenderTransform> |
||
609 | <TransformGroup> |
||
610 | <ScaleTransform/> |
||
611 | <SkewTransform/> |
||
612 | <RotateTransform Angle="-90"/> |
||
613 | <TranslateTransform/> |
||
614 | </TransformGroup> |
||
615 | </Label.RenderTransform> |
||
616 | <Label.Style> |
||
617 | <Style TargetType="{x:Type Label}"> |
||
618 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
619 | <Style.Triggers> |
||
620 | <Trigger Property="IsMouseOver" Value="True"> |
||
621 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
622 | </Trigger> |
||
623 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridWP}" Value="True"> |
||
624 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
625 | </DataTrigger> |
||
626 | </Style.Triggers> |
||
627 | </Style> |
||
628 | </Label.Style> |
||
629 | </Label> |
||
630 | </Grid> |
||
631 | <Grid x:Name="GridData" Background="#7F000000" HorizontalAlignment="Left" Width="204" Margin="23,36,0,0" Visibility="Collapsed" > |
||
632 | <TabControl x:Name="tabControl" HorizontalAlignment="Left" Height="619" VerticalAlignment="Top" Width="200" Background="{x:Null}" Margin="2,0,0,0"> |
||
633 | <TabItem Header="Analog"> |
||
634 | <Grid> |
||
635 | <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"/> |
||
636 | <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"/> |
||
637 | <Label x:Name="label6_Copy" Content="Controller:" HorizontalAlignment="Left" Margin="8,6,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
638 | <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"/> |
||
639 | <Label x:Name="label6_Copy3" Content="Voltage" HorizontalAlignment="Left" Margin="6,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
640 | <Label x:Name="label6_Copy4" Content="Current" HorizontalAlignment="Left" Margin="6,56,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
641 | <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"/> |
||
642 | <Label x:Name="label6_Copy5" Content="Capacity" HorizontalAlignment="Left" Margin="6,74,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
643 | <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"/> |
||
644 | <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"/> |
||
645 | <Label x:Name="label6_Copy6" Content="Flying time" HorizontalAlignment="Left" Margin="6,95,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
646 | <Label x:Name="label6_Copy7" Content="RC quality" HorizontalAlignment="Left" Margin="6,115,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
647 | <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"/> |
||
648 | <Label x:Name="label6_Copy8" Content="Mag. field" HorizontalAlignment="Left" Margin="6,136,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
649 | <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"/> |
||
650 | <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"/> |
||
651 | <Label x:Name="label6_Copy9" Content="Satellites" HorizontalAlignment="Left" Margin="6,157,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
652 | <Label x:Name="label6_Copy10" Content="Gr. speed" HorizontalAlignment="Left" Margin="6,177,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
653 | <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"/> |
||
654 | <Label x:Name="label6_Copy11" Content="Altitude" HorizontalAlignment="Left" Margin="6,197,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
655 | <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"/> |
||
656 | <Label x:Name="label6_Copy12" Content="Heading" HorizontalAlignment="Left" Margin="6,217,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
657 | <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"/> |
||
658 | <Label x:Name="label6_Copy13" Content="Pitch" HorizontalAlignment="Left" Margin="6,236,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
659 | <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"/> |
||
660 | <Label x:Name="label6_Copy14" Content="Roll" HorizontalAlignment="Left" Margin="6,255,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
661 | <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"/> |
||
662 | <Label x:Name="label6_Copy15" Content="Distance HP" HorizontalAlignment="Left" Margin="6,274,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
663 | <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"/> |
||
664 | <Label x:Name="label6_Copy16" Content="(Distance ???)" HorizontalAlignment="Left" Margin="6,293,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
665 | <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"/> |
||
666 | <Label x:Name="label6_Copy17" Content="Distance WP" HorizontalAlignment="Left" Margin="6,311,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
667 | <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"/> |
||
668 | <Label x:Name="label6_Copy19" Content="WP count" HorizontalAlignment="Left" Margin="6,329,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
669 | <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"/> |
||
670 | <Label x:Name="label6_Copy20" Content="WP-Index" HorizontalAlignment="Left" Margin="6,347,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
671 | <Label x:Name="label6" Content="CRC-Error" Margin="14,0,64,10.04" VerticalAlignment="Bottom" Background="{x:Null}" Foreground="White"/> |
||
672 | <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}"/> |
||
673 | <Label x:Name="label6_Copy1" Content="SPI-Error" Margin="14,0,69,25.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
||
674 | <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"/> |
||
675 | <Label x:Name="label6_Copy2" Content="I2C-Error" Margin="14,0,68,40.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
||
676 | <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"/> |
||
677 | <Label x:Name="label6_Copy18" Content="NC-Error" Margin="14,0,68,56.04" Background="{x:Null}" Foreground="White" Height="26" VerticalAlignment="Bottom"/> |
||
678 | <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"/> |
||
679 | <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"/> |
||
680 | <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"/> |
||
681 | <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"/> |
||
682 | <Label x:Name="label6_Copy22" Content="Heading (NC)" HorizontalAlignment="Left" Margin="6,411,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
683 | <TextBlock x:Name="tbLiPoCells" HorizontalAlignment="Left" Height="23" Margin="110,433,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
||
684 | <Label x:Name="label6_Copy23" Content="LipoCells" HorizontalAlignment="Left" Margin="6,429,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
685 | <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"/> |
||
686 | <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"/> |
||
687 | <TextBlock x:Name="tbCamCtrl" HorizontalAlignment="Left" Height="23" Margin="110,450,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="65" Foreground="White" FontSize="16"/> |
||
688 | <Label x:Name="label6_Copy30" Content="CamCtrl" HorizontalAlignment="Left" Margin="6,446,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
689 | |||
690 | </Grid> |
||
691 | </TabItem> |
||
692 | <TabItem Header="Status"> |
||
693 | <Grid Margin="0"> |
||
694 | <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"/> |
||
695 | <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"/> |
||
696 | <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"/> |
||
697 | <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"/> |
||
698 | <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"/> |
||
699 | <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"/> |
||
700 | <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"/> |
||
701 | <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"/> |
||
702 | <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"/> |
||
703 | <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"/> |
||
704 | <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"/> |
||
705 | <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"/> |
||
706 | <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"/> |
||
707 | <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"/> |
||
708 | <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"/> |
||
709 | <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"/> |
||
710 | <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"/> |
||
711 | <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"/> |
||
712 | <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"/> |
||
713 | <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"/> |
||
714 | <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"/> |
||
715 | |||
716 | </Grid> |
||
717 | </TabItem> |
||
718 | <TabItem Header="Serial"> |
||
719 | <Grid> |
||
720 | <GroupBox x:Name="groupBox3" Header="Channel 1" HorizontalAlignment="Left" Height="188" VerticalAlignment="Top" Width="194" Foreground="White" BorderThickness="0.5"> |
||
721 | <Grid Margin="0,0,-2,0.04"> |
||
722 | <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"/> |
||
723 | <Label x:Name="labelSerChan1" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
||
724 | <Label.Style> |
||
725 | <Style TargetType="{x:Type Label}"> |
||
726 | <Style.Triggers> |
||
727 | <DataTrigger Binding="{Binding Value, ElementName=SerChan1ScaleSlider}"> |
||
728 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan1ScaleSlider}"/> |
||
729 | </DataTrigger> |
||
730 | </Style.Triggers> |
||
731 | </Style> |
||
732 | </Label.Style> |
||
733 | </Label> |
||
734 | <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"/> |
||
735 | <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"/> |
||
736 | <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"/> |
||
737 | <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"/> |
||
738 | <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"/> |
||
739 | <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"/> |
||
740 | <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"/> |
||
741 | <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"> |
||
742 | <Button.Style> |
||
743 | <Style TargetType="{x:Type Button}"> |
||
744 | <Style.Triggers> |
||
745 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
||
746 | </Style.Triggers> |
||
747 | </Style> |
||
748 | </Button.Style> |
||
749 | </Button> |
||
750 | <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"> |
||
751 | <Button.Style> |
||
752 | <Style TargetType="{x:Type Button}"> |
||
753 | <Style.Triggers> |
||
754 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val2}"/> |
||
755 | </Style.Triggers> |
||
756 | </Style> |
||
757 | </Button.Style> |
||
758 | </Button> |
||
759 | <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"> |
||
760 | <Button.Style> |
||
761 | <Style TargetType="{x:Type Button}"> |
||
762 | <Style.Triggers> |
||
763 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val3}"/> |
||
764 | </Style.Triggers> |
||
765 | </Style> |
||
766 | </Button.Style> |
||
767 | </Button> |
||
768 | |||
769 | </Grid> |
||
770 | </GroupBox> |
||
771 | <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"> |
||
772 | <Grid Margin="0,0,-2,0.04"> |
||
773 | <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"/> |
||
774 | <Label x:Name="labelSerChan2" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
||
775 | <Label.Style> |
||
776 | <Style TargetType="{x:Type Label}"> |
||
777 | <Style.Triggers> |
||
778 | <DataTrigger Binding="{Binding Value, ElementName=SerChan2ScaleSlider}"> |
||
779 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan2ScaleSlider}"/> |
||
780 | </DataTrigger> |
||
781 | </Style.Triggers> |
||
782 | </Style> |
||
783 | </Label.Style> |
||
784 | </Label> |
||
785 | <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"/> |
||
786 | <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"/> |
||
787 | <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"/> |
||
788 | <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"/> |
||
789 | <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"/> |
||
790 | <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"/> |
||
791 | <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"/> |
||
792 | <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"> |
||
793 | <Button.Style> |
||
794 | <Style TargetType="{x:Type Button}"> |
||
795 | <Style.Triggers> |
||
796 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial1_val1}"/> |
||
797 | </Style.Triggers> |
||
798 | </Style> |
||
799 | </Button.Style> |
||
800 | </Button> |
||
801 | <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"> |
||
802 | <Button.Style> |
||
803 | <Style TargetType="{x:Type Button}"> |
||
804 | <Style.Triggers> |
||
805 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val2}"/> |
||
806 | </Style.Triggers> |
||
807 | </Style> |
||
808 | </Button.Style> |
||
809 | </Button> |
||
810 | <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"> |
||
811 | <Button.Style> |
||
812 | <Style TargetType="{x:Type Button}"> |
||
813 | <Style.Triggers> |
||
814 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial2_val3}"/> |
||
815 | </Style.Triggers> |
||
816 | </Style> |
||
817 | </Button.Style> |
||
818 | </Button> |
||
819 | |||
820 | </Grid> |
||
821 | </GroupBox> |
||
822 | <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"> |
||
823 | <Grid Margin="0,0,-2,-12.96"> |
||
824 | <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"/> |
||
825 | <Label x:Name="labelSerChan3" HorizontalAlignment="Left" Margin="157,5,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="24" Content="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
||
826 | <Label.Style> |
||
827 | <Style TargetType="{x:Type Label}"> |
||
828 | <Style.Triggers> |
||
829 | <DataTrigger Binding="{Binding Value, ElementName=SerChan3ScaleSlider}"> |
||
830 | <Setter Property="Content" Value="{Binding Value, ElementName=SerChan3ScaleSlider}"/> |
||
831 | </DataTrigger> |
||
832 | </Style.Triggers> |
||
833 | </Style> |
||
834 | </Label.Style> |
||
835 | </Label> |
||
836 | <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"/> |
||
837 | <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"/> |
||
838 | <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"/> |
||
839 | <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"/> |
||
840 | <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"/> |
||
841 | <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"/> |
||
842 | <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"/> |
||
843 | <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"> |
||
844 | <Button.Style> |
||
845 | <Style TargetType="{x:Type Button}"> |
||
846 | <Style.Triggers> |
||
847 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val1}"/> |
||
848 | </Style.Triggers> |
||
849 | </Style> |
||
850 | </Button.Style> |
||
851 | </Button> |
||
852 | <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"> |
||
853 | <Button.Style> |
||
854 | <Style TargetType="{x:Type Button}"> |
||
855 | <Style.Triggers> |
||
856 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val2}"/> |
||
857 | </Style.Triggers> |
||
858 | </Style> |
||
859 | </Button.Style> |
||
860 | </Button> |
||
861 | <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"> |
||
862 | <Button.Style> |
||
863 | <Style TargetType="{x:Type Button}"> |
||
864 | <Style.Triggers> |
||
865 | <DataTrigger Binding="{Binding Text, ElementName=textBoxSerial3_val3}"/> |
||
866 | </Style.Triggers> |
||
867 | </Style> |
||
868 | </Button.Style> |
||
869 | </Button> |
||
870 | |||
871 | </Grid> |
||
872 | </GroupBox> |
||
873 | |||
874 | |||
875 | </Grid> |
||
876 | </TabItem> |
||
877 | <TabItem Header="License"> |
||
878 | <Grid> |
||
879 | <TextBlock x:Name="tbDataLicenseUser" HorizontalAlignment="Left" Height="44" Margin="10,60,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16"/> |
||
880 | <TextBlock x:Name="tbDataLicenseMail" HorizontalAlignment="Left" Height="23" Margin="10,128,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16"/> |
||
881 | <Label x:Name="label6_Copy25" Content="User:" HorizontalAlignment="Left" Margin="2,38,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
882 | <Label x:Name="label6_Copy26" Content="Mail:" HorizontalAlignment="Left" Margin="2,104,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
883 | <TextBlock x:Name="tbDataLicenseFeature" HorizontalAlignment="Left" Height="44" Margin="10,175,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16"/> |
||
884 | <Label x:Name="label6_Copy27" Content="Feature:" HorizontalAlignment="Left" Margin="2,151,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
885 | <TextBlock x:Name="tbDataLicenseExpire" HorizontalAlignment="Left" Height="23" Margin="10,253,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="184" Foreground="White" FontSize="16"/> |
||
886 | <TextBlock x:Name="tbDataLicenseLicense" HorizontalAlignment="Left" Height="23" Margin="10,304,0,0" TextWrapping="Wrap" Text="NA" VerticalAlignment="Top" Width="174" Foreground="White" FontSize="16"/> |
||
887 | <Label x:Name="label6_Copy28" Content="Expire:" HorizontalAlignment="Left" Margin="2,224,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
888 | <Label x:Name="label6_Copy29" Content="License:" HorizontalAlignment="Left" Margin="2,281,0,0" VerticalAlignment="Top" Background="{x:Null}" Foreground="White" FontSize="14"/> |
||
889 | |||
890 | </Grid> |
||
891 | </TabItem> |
||
892 | </TabControl> |
||
893 | </Grid> |
||
894 | <Grid x:Name="GridSettings" Background="#7B000000" HorizontalAlignment="Left" Width="233" Margin="23,36,0,0"> |
||
895 | <TabControl x:Name="tabControlSettings" HorizontalAlignment="Left" Width="229" Background="{x:Null}" Margin="4,0,0,0"> |
||
896 | <TabItem Header="General" Margin="0,0,5.849,0"> |
||
897 | <Grid x:Name="TabGridGeneral"> |
||
898 | <wpConverter:SerialPortCtrl x:Name="serialPortCtrl" HorizontalAlignment="Left" Height="256" Margin="11,5,0,0" VerticalAlignment="Top" Width="210"/> |
||
899 | <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"> |
||
900 | <Grid Margin="0,0,-12,-6"> |
||
901 | <Label x:Name="label" Content="debug values" HorizontalAlignment="Left" Margin="4,13,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
||
902 | <Label x:Name="label_Copy" Content="Nav-Ctrl values" HorizontalAlignment="Left" Margin="4,36,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
||
903 | <Label x:Name="label_Copy1" Content="BL-Ctrl values" HorizontalAlignment="Left" Margin="4,59,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
||
904 | <Label x:Name="label_Copy2" Content="OSD values" HorizontalAlignment="Left" Margin="4,82,0,0" VerticalAlignment="Top" Foreground="White" Padding="0"/> |
||
905 | <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"/> |
||
906 | <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"/> |
||
907 | <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"/> |
||
908 | <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"/> |
||
909 | <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"/> |
||
910 | <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"/> |
||
911 | <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"/> |
||
912 | <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"/> |
||
913 | <Label x:Name="label_Copy3" Content="LiPo Cells" HorizontalAlignment="Left" Margin="-6,121,0,-29.62" VerticalAlignment="Top" Foreground="White" Padding="0" Width="63"/> |
||
914 | <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"/> |
||
915 | <CheckBox x:Name="chkbAutoLiPoDetect" Content="auto detect" HorizontalAlignment="Left" Height="17" VerticalAlignment="Top" Width="93" HorizontalContentAlignment="Center" BorderThickness="2" FontSize="13.333" Padding="0" Click="chkbAutoLiPo_Click" Margin="109,122,0,-30" VerticalContentAlignment="Center" Foreground="White"/> |
||
916 | <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"/> |
||
917 | <Label x:Name="label_Copy5" Content="Motors" HorizontalAlignment="Left" Margin="8,150,0,-59" VerticalAlignment="Top" Foreground="White" Padding="0" Width="51"/> |
||
918 | <ComboBox x:Name="cBoxMotors" HorizontalAlignment="Left" Height="23" Margin="57,148,0,-62" VerticalAlignment="Top" Width="47" Padding="6,0,0,0" DropDownClosed="cBoxMotors_DropDownClosed"/> |
||
919 | </Grid> |
||
920 | </GroupBox> |
||
921 | <TextBox x:Name="tbSettingsCapa" HorizontalAlignment="Left" Height="21" Margin="74,457,0,0" TextWrapping="Wrap" Text="5000" VerticalAlignment="Top" Width="36" Visibility="Hidden"/> |
||
922 | <Button x:Name="buttonSwitchNC" Content="switch to NC" HorizontalAlignment="Left" Height="49" Margin="48,447,0,0" VerticalAlignment="Top" Width="112" Click="buttonSwitchNC_Click" FontSize="16" Background="#FFF7ACAC" BorderBrush="Red" Visibility="Hidden"/> |
||
923 | </Grid> |
||
924 | </TabItem> |
||
925 | <TabItem Header="Style" Margin="-6.849,0,-2.022,0"> |
||
926 | <Grid x:Name="TabGridStyle"> |
||
927 | <Label x:Name="label_Copy6" Content="Main window scale" HorizontalAlignment="Left" Margin="9,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="122"/> |
||
928 | <Label x:Name="labelUIScale" HorizontalAlignment="Left" Margin="117,7,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleSlider}"> |
||
929 | <Label.Style> |
||
930 | <Style TargetType="{x:Type Label}"> |
||
931 | <Style.Triggers> |
||
932 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleSlider}"> |
||
933 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleSlider}"/> |
||
934 | </DataTrigger> |
||
935 | </Style.Triggers> |
||
936 | </Style> |
||
937 | </Label.Style> |
||
938 | </Label> |
||
939 | <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"/> |
||
940 | <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"/> |
||
941 | <Label x:Name="label_Copy8" Content="Top bar scale" HorizontalAlignment="Left" Margin="14,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
||
942 | <Label x:Name="labelTopBarScale" HorizontalAlignment="Left" Margin="95,57,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleTopSlider}"> |
||
943 | <Label.Style> |
||
944 | <Style TargetType="{x:Type Label}"> |
||
945 | <Style.Triggers> |
||
946 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleTopSlider}"> |
||
947 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleTopSlider}"/> |
||
948 | </DataTrigger> |
||
949 | </Style.Triggers> |
||
950 | </Style> |
||
951 | </Label.Style> |
||
952 | </Label> |
||
953 | <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"/> |
||
954 | <Label x:Name="label_Copy9" Content="Motors scale" HorizontalAlignment="Left" Margin="14,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
||
955 | <Label x:Name="labelMotorsScale" HorizontalAlignment="Left" Margin="95,95,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
||
956 | <Label.Style> |
||
957 | <Style TargetType="{x:Type Label}"> |
||
958 | <Style.Triggers> |
||
959 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleMotorsSlider}"> |
||
960 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleMotorsSlider}"/> |
||
961 | </DataTrigger> |
||
962 | </Style.Triggers> |
||
963 | </Style> |
||
964 | </Label.Style> |
||
965 | </Label> |
||
966 | <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" ValueChanged="UIScaleOSDSlider_ValueChanged"/> |
||
967 | <Label x:Name="label_Copy10" Content="OSD scale" HorizontalAlignment="Left" Margin="14,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
||
968 | <Label x:Name="labelOSDScale" HorizontalAlignment="Left" Margin="95,131,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleOSDSlider}"> |
||
969 | <Label.Style> |
||
970 | <Style TargetType="{x:Type Label}"> |
||
971 | <Style.Triggers> |
||
972 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleOSDSlider}"> |
||
973 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleOSDSlider}"/> |
||
974 | </DataTrigger> |
||
975 | </Style.Triggers> |
||
976 | </Style> |
||
977 | </Label.Style> |
||
978 | </Label> |
||
979 | <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"/> |
||
980 | <Label x:Name="label_Copy11" Content="LOG scale" HorizontalAlignment="Left" Margin="14,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
||
981 | <Label x:Name="labelLOGScale" HorizontalAlignment="Left" Margin="95,167,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleLOGSlider}"> |
||
982 | <Label.Style> |
||
983 | <Style TargetType="{x:Type Label}"> |
||
984 | <Style.Triggers> |
||
985 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleLOGSlider}"> |
||
986 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleLOGSlider}"/> |
||
987 | </DataTrigger> |
||
988 | </Style.Triggers> |
||
989 | </Style> |
||
990 | </Label.Style> |
||
991 | </Label> |
||
992 | <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"/> |
||
993 | <Label x:Name="label_Copy12" Content="Horizon scale" HorizontalAlignment="Left" Margin="14,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="95"/> |
||
994 | <Label x:Name="labelHorizonScale" HorizontalAlignment="Left" Margin="95,203,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="42" Content="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
||
995 | <Label.Style> |
||
996 | <Style TargetType="{x:Type Label}"> |
||
997 | <Style.Triggers> |
||
998 | <DataTrigger Binding="{Binding Value, ElementName=UIScaleHorizonSlider}"> |
||
999 | <Setter Property="Content" Value="{Binding Value, ElementName=UIScaleHorizonSlider}"/> |
||
1000 | </DataTrigger> |
||
1001 | </Style.Triggers> |
||
1002 | </Style> |
||
1003 | </Label.Style> |
||
1004 | </Label> |
||
1005 | <Button x:Name="buttonUIScaleReset" Content="Reset" HorizontalAlignment="Left" Margin="13,249,0,0" VerticalAlignment="Top" Width="95" Click="buttonUIScaleReset_Click" Height="29"/> |
||
1006 | <GroupBox x:Name="groupBox1" Header="Topbar items" Margin="14,307,10,0" Foreground="White" BorderThickness="0.5" Height="197" VerticalAlignment="Top"> |
||
1007 | <Grid Margin="0,0,0,0"> |
||
1008 | <CheckBox x:Name="chkBoxTopBarShowVoltage" Content="Voltage" Foreground="White" Margin="10,10,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1009 | <CheckBox x:Name="chkBoxTopBarShowCapacity" Content="Capacity" Foreground="White" Margin="10,26,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1010 | <CheckBox x:Name="chkBoxTopBarShowCurrent" Content="Current" Foreground="White" Margin="10,42,106,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1011 | <CheckBox x:Name="chkBoxTopBarShowFlightTime" Content="FlightTime" Foreground="White" Margin="10,58,82,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1012 | <CheckBox x:Name="chkBoxTopBarShowDistanceHP" Content="Distance Home" Foreground="White" Margin="10,75,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1013 | <CheckBox x:Name="chkBoxTopBarShowHeight" Content="Height" Foreground="White" Margin="10,92,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1014 | <CheckBox x:Name="chkBoxTopBarShowSpeed" Content="GroundSpeed" Foreground="White" Margin="10,108,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1015 | <CheckBox x:Name="chkBoxTopBarShowMF" Content="Magnetic field" Foreground="White" Margin="10,124,70,-2" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1016 | <CheckBox x:Name="chkBoxTopBarShowSatellites" Content="Satellites" Foreground="White" Margin="10,141,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1017 | <CheckBox x:Name="chkBoxTopBarShowRC" Content="RC quality" Foreground="White" Margin="10,157,70,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1018 | </Grid> |
||
1019 | </GroupBox> |
||
1020 | <CheckBox x:Name="chkBoxShowHorizon" Content="Show Horizon/Heading" Foreground="White" Margin="30,508,48,0" IsChecked="True" Height="18" VerticalAlignment="Top" /> |
||
1021 | <CheckBox x:Name="chkBoxSaveFullScreenState" Content="save fullscreen
scalings" Foreground="White" Margin="113,240,6,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveFullScreenState_Click" /> |
||
1022 | <CheckBox x:Name="chkBoxSaveNormalState" Content="save normal
window scalings" Foreground="White" Margin="113,274,-1,0" IsChecked="True" Height="33" VerticalAlignment="Top" VerticalContentAlignment="Center" Click="chkBoxSaveNormalState_Click" /> |
||
1023 | </Grid> |
||
1024 | </TabItem> |
||
1025 | <TabItem Header="Map" Height="20" VerticalAlignment="Top" Margin="1.022,0,-4,0"> |
||
1026 | <Grid x:Name="GridMapData" Margin="0,0,-3,-1" HorizontalAlignment="Left" Width="226"> |
||
1027 | <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"/> |
||
1028 | <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"/> |
||
1029 | <TextBox Margin="6,24,10,0" x:Name="textBoxGeo" KeyUp="textBoxGeo_KeyUp" Foreground="Black" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" Text="Landshut"/> |
||
1030 | <Button x:Name="buttonGeoCoding" Content="Go To!" HorizontalAlignment="Left" Margin="6,47,0,0" VerticalAlignment="Top" Width="144" Height="26" Click="buttonGeoCoding_Click"/> |
||
1031 | <Button Height="27" Margin="0,127,10,0" x:Name="buttonReloadMap" VerticalAlignment="Top" Click="ReloadMap_Click" HorizontalAlignment="Right" Width="71" Content="Reload"/> |
||
1032 | <TextBox Margin="6,78,36,0" x:Name="textBoxLat" Height="23" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
||
1033 | <TextBox Margin="6,102,36,0" x:Name="textBoxLng" Height="22" VerticalAlignment="Top" VerticalContentAlignment="Center" /> |
||
1034 | <Button Height="27" HorizontalAlignment="Left" Margin="6,127,0,0" x:Name="buttonGeoLoc" VerticalAlignment="Top" Width="63" Click="buttonGeoLoc_Click" Content="Go To!"/> |
||
1035 | <Label Height="23" HorizontalAlignment="Right" Margin="0,78,4,0" x:Name="label2" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
||
1036 | <Label Height="29" HorizontalAlignment="Right" Margin="0,99,4,0" x:Name="label3" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
||
1037 | |||
1038 | |||
1039 | <ComboBox FontSize="12" Margin="6,174,10,0" x:Name="comboBoxMapType" Height="25" VerticalAlignment="Top" SelectedItem="{Binding MapProvider, ElementName=MainMap}"/> |
||
1040 | <Label HorizontalAlignment="Right" Margin="0,151,110,0" x:Name="label1" Width="109" Height="28" VerticalAlignment="Top" Foreground="White" Content="Map provider"/> |
||
1041 | <ComboBox FontSize="12" Height="25" Margin="6,218,10,0" x:Name="comboBoxMode" VerticalAlignment="Top" DropDownClosed="comboBoxMode_DropDownClosed" /> |
||
1042 | <Label Height="32" HorizontalAlignment="Right" Margin="0,194,128,0" x:Name="label5" VerticalAlignment="Top" Width="91" Foreground="White" Content="Caching Mode"/> |
||
1043 | <Button x:Name="buttonPrefetch" Content="Prefetch cache" HorizontalAlignment="Left" Margin="6,245,0,0" VerticalAlignment="Top" Width="109" Height="30" Click="buttonPrefetch_Click"/> |
||
1044 | <Label HorizontalAlignment="Right" Margin="0,0,99,0" x:Name="label1_Copy" Width="120" Height="29" VerticalAlignment="Top" Foreground="White" Content="Geocoding location"/> |
||
1045 | <TextBox Margin="6,349,36,0" x:Name="textBoxLat_currentPos" VerticalContentAlignment="Center" Height="23" VerticalAlignment="Top" /> |
||
1046 | <TextBox Margin="6,373,36,0" x:Name="textBoxLng_currentPos" VerticalContentAlignment="Center" Height="22" VerticalAlignment="Top" /> |
||
1047 | <Label Height="23" HorizontalAlignment="Right" Margin="0,349,4,0" x:Name="label2_Copy" VerticalAlignment="Top" Width="27" VerticalContentAlignment="Center" Foreground="White" Content="lat"/> |
||
1048 | <Label Height="29" HorizontalAlignment="Right" Margin="0,370,4,0" x:Name="label3_Copy" VerticalAlignment="Top" VerticalContentAlignment="Center" Width="27" Foreground="White" Content="lng"/> |
||
1049 | <Label HorizontalAlignment="Right" Margin="0,325,111,0" x:Name="label1_Copy1" Width="109" Foreground="White" Content="Current position" Height="28" VerticalAlignment="Top"/> |
||
1050 | <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"/> |
||
1051 | <Label Height="23" HorizontalAlignment="Right" Margin="0,275,139,0" x:Name="label2_Copy1" VerticalAlignment="Top" Width="69" VerticalContentAlignment="Center" Foreground="White" Content="Zoomlevel"/> |
||
1052 | <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"/> |
||
1053 | <Button x:Name="btnSetHP" Content="set Home" Margin="7,400,139,0" Click="btnSetHP_Click" Height="24" VerticalAlignment="Top"/> |
||
1054 | <Button x:Name="btnClearHP" Content="clear Home" Margin="7,424,139,0" Click="btnClearHP_Click" Height="25" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6"/> |
||
1055 | <Button x:Name="btnGotoHP" Content="goto Home" Margin="92,424,54,0" Click="btnGotoHP_Click" Height="25" VerticalAlignment="Top"/> |
||
1056 | <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"/> |
||
1057 | <Rectangle HorizontalAlignment="Left" Width="72" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="128,454,0,0" Height="39" VerticalAlignment="Top"> |
||
1058 | <Rectangle.Style> |
||
1059 | <Style TargetType="{x:Type Rectangle}"> |
||
1060 | <Style.Triggers> |
||
1061 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadGPXLog}" Value="True"> |
||
1062 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1063 | </DataTrigger> |
||
1064 | </Style.Triggers> |
||
1065 | </Style> |
||
1066 | </Rectangle.Style> |
||
1067 | </Rectangle> |
||
1068 | <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"> |
||
1069 | <Button.Background> |
||
1070 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
||
1071 | </Button.Background> |
||
1072 | </Button> |
||
1073 | <Label x:Name="label4_Copy8" Content="load GPX-Log" HorizontalAlignment="Left" Margin="122,488,0,0" VerticalAlignment="Top" Width="86" Foreground="White"/> |
||
1074 | <Button x:Name="btnClearRoute" Content="clear route" Margin="127,511,19,0" Height="38" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.6" Click="btnClearRoute_Click"/> |
||
1075 | <Label Height="43" HorizontalAlignment="Right" Margin="0,239,0,0" x:Name="label2_Copy2" VerticalAlignment="Top" Width="113" VerticalContentAlignment="Center" Foreground="White" Content="(Rectangle: ALT + 
left mouse button)"/> |
||
1076 | </Grid> |
||
1077 | </TabItem> |
||
1078 | <TabItem Header="Thresholds" Height="20" VerticalAlignment="Top" Margin="0" HorizontalAlignment="Left" Width="70"> |
||
1079 | <Grid> |
||
1080 | <GroupBox x:Name="groupBox2" Header="Voltage" HorizontalAlignment="Left" Height="129" Margin="10,5,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
||
1081 | <Grid Margin="0,0,-6,-4.96"> |
||
1082 | <Slider x:Name="sliderThresholdVoltageCrit" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="33" Margin="10,79,0,-1" VerticalAlignment="Top" Width="177" Maximum="{Binding Value, ElementName=sliderThresholdVoltageWarn}" Minimum="{Binding Minimum, ElementName=sliderThresholdVoltageWarn}" ValueChanged="sliderThresholdVoltageCrit_ValueChanged" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
||
1083 | <Label x:Name="labelThresholdVoltageCrit" HorizontalAlignment="Left" Margin="98,54,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
||
1084 | <Label.Style> |
||
1085 | <Style TargetType="{x:Type Label}"> |
||
1086 | <Style.Triggers> |
||
1087 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageCrit}"> |
||
1088 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageCrit}"/> |
||
1089 | </DataTrigger> |
||
1090 | </Style.Triggers> |
||
1091 | </Style> |
||
1092 | </Label.Style> |
||
1093 | </Label> |
||
1094 | <Label x:Name="labelThresholdVoltageCrit_Copy" Content="critical" HorizontalAlignment="Left" Margin="46,53,0,0" VerticalAlignment="Top" Foreground="White"/> |
||
1095 | <Slider x:Name="sliderThresholdVoltageWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="31" Margin="10,24,0,0" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdVoltageWarn_ValueChanged" Maximum="30" TickFrequency="0.1" IsSnapToTickEnabled="True"/> |
||
1096 | <Label x:Name="labelThresholdVoltageWarn" HorizontalAlignment="Left" Margin="98,-1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
||
1097 | <Label.Style> |
||
1098 | <Style TargetType="{x:Type Label}"> |
||
1099 | <Style.Triggers> |
||
1100 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdVoltageWarn}"> |
||
1101 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdVoltageWarn}"/> |
||
1102 | </DataTrigger> |
||
1103 | </Style.Triggers> |
||
1104 | </Style> |
||
1105 | </Label.Style> |
||
1106 | </Label> |
||
1107 | <Label x:Name="labelThresholdVoltageCrit_Copy2" Content="warning" HorizontalAlignment="Left" Margin="46,-2,0,0" VerticalAlignment="Top" Foreground="White"/> |
||
1108 | |||
1109 | </Grid> |
||
1110 | </GroupBox> |
||
1111 | <GroupBox x:Name="groupBox2_Copy1" Header="Voice output" HorizontalAlignment="Left" Height="188" Margin="10,302,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
||
1112 | <Grid Margin="0,0,-6,-3.96"> |
||
1113 | <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"/> |
||
1114 | <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"/> |
||
1115 | <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"/> |
||
1116 | <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"/> |
||
1117 | <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"/> |
||
1118 | <CheckBox x:Name="checkBoxBLCtrlTempVoice" Content="BL-Ctrl temperature" HorizontalAlignment="Left" Height="16" Margin="10,110,0,0" VerticalAlignment="Top" Width="131" Foreground="#FFFFFEFE" Click="checkBoxBLCtrlTempVoice_Click"/> |
||
1119 | <ComboBox x:Name="comboBoxVoiceLanguage" HorizontalAlignment="Left" Height="28" Margin="10,136,0,0" VerticalAlignment="Top" Width="147" SelectedIndex="0" HorizontalContentAlignment="Center" FontSize="16" DropDownClosed="comboBoxVoiceLanguage_DropDownClosed"> |
||
1120 | <ComboBoxItem Content="English" HorizontalAlignment="Left" Width="145"/> |
||
1121 | <ComboBoxItem Content="Deutsch" HorizontalAlignment="Left" Width="145"/> |
||
1122 | </ComboBox> |
||
1123 | </Grid> |
||
1124 | </GroupBox> |
||
1125 | <GroupBox x:Name="grpBox" Header="Distance HP" HorizontalAlignment="Left" Height="79" Margin="10,136,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
||
1126 | <Grid Margin="0,0,-6,-3.96"> |
||
1127 | <Slider x:Name="sliderThresholdDistanceWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="35" Margin="10,26,0,-1" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdDistanceWarn_ValueChanged" Maximum="1000" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="100"/> |
||
1128 | <Label x:Name="labelThresholdDistanceWarn" HorizontalAlignment="Left" Margin="86,1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
||
1129 | <Label.Style> |
||
1130 | <Style TargetType="{x:Type Label}"> |
||
1131 | <Style.Triggers> |
||
1132 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdDistanceWarn}"> |
||
1133 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdDistanceWarn}"/> |
||
1134 | </DataTrigger> |
||
1135 | </Style.Triggers> |
||
1136 | </Style> |
||
1137 | </Label.Style> |
||
1138 | </Label> |
||
1139 | |||
1140 | </Grid> |
||
1141 | </GroupBox> |
||
1142 | <GroupBox x:Name="grpBox_Copy" Header="BL-Ctrl temperature" HorizontalAlignment="Left" Height="79" Margin="10,218,0,0" VerticalAlignment="Top" Width="203" BorderThickness="0.5" Foreground="White"> |
||
1143 | <Grid Margin="0,0,-6,-3.96"> |
||
1144 | <Slider x:Name="sliderThresholdBLCtrlTempWarn" Style="{DynamicResource TouchSliderStyle}" HorizontalAlignment="Left" Height="35" Margin="10,26,0,-1" VerticalAlignment="Top" Width="177" ValueChanged="sliderThresholdBLCtrlTempWarn_ValueChanged" Maximum="120" IsSnapToTickEnabled="True" Minimum="10" SmallChange="1" Value="80"/> |
||
1145 | <Label x:Name="labelThresholdBLCtrlTempWarn" HorizontalAlignment="Left" Margin="86,1,0,0" VerticalAlignment="Top" Foreground="White" Height="25" Width="45" Content="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}"> |
||
1146 | <Label.Style> |
||
1147 | <Style TargetType="{x:Type Label}"> |
||
1148 | <Style.Triggers> |
||
1149 | <DataTrigger Binding="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}"> |
||
1150 | <Setter Property="Content" Value="{Binding Value, ElementName=sliderThresholdBLCtrlTempWarn}"/> |
||
1151 | </DataTrigger> |
||
1152 | </Style.Triggers> |
||
1153 | </Style> |
||
1154 | </Label.Style> |
||
1155 | </Label> |
||
1156 | |||
1157 | </Grid> |
||
1158 | </GroupBox> |
||
1159 | </Grid> |
||
1160 | </TabItem> |
||
1161 | <TabItem Header="Map elements style" HorizontalAlignment="Left" Height="20" VerticalAlignment="Top" Width="118" Margin="-19,0,0,0"> |
||
1162 | <Grid> |
||
1163 | <Border Margin="0,10,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Right" Width="222" Height="263" VerticalAlignment="Top"> |
||
1164 | <Grid Margin="-0.5,-0.5,-0.5,1.5"> |
||
1165 | <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"> |
||
1166 | <ComboBoxItem Content="red"/> |
||
1167 | <ComboBoxItem Content="green"/> |
||
1168 | <ComboBoxItem Content="blue"/> |
||
1169 | <ComboBoxItem Content="yellow"/> |
||
1170 | <ComboBoxItem Content="pink"/> |
||
1171 | </ComboBox> |
||
1172 | <Label x:Name="label4_Copy3" Content="Failsave color" HorizontalAlignment="Right" Margin="0,137,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
||
1173 | <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"> |
||
1174 | <ComboBoxItem Content="red"/> |
||
1175 | <ComboBoxItem Content="green"/> |
||
1176 | <ComboBoxItem Content="blue"/> |
||
1177 | <ComboBoxItem Content="yellow"/> |
||
1178 | <ComboBoxItem Content="pink"/> |
||
1179 | </ComboBox> |
||
1180 | <Label x:Name="label4_Copy1" Content="WP color" HorizontalAlignment="Right" Margin="0,75,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
||
1181 | <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"> |
||
1182 | <ComboBoxItem Content="red"/> |
||
1183 | <ComboBoxItem Content="green"/> |
||
1184 | <ComboBoxItem Content="blue"/> |
||
1185 | <ComboBoxItem Content="yellow"/> |
||
1186 | <ComboBoxItem Content="pink"/> |
||
1187 | </ComboBox> |
||
1188 | <Label x:Name="label4_Copy2" Content="POI color" HorizontalAlignment="Right" Margin="0,75,28,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
||
1189 | <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"> |
||
1190 | <ComboBoxItem Content="red"/> |
||
1191 | <ComboBoxItem Content="green"/> |
||
1192 | <ComboBoxItem Content="blue"/> |
||
1193 | <ComboBoxItem Content="yellow"/> |
||
1194 | <ComboBoxItem Content="pink"/> |
||
1195 | </ComboBox> |
||
1196 | <Label x:Name="label4_Copy4" Content="Copter color" HorizontalAlignment="Right" Margin="0,3,134,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
||
1197 | <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"> |
||
1198 | <ComboBoxItem Content="red"/> |
||
1199 | <ComboBoxItem Content="green"/> |
||
1200 | <ComboBoxItem Content="blue"/> |
||
1201 | <ComboBoxItem Content="yellow"/> |
||
1202 | <ComboBoxItem Content="pink"/> |
||
1203 | </ComboBox> |
||
1204 | <Label x:Name="label4_Copy10" Content="Route color" HorizontalAlignment="Right" Margin="0,195,133,0" VerticalAlignment="Top" Width="80" Foreground="White"/> |
||
1205 | <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"> |
||
1206 | <ComboBoxItem Content="red"/> |
||
1207 | <ComboBoxItem Content="green"/> |
||
1208 | <ComboBoxItem Content="blue"/> |
||
1209 | <ComboBoxItem Content="yellow"/> |
||
1210 | <ComboBoxItem Content="pink"/> |
||
1211 | </ComboBox> |
||
1212 | <Label x:Name="label4_Copy31" Content="Landing color" HorizontalAlignment="Right" Margin="0,137,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
||
1213 | <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"> |
||
1214 | <ComboBoxItem Content="red"/> |
||
1215 | <ComboBoxItem Content="green"/> |
||
1216 | <ComboBoxItem Content="blue"/> |
||
1217 | <ComboBoxItem Content="yellow"/> |
||
1218 | <ComboBoxItem Content="pink"/> |
||
1219 | </ComboBox> |
||
1220 | <Label x:Name="label4_Copy33" Content="Heading color" HorizontalAlignment="Right" Margin="0,3,12,0" VerticalAlignment="Top" Width="96" Foreground="White"/> |
||
1221 | <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"> |
||
1222 | <ComboBoxItem Content="red"/> |
||
1223 | <ComboBoxItem Content="green"/> |
||
1224 | <ComboBoxItem Content="blue"/> |
||
1225 | <ComboBoxItem Content="yellow"/> |
||
1226 | <ComboBoxItem Content="pink"/> |
||
1227 | </ComboBox> |
||
1228 | <Label x:Name="label4_Copy39" Content="max range color" HorizontalAlignment="Right" Margin="0,195,10,0" VerticalAlignment="Top" Width="97" Foreground="White"/> |
||
1229 | |||
1230 | </Grid> |
||
1231 | </Border> |
||
1232 | <Label Content="Copter size" HorizontalAlignment="Left" VerticalAlignment="Top" Width="77" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,297,0,0"/> |
||
1233 | <Label x:Name="lblCopterZoomVal" HorizontalAlignment="Right" Margin="0,321,49,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="26" Content="{Binding Value, ElementName=SliderCopterZoom}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1234 | <Label.Style> |
||
1235 | <Style TargetType="{x:Type Label}"> |
||
1236 | <Style.Triggers> |
||
1237 | <DataTrigger Binding="{Binding Value, ElementName=SliderCopterZoom}"> |
||
1238 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderCopterZoom}" /> |
||
1239 | </DataTrigger> |
||
1240 | </Style.Triggers> |
||
1241 | </Style> |
||
1242 | </Label.Style> |
||
1243 | </Label> |
||
1244 | <Slider x:Name="SliderCopterZoom" HorizontalAlignment="Right" Height="29" Margin="0,321,75,0" VerticalAlignment="Top" Width="143" Maximum="2" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.001" SmallChange="0.001" Value="1" IsSnapToTickEnabled="True" Minimum="0.1" TickFrequency="0.001" RenderTransformOrigin="0.671,0.552" ValueChanged="SliderCopterZoom_ValueChanged"/> |
||
1245 | <Label Content="Waypoints size" HorizontalAlignment="Left" VerticalAlignment="Top" Width="87" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,351,0,0"/> |
||
1246 | <Label x:Name="lblWPZoomVal" HorizontalAlignment="Right" Margin="0,375,49,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="26" Content="{Binding Value, ElementName=SliderWPZoom}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1247 | <Label.Style> |
||
1248 | <Style TargetType="{x:Type Label}"> |
||
1249 | <Style.Triggers> |
||
1250 | <DataTrigger Binding="{Binding Value, ElementName=SliderWPZoom}"> |
||
1251 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderWPZoom}" /> |
||
1252 | </DataTrigger> |
||
1253 | </Style.Triggers> |
||
1254 | </Style> |
||
1255 | </Label.Style> |
||
1256 | </Label> |
||
1257 | <Slider x:Name="SliderWPZoom" HorizontalAlignment="Right" Height="29" Margin="0,375,75,0" VerticalAlignment="Top" Width="143" Maximum="2" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.001" SmallChange="0.001" Value="1" IsSnapToTickEnabled="True" Minimum="0.1" TickFrequency="0.001" RenderTransformOrigin="0.671,0.552" ValueChanged="SliderWPZoom_ValueChanged"/> |
||
1258 | <Label Content="Home size" HorizontalAlignment="Left" VerticalAlignment="Top" Width="87" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,407,0,0"/> |
||
1259 | <Label x:Name="lblHPZoom" HorizontalAlignment="Right" Margin="0,431,49,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="26" Content="{Binding Value, ElementName=SliderHPZoom}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1260 | <Label.Style> |
||
1261 | <Style TargetType="{x:Type Label}"> |
||
1262 | <Style.Triggers> |
||
1263 | <DataTrigger Binding="{Binding Value, ElementName=SliderHPZoom}"> |
||
1264 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderHPZoom}" /> |
||
1265 | </DataTrigger> |
||
1266 | </Style.Triggers> |
||
1267 | </Style> |
||
1268 | </Label.Style> |
||
1269 | </Label> |
||
1270 | <Slider x:Name="SliderHPZoom" HorizontalAlignment="Right" Height="29" Margin="0,431,75,0" VerticalAlignment="Top" Width="143" Maximum="2" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.001" SmallChange="0.001" Value="1" IsSnapToTickEnabled="True" Minimum="0.1" TickFrequency="0.001" RenderTransformOrigin="0.671,0.552" ValueChanged="SliderHomeZoom_ValueChanged"/> |
||
1271 | |||
1272 | </Grid> |
||
1273 | </TabItem> |
||
1274 | </TabControl> |
||
1275 | </Grid> |
||
1276 | <Border BorderThickness="0,2,0,0" Height="2" Margin="0,34,0,0" VerticalAlignment="Top" Visibility="Hidden"> |
||
1277 | <Border.BorderBrush> |
||
1278 | <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> |
||
1279 | <GradientStop Color="#FF9DCAF9" Offset="0"/> |
||
1280 | <GradientStop Color="#FF004385" Offset="1"/> |
||
1281 | </LinearGradientBrush> |
||
1282 | </Border.BorderBrush> |
||
1283 | </Border> |
||
1284 | <ArtificialHorizon:ArtificialHorizon x:Name="ArtHor" Margin="0,0,-21,-28" Height="143" Width="177" HorizontalAlignment="Right" VerticalAlignment="Bottom" Visibility="{Binding IsChecked, Converter={StaticResource BooleanToVisibility}, ElementName=chkBoxShowHorizon}"> |
||
1285 | <ArtificialHorizon:ArtificialHorizon.RenderTransform> |
||
1286 | <ScaleTransform |
||
1287 | CenterX="136" |
||
1288 | CenterY="117" |
||
1289 | ScaleX="{Binding Value, ElementName=UIScaleHorizonSlider}" |
||
1290 | ScaleY="{Binding Value, ElementName=UIScaleHorizonSlider}" |
||
1291 | /> |
||
1292 | </ArtificialHorizon:ArtificialHorizon.RenderTransform> |
||
1293 | </ArtificialHorizon:ArtificialHorizon> |
||
1294 | <Grid x:Name="GridLog" Margin="257,0,0,0" Background="#66000000" Height="66" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="518"> |
||
1295 | <Grid.LayoutTransform> |
||
1296 | <ScaleTransform |
||
1297 | CenterX="0" |
||
1298 | CenterY="0" |
||
1299 | ScaleX="{Binding Value, ElementName=UIScaleLOGSlider}" |
||
1300 | ScaleY="{Binding Value, ElementName=UIScaleLOGSlider}" |
||
1301 | /> |
||
1302 | </Grid.LayoutTransform> |
||
1303 | <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" /> |
||
1304 | <RichTextBox x:Name="rtfTerminal" Margin="0,0,239,2" HorizontalAlignment="Right" Width="276" Height="60" VerticalAlignment="Bottom" /> |
||
1305 | </Grid> |
||
1306 | <Grid x:Name="GridMotors" Margin="0,38,25,0" Background="#66000000" Height="285" VerticalAlignment="Top" HorizontalAlignment="Right" Width="132" Visibility="Hidden"> |
||
1307 | <Grid.LayoutTransform> |
||
1308 | <ScaleTransform |
||
1309 | CenterX="0" |
||
1310 | CenterY="0" |
||
1311 | ScaleX="{Binding Value, ElementName=UIScaleMotorsSlider}" |
||
1312 | ScaleY="{Binding Value, ElementName=UIScaleMotorsSlider}" |
||
1313 | /> |
||
1314 | </Grid.LayoutTransform> |
||
1315 | <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}"/> |
||
1316 | <!--<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"/>--> |
||
1317 | </Grid> |
||
1318 | <Grid x:Name="GridOSD" Margin="0,38,330,0" Background="#66000000" Height="127" VerticalAlignment="Top" HorizontalAlignment="Right" Width="257" Visibility="Hidden"> |
||
1319 | <Grid.LayoutTransform> |
||
1320 | <ScaleTransform |
||
1321 | CenterX="0" |
||
1322 | CenterY="0" |
||
1323 | ScaleX="{Binding Value, ElementName=UIScaleOSDSlider}" |
||
1324 | ScaleY="{Binding Value, ElementName=UIScaleOSDSlider}" |
||
1325 | /> |
||
1326 | </Grid.LayoutTransform> |
||
1327 | <RichTextBox x:Name="rtfOSD" Height="83" VerticalAlignment="Top" HorizontalAlignment="Left" Width="190" Margin="10,5,0,0" FontFamily="Consolas" FontSize="16" /> |
||
1328 | <ComboBox x:Name="cbOSD" HorizontalAlignment="Left" Margin="203,96,0,0" VerticalAlignment="Top" Width="47" Height="27" DropDownClosed="cbOSD_DropDownClosing"/> |
||
1329 | <Button x:Name="btnOSDBackward" Content="Å" HorizontalAlignment="Left" Height="34" Margin="203,44,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDBackward_Click"/> |
||
1330 | <Button x:Name="btnOSDForward" Content="Æ" HorizontalAlignment="Left" Height="34" Margin="203,5,0,0" VerticalAlignment="Top" Width="47" FontFamily="Wingdings 3" Click="btnOSDForward_Click"/> |
||
1331 | <Label x:Name="label_Copy7" Content="Page" HorizontalAlignment="Left" Margin="205,78,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="47"/> |
||
1332 | <Button x:Name="btnOSDEnter" Content="" HorizontalAlignment="Left" Height="34" Margin="87,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDEnter_Click"/> |
||
1333 | <Button x:Name="btnOSDLeave" Content="" HorizontalAlignment="Left" Height="34" Margin="144,90,0,0" VerticalAlignment="Top" Width="52" Click="btnOSDLeave_Click"/> |
||
1334 | </Grid> |
||
1335 | <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"> |
||
1336 | <Label.Background> |
||
1337 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
||
1338 | <GradientStop Color="#FFFFD8C6"/> |
||
1339 | <GradientStop Color="#FFFFD29B" Offset="0.18"/> |
||
1340 | <GradientStop Color="#FFFFD07F" Offset="0.391"/> |
||
1341 | <GradientStop Color="#FFFFA261" Offset="1"/> |
||
1342 | </LinearGradientBrush> |
||
1343 | </Label.Background> |
||
1344 | </Label> |
||
1345 | <Grid x:Name="GridWP" Margin="23,36,25,0" Background="#7F000000" Height="435" VerticalAlignment="Top" Visibility="Collapsed"> |
||
1346 | <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"/> |
||
1347 | <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"/> |
||
1348 | <Label x:Name="label4_Copy" Content="WP Index" HorizontalAlignment="Left" Margin="94,194,0,0" VerticalAlignment="Top" Width="80" Foreground="White" Visibility="Hidden"/> |
||
1349 | <Label x:Name="lblWPIndex" Content="##" HorizontalAlignment="Left" Margin="170,194,0,0" VerticalAlignment="Top" Width="28" Foreground="White" Visibility="Hidden"/> |
||
1350 | <Border Margin="7,365,0,0" BorderBrush="White" BorderThickness="0.5" CornerRadius="5" HorizontalAlignment="Left" Width="577" Height="67" VerticalAlignment="Top"> |
||
1351 | <Grid Margin="0,0,-1,4"> |
||
1352 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="104,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1353 | <Rectangle.Style> |
||
1354 | <Style TargetType="{x:Type Rectangle}"> |
||
1355 | <Style.Triggers> |
||
1356 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnGetWPList}" Value="True"> |
||
1357 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1358 | </DataTrigger> |
||
1359 | </Style.Triggers> |
||
1360 | </Style> |
||
1361 | </Rectangle.Style> |
||
1362 | </Rectangle> |
||
1363 | <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}"> |
||
1364 | <Button.Background> |
||
1365 | <ImageBrush ImageSource="Images/FromCopterToPc1.png" Stretch="Uniform"/> |
||
1366 | </Button.Background> |
||
1367 | </Button> |
||
1368 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="5,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1369 | <Rectangle.Style> |
||
1370 | <Style TargetType="{x:Type Rectangle}"> |
||
1371 | <Style.Triggers> |
||
1372 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendWPList}" Value="True"> |
||
1373 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1374 | </DataTrigger> |
||
1375 | </Style.Triggers> |
||
1376 | </Style> |
||
1377 | </Rectangle.Style> |
||
1378 | </Rectangle> |
||
1379 | <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}"> |
||
1380 | <Button.Background> |
||
1381 | <ImageBrush ImageSource="Images/WPToCopter1.png" Stretch="Uniform"/> |
||
1382 | </Button.Background> |
||
1383 | </Button> |
||
1384 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="221,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1385 | <Rectangle.Style> |
||
1386 | <Style TargetType="{x:Type Rectangle}"> |
||
1387 | <Style.Triggers> |
||
1388 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnLoadWPLFile}" Value="True"> |
||
1389 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1390 | </DataTrigger> |
||
1391 | </Style.Triggers> |
||
1392 | </Style> |
||
1393 | </Rectangle.Style> |
||
1394 | </Rectangle> |
||
1395 | <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}"> |
||
1396 | <Button.Background> |
||
1397 | <ImageBrush ImageSource="Images/LoadFile.png" Stretch="Uniform"/> |
||
1398 | </Button.Background> |
||
1399 | </Button> |
||
1400 | <Label x:Name="label4_Copy5" Content="receive from copter" HorizontalAlignment="Left" Margin="99,0,0,36" VerticalAlignment="Bottom" Width="116" Foreground="White" Height="26"/> |
||
1401 | <Label x:Name="label4_Copy6" Content="send to copter" HorizontalAlignment="Left" Margin="2,0,0,36" VerticalAlignment="Bottom" Width="86" Foreground="White" Height="26"/> |
||
1402 | <Label x:Name="label4_Copy7" Content="load file" HorizontalAlignment="Left" Margin="218,0,0,35" VerticalAlignment="Bottom" Width="62" Foreground="White"/> |
||
1403 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="377,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1404 | <Rectangle.Style> |
||
1405 | <Style TargetType="{x:Type Rectangle}"> |
||
1406 | <Style.Triggers> |
||
1407 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearWPList}" Value="True"> |
||
1408 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1409 | </DataTrigger> |
||
1410 | </Style.Triggers> |
||
1411 | </Style> |
||
1412 | </Rectangle.Style> |
||
1413 | </Rectangle> |
||
1414 | <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"> |
||
1415 | <Button.Background> |
||
1416 | <ImageBrush ImageSource="Images/DeleteList.png" Stretch="Uniform"/> |
||
1417 | </Button.Background> |
||
1418 | </Button> |
||
1419 | <Label x:Name="label4_Copy11" Content="clear local list" HorizontalAlignment="Left" Margin="373,0,0,35" VerticalAlignment="Bottom" Width="93" Foreground="White"/> |
||
1420 | <Rectangle HorizontalAlignment="Left" Width="94" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="476,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1421 | <Rectangle.Style> |
||
1422 | <Style TargetType="{x:Type Rectangle}"> |
||
1423 | <Style.Triggers> |
||
1424 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnClearCopterList}" Value="True"> |
||
1425 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1426 | </DataTrigger> |
||
1427 | </Style.Triggers> |
||
1428 | </Style> |
||
1429 | </Rectangle.Style> |
||
1430 | </Rectangle> |
||
1431 | <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"> |
||
1432 | <Button.Background> |
||
1433 | <ImageBrush ImageSource="Images/DeleteCopterList.png" Stretch="Uniform"/> |
||
1434 | </Button.Background> |
||
1435 | </Button> |
||
1436 | <Label x:Name="label4_Copy12" Content="clear copter list" HorizontalAlignment="Left" Margin="472,0,0,36" VerticalAlignment="Bottom" Width="93" Foreground="White" Height="26"/> |
||
1437 | <Rectangle HorizontalAlignment="Left" Width="68" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="293,0,0,-1" Height="40" VerticalAlignment="Bottom"> |
||
1438 | <Rectangle.Style> |
||
1439 | <Style TargetType="{x:Type Rectangle}"> |
||
1440 | <Style.Triggers> |
||
1441 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveWPLFile}" Value="True"> |
||
1442 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1443 | </DataTrigger> |
||
1444 | </Style.Triggers> |
||
1445 | </Style> |
||
1446 | </Rectangle.Style> |
||
1447 | </Rectangle> |
||
1448 | <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}"> |
||
1449 | <Button.Background> |
||
1450 | <ImageBrush ImageSource="Images/SaveFile.png" Stretch="Uniform"/> |
||
1451 | </Button.Background> |
||
1452 | </Button> |
||
1453 | <Label x:Name="label4_Copy13" Content="save file" HorizontalAlignment="Left" Margin="290,0,0,35" VerticalAlignment="Bottom" Width="71" Foreground="White"/> |
||
1454 | </Grid> |
||
1455 | </Border> |
||
1456 | <DataGrid x:Name="dgvWP" Margin="10,5,10,84" 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"> |
||
1457 | <DataGrid.Columns> |
||
1458 | <DataGridTextColumn x:Name="dataGridTextColumn" Header="Index" Binding="{Binding Index}"/> |
||
1459 | <DataGridTextColumn Header="Type" Binding="{Binding Type, ConverterParameter=Type, Converter={StaticResource wpConvert}}"/> |
||
1460 | <DataGridTextColumn Header="Name" Binding="{Binding Name}"/> |
||
1461 | <DataGridTextColumn Header="Latitude" Binding="{Binding Latitude, ConverterParameter=Latitude, Converter={StaticResource wpConvert}}"/> |
||
1462 | <DataGridTextColumn Header="Longitude" Binding="{Binding Longitude, ConverterParameter=Longitude, Converter={StaticResource wpConvert}}"/> |
||
1463 | <DataGridTextColumn Header="Altitude" Binding="{Binding Altitude, ConverterParameter=Altitude, Converter={StaticResource wpConvert}}"/> |
||
1464 | <DataGridTextColumn Header="Heading" Binding="{Binding Heading, ConverterParameter=Heading, Converter={StaticResource wpConvert}}"/> |
||
1465 | <DataGridTextColumn Header="Speed" Binding="{Binding Speed, ConverterParameter=Speed, Converter={StaticResource wpConvert}}"/> |
||
1466 | <DataGridTextColumn Header="ClimbRate" Binding="{Binding ClimbRate, ConverterParameter=ClimbRate, Converter={StaticResource wpConvert}}"/> |
||
1467 | <DataGridTextColumn Header="Radius" Binding="{Binding Radius, ConverterParameter=Radius, Converter={StaticResource wpConvert}}"/> |
||
1468 | <DataGridTextColumn Header="HoldTime" Binding="{Binding HoldTime, ConverterParameter=DelayTime, Converter={StaticResource wpConvert}}"/> |
||
1469 | <DataGridTextColumn Header="AutoTrigger" Binding="{Binding AutoTrigger, ConverterParameter=AutoTrigger, Converter={StaticResource wpConvert}}"/> |
||
1470 | <DataGridTextColumn Header="CamAngle" Binding="{Binding CamAngle, ConverterParameter=CamAngle, Converter={StaticResource wpConvert}}"/> |
||
1471 | <DataGridTextColumn Header="Out1Timer" Binding="{Binding Out1Timer}"/> |
||
1472 | </DataGrid.Columns> |
||
1473 | </DataGrid> |
||
1474 | <CheckBox x:Name="checkBoxShowWPRoute" Content="show route" HorizontalAlignment="Right" Height="22" Margin="0,361,183,0" VerticalAlignment="Top" Width="110" Foreground="#FFFFFEFE" Click="checkBoxShowWPRoute_Click"/> |
||
1475 | <Label x:Name="label4_Copy9" Content="total distance" HorizontalAlignment="Right" Margin="0,356,51,0" VerticalAlignment="Top" Width="99" Foreground="White" Padding="0" Height="18" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" FontSize="13"/> |
||
1476 | <Label x:Name="lblWPRouteDistance" Content="0 m" HorizontalAlignment="Right" Margin="0,356,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
||
1477 | <Label x:Name="label4_Copy14" Content="/" HorizontalAlignment="Right" Margin="0,405,29,0" VerticalAlignment="Top" Width="7" Foreground="White" Height="20" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
||
1478 | <Label x:Name="lblWPCountNC" Content="##" HorizontalAlignment="Right" Margin="0,413,2,0" VerticalAlignment="Top" Width="25" Foreground="White" Padding="0" Height="16" FontSize="13"/> |
||
1479 | <Label x:Name="label4_Copy15" Content="active WP" HorizontalAlignment="Right" Margin="0,405,61,0" VerticalAlignment="Top" Width="65" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
||
1480 | <Label x:Name="lblWPIndexNC" Content="##" HorizontalAlignment="Right" Margin="0,408,36,0" VerticalAlignment="Top" Width="25" Foreground="White" HorizontalContentAlignment="Right" Padding="0" Height="16" FontSize="13"/> |
||
1481 | <Rectangle x:Name="rectSimulate" HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="624,0,0,10" Height="37" VerticalAlignment="Bottom" Visibility="Collapsed"> |
||
1482 | <Rectangle.Fill> |
||
1483 | <LinearGradientBrush EndPoint="0,1" StartPoint="0,0"> |
||
1484 | <GradientStop Color="#FF9DFFAA"/> |
||
1485 | <GradientStop Color="#FF5DE094" Offset="0.236"/> |
||
1486 | <GradientStop Color="#FF5DD6A0" Offset="0.39"/> |
||
1487 | <GradientStop Color="#FF4FCF8F" Offset="1"/> |
||
1488 | </LinearGradientBrush> |
||
1489 | </Rectangle.Fill> |
||
1490 | </Rectangle> |
||
1491 | <Rectangle HorizontalAlignment="Left" Width="59" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="595,389,0,0" Height="37" VerticalAlignment="Top"> |
||
1492 | <Rectangle.Style> |
||
1493 | <Style TargetType="{x:Type Rectangle}"> |
||
1494 | <Style.Triggers> |
||
1495 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPSimulateStart}" Value="True"> |
||
1496 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1497 | </DataTrigger> |
||
1498 | </Style.Triggers> |
||
1499 | </Style> |
||
1500 | </Rectangle.Style> |
||
1501 | </Rectangle> |
||
1502 | <Button x:Name="btnWPSimulateStart" Content="" HorizontalAlignment="Left" Height="33" Margin="595,391,0,0" VerticalAlignment="Top" Width="58" ToolTip="Start/stop simulationmode on copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPSimulateStart_Click"> |
||
1503 | <Button.Background> |
||
1504 | <ImageBrush ImageSource="Images/Test.png" Stretch="Uniform"/> |
||
1505 | </Button.Background> |
||
1506 | </Button> |
||
1507 | <Label x:Name="label4_Copy32" Content="Simulation" HorizontalAlignment="Left" Margin="590,367,0,0" VerticalAlignment="Top" Width="74" Foreground="White" Height="26"/> |
||
1508 | <Label x:Name="label4_Copy35" Content="distance next WP" HorizontalAlignment="Right" Margin="0,371,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
||
1509 | <Label x:Name="lblWPRouteDistanceWP" Content="0 m" HorizontalAlignment="Right" Margin="0,373,4,0" VerticalAlignment="Top" Width="42" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
||
1510 | <Label x:Name="label4_Copy36" Content="hold time" HorizontalAlignment="Right" Margin="0,388,51,0" VerticalAlignment="Top" Width="118" Foreground="White" Height="21" HorizontalContentAlignment="Right" Padding="0" VerticalContentAlignment="Center" FontSize="13"/> |
||
1511 | <Label x:Name="lblWPHoldTime" Content="0 s" HorizontalAlignment="Right" Margin="0,395,10,0" VerticalAlignment="Top" Width="36" Foreground="White" HorizontalContentAlignment="Right" VerticalContentAlignment="Center" Padding="0" FontSize="13"/> |
||
1512 | <CheckBox x:Name="checkBoxShowWPStatus" Content="show statusbar" HorizontalAlignment="Right" Height="22" Margin="0,379,182,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPStatus_Click"/> |
||
1513 | <CheckBox x:Name="checkBoxShowWPMaxRange" Content="show max range" HorizontalAlignment="Right" Height="22" Margin="0,397,182,0" VerticalAlignment="Top" Width="111" Foreground="#FFFFFEFE" Click="checkBoxShowWPMaxRange_click"/> |
||
1514 | <CheckBox x:Name="checkBoxAutoShowWPEdit" Content="auto show edit window" HorizontalAlignment="Right" Height="22" Margin="0,415,141,-2" VerticalAlignment="Top" Width="152" Foreground="#FFFFFEFE" Click="checkBoxAutoShowWPEdit_Click" ToolTip="automaticly open the WP-Edit window, when selecting a WP"/> |
||
1515 | </Grid> |
||
1516 | <Grid x:Name="GridSideBarR" Background="#66000000" Margin="0,36,0,0" HorizontalAlignment="Right" Width="23"> |
||
1517 | <Rectangle x:Name="rectMotorTempWarn" Fill="#00FF0000" HorizontalAlignment="Left" Height="23" Margin="0,8,0,0" VerticalAlignment="Top" Width="23"/> |
||
1518 | <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"> |
||
1519 | <Label.RenderTransform> |
||
1520 | <TransformGroup> |
||
1521 | <ScaleTransform/> |
||
1522 | <SkewTransform/> |
||
1523 | <RotateTransform Angle="90"/> |
||
1524 | <TranslateTransform/> |
||
1525 | </TransformGroup> |
||
1526 | </Label.RenderTransform> |
||
1527 | <Label.Style> |
||
1528 | <Style TargetType="{x:Type Label}"> |
||
1529 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
1530 | <Style.Triggers> |
||
1531 | <Trigger Property="IsMouseOver" Value="True"> |
||
1532 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
1533 | </Trigger> |
||
1534 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridMotors}" Value="True"> |
||
1535 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
1536 | </DataTrigger> |
||
1537 | </Style.Triggers> |
||
1538 | </Style> |
||
1539 | </Label.Style> |
||
1540 | </Label> |
||
1541 | <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"> |
||
1542 | <Label.RenderTransform> |
||
1543 | <TransformGroup> |
||
1544 | <ScaleTransform/> |
||
1545 | <SkewTransform/> |
||
1546 | <RotateTransform Angle="90"/> |
||
1547 | <TranslateTransform/> |
||
1548 | </TransformGroup> |
||
1549 | </Label.RenderTransform> |
||
1550 | <Label.Style> |
||
1551 | <Style TargetType="{x:Type Label}"> |
||
1552 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
1553 | <Style.Triggers> |
||
1554 | <Trigger Property="IsMouseOver" Value="True"> |
||
1555 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
1556 | </Trigger> |
||
1557 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridOSD}" Value="True"> |
||
1558 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
1559 | </DataTrigger> |
||
1560 | </Style.Triggers> |
||
1561 | </Style> |
||
1562 | </Label.Style> |
||
1563 | </Label> |
||
1564 | <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"> |
||
1565 | <TextBox.Resources> |
||
1566 | <Style TargetType="{x:Type Border}"> |
||
1567 | <Setter Property="CornerRadius" Value="30"/> |
||
1568 | </Style> |
||
1569 | </TextBox.Resources> |
||
1570 | </TextBox> |
||
1571 | <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"/> |
||
1572 | <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"/> |
||
1573 | <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"/> |
||
1574 | <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"> |
||
1575 | <TextBox.Resources> |
||
1576 | <Style TargetType="{x:Type Border}"> |
||
1577 | <Setter Property="CornerRadius" Value="30"/> |
||
1578 | </Style> |
||
1579 | </TextBox.Resources> |
||
1580 | </TextBox> |
||
1581 | <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"/> |
||
1582 | <Label x:Name="labelWPEdit" Content="WP-Edit" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,308,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelWPEdit_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
||
1583 | <Label.RenderTransform> |
||
1584 | <TransformGroup> |
||
1585 | <ScaleTransform/> |
||
1586 | <SkewTransform/> |
||
1587 | <RotateTransform Angle="90"/> |
||
1588 | <TranslateTransform/> |
||
1589 | </TransformGroup> |
||
1590 | </Label.RenderTransform> |
||
1591 | <Label.Style> |
||
1592 | <Style TargetType="{x:Type Label}"> |
||
1593 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
1594 | <Style.Triggers> |
||
1595 | <Trigger Property="IsMouseOver" Value="True"> |
||
1596 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
1597 | </Trigger> |
||
1598 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridWPEdit}" Value="True"> |
||
1599 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
1600 | </DataTrigger> |
||
1601 | </Style.Triggers> |
||
1602 | </Style> |
||
1603 | </Label.Style> |
||
1604 | </Label> |
||
1605 | <Label x:Name="labelCamera" Content="Camera" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="-25,383,-26,0" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="labelCamera_MouseDown" FontSize="14" HorizontalAlignment="Left" Width="74" Height="22" VerticalAlignment="Top"> |
||
1606 | <Label.RenderTransform> |
||
1607 | <TransformGroup> |
||
1608 | <ScaleTransform/> |
||
1609 | <SkewTransform/> |
||
1610 | <RotateTransform Angle="90"/> |
||
1611 | <TranslateTransform/> |
||
1612 | </TransformGroup> |
||
1613 | </Label.RenderTransform> |
||
1614 | <Label.Style> |
||
1615 | <Style TargetType="{x:Type Label}"> |
||
1616 | <Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}"/> |
||
1617 | <Style.Triggers> |
||
1618 | <Trigger Property="IsMouseOver" Value="True"> |
||
1619 | <Setter Property="Background" Value="{DynamicResource PressedItemBrush}"/> |
||
1620 | </Trigger> |
||
1621 | <DataTrigger Binding="{Binding IsVisible, ElementName=GridCam}" Value="True"> |
||
1622 | <Setter Property="Background" Value="{DynamicResource ActiveItemBrush}"/> |
||
1623 | </DataTrigger> |
||
1624 | </Style.Triggers> |
||
1625 | </Style> |
||
1626 | </Label.Style> |
||
1627 | </Label> |
||
1628 | <Label x:Name="labelCam_pic" Content="" Padding="0" RenderTransformOrigin="0.5,0.5" Margin="0,0,0,29" HorizontalContentAlignment="Center" VerticalContentAlignment="Stretch" MouseDown="lblCam_Click" FontSize="14" HorizontalAlignment="Left" Width="23" Height="22" VerticalAlignment="Bottom" ToolTip="show/hide camera image (when active)"> |
||
1629 | <Label.Background> |
||
1630 | <ImageBrush ImageSource="Images/Photo-Camera.ico" Stretch="Uniform"/> |
||
1631 | </Label.Background> |
||
1632 | </Label> |
||
1633 | </Grid> |
||
1634 | <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}"> |
||
1635 | <Canvas Margin="225,2,40,4"> |
||
1636 | <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"/> |
||
1637 | <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"/> |
||
1638 | <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"/> |
||
1639 | <Label x:Name="lblWPStatusCountNC" Content="##" HorizontalAlignment="Right" VerticalAlignment="Center" Width="25" Foreground="White" Padding="0" Height="31" FontSize="14" Canvas.Left="59" VerticalContentAlignment="Center"/> |
||
1640 | </Canvas> |
||
1641 | <Canvas Margin="79,3,189,158" ToolTip="distance next WP"> |
||
1642 | <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"/> |
||
1643 | <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"/> |
||
1644 | </Canvas> |
||
1645 | <Canvas Margin="2,3,257,0" ToolTip="hold time"> |
||
1646 | <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"/> |
||
1647 | <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"/> |
||
1648 | </Canvas> |
||
1649 | <Canvas Margin="161,2,114,4" ToolTip="WP height"> |
||
1650 | <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"/> |
||
1651 | <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"/> |
||
1652 | </Canvas> |
||
1653 | </Grid> |
||
1654 | <Grid x:Name="GridWPEdit" Margin="0,38,25,0" Background="#A5000000" Height="617" VerticalAlignment="Top" HorizontalAlignment="Right" Width="305" Visibility="Collapsed"> |
||
1655 | <Label x:Name="lblWPEditAlt" HorizontalAlignment="Right" Margin="0,52,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAlt}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1656 | <Label.Style> |
||
1657 | <Style TargetType="{x:Type Label}"> |
||
1658 | <Style.Triggers> |
||
1659 | <DataTrigger Binding="{Binding Value, ElementName=SliderAlt}"> |
||
1660 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderAlt}" /> |
||
1661 | </DataTrigger> |
||
1662 | </Style.Triggers> |
||
1663 | </Style> |
||
1664 | </Label.Style> |
||
1665 | </Label> |
||
1666 | <Slider x:Name="SliderAlt" HorizontalAlignment="Right" Height="29" Margin="0,51,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" /> |
||
1667 | <Label x:Name="label4_Copy41" Content="Altitude" HorizontalAlignment="Left" Margin="7,53,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1668 | <Label x:Name="lblWPEditHeading" HorizontalAlignment="Right" Margin="0,96,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHeading}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1669 | <Label.Style> |
||
1670 | <Style TargetType="{x:Type Label}"> |
||
1671 | <Setter Property="Visibility" Value="Collapsed" /> |
||
1672 | <Style.Triggers> |
||
1673 | <DataTrigger Binding="{Binding Value, ElementName=SliderHeading}"> |
||
1674 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderHeading}"/> |
||
1675 | </DataTrigger> |
||
1676 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2"> |
||
1677 | <Setter Property="Visibility" Value="Visible"/> |
||
1678 | <Setter Property="ContentStringFormat" Value="{}{0} °" /> |
||
1679 | </DataTrigger> |
||
1680 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1"> |
||
1681 | <Setter Property="Visibility" Value="Visible"/> |
||
1682 | </DataTrigger> |
||
1683 | </Style.Triggers> |
||
1684 | </Style> |
||
1685 | </Label.Style> |
||
1686 | </Label> |
||
1687 | <Slider x:Name="SliderHeading" HorizontalAlignment="Right" Height="29" Margin="0,95,59,0" VerticalAlignment="Top" Width="158" FontSize="20" LargeChange="1" SmallChange="1" Value="359" IsSnapToTickEnabled="True"> |
||
1688 | <Slider.Style > |
||
1689 | <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}"> |
||
1690 | <Setter Property="Visibility" Value="Collapsed" /> |
||
1691 | <Style.Triggers> |
||
1692 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="1"> |
||
1693 | <Setter Property="Visibility" Value="Visible"/> |
||
1694 | <Setter Property="Maximum" Value="99"/> |
||
1695 | <Setter Property="Minimum" Value="1"/> |
||
1696 | </DataTrigger> |
||
1697 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditHeading}" Value="2"> |
||
1698 | <Setter Property="Visibility" Value="Visible"/> |
||
1699 | <Setter Property="Maximum" Value="359"/> |
||
1700 | <Setter Property="Minimum" Value="0"/> |
||
1701 | </DataTrigger> |
||
1702 | </Style.Triggers> |
||
1703 | </Style> |
||
1704 | </Slider.Style> |
||
1705 | </Slider> |
||
1706 | |||
1707 | <Label x:Name="label4_Copy42" Content="Heading" HorizontalAlignment="Left" Margin="7,83,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1708 | <ComboBox x:Name="cbWPEditHeading" HorizontalAlignment="Left" Height="22" Margin="7,101,0,0" VerticalAlignment="Top" Width="69"> |
||
1709 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
||
1710 | <ComboBoxItem Content="WP/POI"/> |
||
1711 | <ComboBoxItem Content="degree"/> |
||
1712 | </ComboBox> |
||
1713 | <Label x:Name="lblWPEditSpeed" HorizontalAlignment="Right" Margin="0,140,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderSpeed}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1714 | <Label.Style> |
||
1715 | <Style TargetType="{x:Type Label}"> |
||
1716 | <Setter Property="Visibility" Value="Collapsed" /> |
||
1717 | <Style.Triggers> |
||
1718 | <DataTrigger Binding="{Binding Value, ElementName=SliderSpeed}"> |
||
1719 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderSpeed}"/> |
||
1720 | </DataTrigger> |
||
1721 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1"> |
||
1722 | <Setter Property="Visibility" Value="Visible"/> |
||
1723 | </DataTrigger> |
||
1724 | </Style.Triggers> |
||
1725 | </Style> |
||
1726 | </Label.Style> |
||
1727 | </Label> |
||
1728 | <Slider x:Name="SliderSpeed" HorizontalAlignment="Right" Height="29" Margin="0,139,59,0" VerticalAlignment="Top" Width="158" Maximum="24.7" FontSize="20" Value="24.7" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True"> |
||
1729 | <Slider.Style > |
||
1730 | <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}"> |
||
1731 | <Setter Property="Visibility" Value="Collapsed" /> |
||
1732 | <Style.Triggers> |
||
1733 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditSpeed}" Value="1"> |
||
1734 | <Setter Property="Visibility" Value="Visible"/> |
||
1735 | </DataTrigger> |
||
1736 | </Style.Triggers> |
||
1737 | </Style> |
||
1738 | </Slider.Style> |
||
1739 | </Slider> |
||
1740 | <Label x:Name="label4_Copy43" Content="Speed" HorizontalAlignment="Left" Margin="7,127,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1741 | <ComboBox x:Name="cbWPEditSpeed" HorizontalAlignment="Left" Height="22" Margin="7,145,0,0" VerticalAlignment="Top" Width="69"> |
||
1742 | <ComboBoxItem Content="MAX"/> |
||
1743 | <ComboBoxItem Content="m/s"/> |
||
1744 | <ComboBoxItem Content="Poti 1"/> |
||
1745 | <ComboBoxItem Content="Poti 2"/> |
||
1746 | <ComboBoxItem Content="Poti 3"/> |
||
1747 | <ComboBoxItem Content="Poti 4"/> |
||
1748 | <ComboBoxItem Content="Poti 5"/> |
||
1749 | <ComboBoxItem Content="Poti 6"/> |
||
1750 | <ComboBoxItem Content="Poti 7"/> |
||
1751 | <ComboBoxItem Content="Poti 8"/> |
||
1752 | </ComboBox> |
||
1753 | <Label x:Name="lblWPEditClimbrate" HorizontalAlignment="Right" Margin="0,185,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderClimbrate}" ContentStringFormat="{}{0} m/s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1754 | <Label.Style> |
||
1755 | <Style TargetType="{x:Type Label}"> |
||
1756 | <Style.Triggers> |
||
1757 | <DataTrigger Binding="{Binding Value, ElementName=SliderClimbrate}"> |
||
1758 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderClimbrate}"/> |
||
1759 | </DataTrigger> |
||
1760 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0"> |
||
1761 | <Setter Property="Visibility" Value="Hidden"/> |
||
1762 | </DataTrigger> |
||
1763 | </Style.Triggers> |
||
1764 | </Style> |
||
1765 | </Label.Style> |
||
1766 | </Label> |
||
1767 | <Slider x:Name="SliderClimbrate" HorizontalAlignment="Right" Height="29" Margin="0,184,59,0" VerticalAlignment="Top" Width="158" Maximum="25.4" FontSize="20" Value="26" Minimum="0.1" LargeChange="0.1" TickFrequency="0.1" IsSnapToTickEnabled="True"> |
||
1768 | <Slider.Style > |
||
1769 | <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}"> |
||
1770 | <Style.Triggers> |
||
1771 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditClimbrate}" Value="0"> |
||
1772 | <Setter Property="Visibility" Value="Hidden"/> |
||
1773 | </DataTrigger> |
||
1774 | </Style.Triggers> |
||
1775 | </Style> |
||
1776 | </Slider.Style> |
||
1777 | </Slider> |
||
1778 | <Label x:Name="label4_Copy44" Content="Climbrate" HorizontalAlignment="Left" Margin="7,172,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1779 | <ComboBox x:Name="cbWPEditClimbrate" HorizontalAlignment="Left" Height="22" Margin="7,190,0,0" VerticalAlignment="Top" Width="69"> |
||
1780 | <ComboBoxItem Content="AUTO"/> |
||
1781 | <ComboBoxItem Content="m/s"/> |
||
1782 | </ComboBox> |
||
1783 | <Label x:Name="lblWPEditRadius" HorizontalAlignment="Right" Margin="0,227,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderRadius}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1784 | <Label.Style> |
||
1785 | <Style TargetType="{x:Type Label}"> |
||
1786 | <Style.Triggers> |
||
1787 | <DataTrigger Binding="{Binding Value, ElementName=SliderRadius}"> |
||
1788 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderRadius}" /> |
||
1789 | </DataTrigger> |
||
1790 | </Style.Triggers> |
||
1791 | </Style> |
||
1792 | </Label.Style> |
||
1793 | </Label> |
||
1794 | <Slider x:Name="SliderRadius" HorizontalAlignment="Right" Height="29" Margin="0,226,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" /> |
||
1795 | <Label x:Name="label4_Copy45" Content="Radius" HorizontalAlignment="Left" Margin="7,228,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1796 | <Label x:Name="lblWPEditHoldtime" HorizontalAlignment="Right" Margin="0,269,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderHoldTime}" ContentStringFormat="{}{0} s" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1797 | <Label.Style> |
||
1798 | <Style TargetType="{x:Type Label}"> |
||
1799 | <Style.Triggers> |
||
1800 | <DataTrigger Binding="{Binding Value, ElementName=SliderHoldTime}"> |
||
1801 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderHoldTime}" /> |
||
1802 | </DataTrigger> |
||
1803 | </Style.Triggers> |
||
1804 | </Style> |
||
1805 | </Label.Style> |
||
1806 | </Label> |
||
1807 | <Slider x:Name="SliderHoldTime" HorizontalAlignment="Right" Height="29" Margin="0,268,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" /> |
||
1808 | <Label x:Name="label4_Copy46" Content="Holdtime" HorizontalAlignment="Left" Margin="7,270,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1809 | <Label x:Name="lblWPEditAutoTrigger" HorizontalAlignment="Right" Margin="0,311,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderAutoTrigger}" ContentStringFormat="{}{0} m" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1810 | <Label.Style> |
||
1811 | <Style TargetType="{x:Type Label}"> |
||
1812 | <Style.Triggers> |
||
1813 | <DataTrigger Binding="{Binding Value, ElementName=SliderAutoTrigger}"> |
||
1814 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderAutoTrigger}" /> |
||
1815 | </DataTrigger> |
||
1816 | </Style.Triggers> |
||
1817 | </Style> |
||
1818 | </Label.Style> |
||
1819 | </Label> |
||
1820 | <Slider x:Name="SliderAutoTrigger" HorizontalAlignment="Right" Height="29" Margin="0,310,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" /> |
||
1821 | <Label x:Name="label4_Copy47" Content="Autotrigger" HorizontalAlignment="Left" Margin="7,312,0,0" Width="69" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1822 | <Label x:Name="lblWPEditCamAngle" HorizontalAlignment="Right" Margin="0,358,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderCamAngle}" ContentStringFormat="{}{0} °" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1823 | <Label.Style> |
||
1824 | <Style TargetType="{x:Type Label}"> |
||
1825 | <Setter Property="Visibility" Value="Hidden" /> |
||
1826 | <Style.Triggers> |
||
1827 | <DataTrigger Binding="{Binding Value, ElementName=SlideCamAngle}"> |
||
1828 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderCamAngle}"/> |
||
1829 | </DataTrigger> |
||
1830 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2"> |
||
1831 | <Setter Property="Visibility" Value="Visible"/> |
||
1832 | </DataTrigger> |
||
1833 | </Style.Triggers> |
||
1834 | </Style> |
||
1835 | </Label.Style> |
||
1836 | </Label> |
||
1837 | <Slider x:Name="SliderCamAngle" HorizontalAlignment="Right" Height="29" Margin="0,357,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" Minimum="1"> |
||
1838 | <Slider.Style > |
||
1839 | <Style BasedOn="{StaticResource TouchSliderStyle}" TargetType="{x:Type Slider}"> |
||
1840 | <Setter Property="Visibility" Value="Hidden" /> |
||
1841 | <Style.Triggers> |
||
1842 | <DataTrigger Binding="{Binding SelectedIndex,ElementName=cbWPEditCamAngle}" Value="2"> |
||
1843 | <Setter Property="Visibility" Value="Visible"/> |
||
1844 | </DataTrigger> |
||
1845 | </Style.Triggers> |
||
1846 | </Style> |
||
1847 | </Slider.Style> |
||
1848 | </Slider> |
||
1849 | |||
1850 | <Label x:Name="label4_Copy48" Content="Camera angle" HorizontalAlignment="Left" Margin="7,345,0,0" Width="81" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1851 | <ComboBox x:Name="cbWPEditCamAngle" HorizontalAlignment="Left" Height="22" Margin="7,365,0,0" VerticalAlignment="Top" Width="69"> |
||
1852 | <ComboBoxItem Content=" - - - " HorizontalContentAlignment="Center"/> |
||
1853 | <ComboBoxItem Content="AUTO"/> |
||
1854 | <ComboBoxItem Content="degree"/> |
||
1855 | </ComboBox> |
||
1856 | <Label x:Name="lblWPEditOut1" HorizontalAlignment="Right" Margin="0,400,0,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="50" Content="{Binding Value, ElementName=SliderOut1}" ContentStringFormat="{}{0} ms" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
1857 | <Label.Style> |
||
1858 | <Style TargetType="{x:Type Label}"> |
||
1859 | <Style.Triggers> |
||
1860 | <DataTrigger Binding="{Binding Value, ElementName=SliderOut1}"> |
||
1861 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderOut1}" /> |
||
1862 | </DataTrigger> |
||
1863 | </Style.Triggers> |
||
1864 | </Style> |
||
1865 | </Label.Style> |
||
1866 | </Label> |
||
1867 | <Slider x:Name="SliderOut1" HorizontalAlignment="Right" Height="29" Margin="0,399,59,0" VerticalAlignment="Top" Width="158" Maximum="254" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="1" SmallChange="1" Value="254" IsSnapToTickEnabled="True" /> |
||
1868 | <Label x:Name="label4_Copy49" Content="OUT1 timer" HorizontalAlignment="Left" Margin="7,401,0,0" Width="69" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1869 | <ComboBox x:Name="cbWPEditType" HorizontalAlignment="Left" Height="22" Margin="6,18,0,0" VerticalAlignment="Top" Width="70"> |
||
1870 | <ComboBoxItem Content="WP"/> |
||
1871 | <ComboBoxItem Content="POI"/> |
||
1872 | <ComboBoxItem Content="Failsafe"/> |
||
1873 | <ComboBoxItem Content="Landing"/> |
||
1874 | </ComboBox> |
||
1875 | <Label x:Name="label4a" Content="Type" HorizontalAlignment="Left" Margin="7,0,0,0" Width="39" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1876 | <Label x:Name="label4b" Content="Prefix" HorizontalAlignment="Left" Margin="82,0,0,0" Width="35" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
1877 | <TextBox x:Name="tbWPEditPrefix" HorizontalAlignment="Left" Height="22" Margin="82,18,0,0" VerticalAlignment="Top" Width="29" IsUndoEnabled="False" MaxLines="1" MaxLength="1" Foreground="White" Background="{x:Null}" VerticalContentAlignment="Center" IsTabStop="False"/> |
||
1878 | <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="7,0,0,131" Height="31" VerticalAlignment="Bottom"> |
||
1879 | <Rectangle.Style> |
||
1880 | <Style TargetType="{x:Type Rectangle}"> |
||
1881 | <Style.Triggers> |
||
1882 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSave}" Value="True"> |
||
1883 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1884 | </DataTrigger> |
||
1885 | </Style.Triggers> |
||
1886 | </Style> |
||
1887 | </Rectangle.Style> |
||
1888 | </Rectangle> |
||
1889 | <Button x:Name="btnEditWPSave" Content="" HorizontalAlignment="Left" Height="26" Margin="9,0,0,133" VerticalAlignment="Bottom" Width="71" ToolTip="save the changes made to the list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSave_Click"> |
||
1890 | <Button.Background> |
||
1891 | <ImageBrush ImageSource="Images/Save.png" Stretch="Uniform"/> |
||
1892 | </Button.Background> |
||
1893 | </Button> |
||
1894 | <Label x:Name="label4_Copy27" Content="save changes" HorizontalAlignment="Left" Margin="5,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
||
1895 | <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="85,0,0,131" Height="31" VerticalAlignment="Bottom" ToolTip="add WP to list"> |
||
1896 | <Rectangle.Style> |
||
1897 | <Style TargetType="{x:Type Rectangle}"> |
||
1898 | <Style.Triggers> |
||
1899 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPAdd}" Value="True"> |
||
1900 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1901 | </DataTrigger> |
||
1902 | </Style.Triggers> |
||
1903 | </Style> |
||
1904 | </Rectangle.Style> |
||
1905 | </Rectangle> |
||
1906 | <Button x:Name="btnEditWPAdd" HorizontalAlignment="Left" Height="29" Margin="85,0,0,132" VerticalAlignment="Bottom" Width="74" ToolTip="add WP to list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPAdd_Click" RenderTransformOrigin="0.5,0.5" Background="{x:Null}"> |
||
1907 | <Button.RenderTransform> |
||
1908 | <TransformGroup> |
||
1909 | <ScaleTransform/> |
||
1910 | <SkewTransform/> |
||
1911 | <RotateTransform Angle="0.013"/> |
||
1912 | <TranslateTransform/> |
||
1913 | </TransformGroup> |
||
1914 | </Button.RenderTransform> |
||
1915 | <Image x:Name="image" Height="23" Width="26" Source="Images/Delete.png" RenderTransformOrigin="0.5,0.5"> |
||
1916 | <Image.RenderTransform> |
||
1917 | <TransformGroup> |
||
1918 | <ScaleTransform/> |
||
1919 | <SkewTransform/> |
||
1920 | <RotateTransform Angle="45"/> |
||
1921 | <TranslateTransform/> |
||
1922 | </TransformGroup> |
||
1923 | </Image.RenderTransform> |
||
1924 | </Image> |
||
1925 | </Button> |
||
1926 | <Label x:Name="label4_Copy30" Content="add WP" HorizontalAlignment="Left" Margin="86,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
||
1927 | <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="163,0,0,131" Height="31" VerticalAlignment="Bottom"> |
||
1928 | <Rectangle.Style> |
||
1929 | <Style TargetType="{x:Type Rectangle}"> |
||
1930 | <Style.Triggers> |
||
1931 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPDel}" Value="True"> |
||
1932 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1933 | </DataTrigger> |
||
1934 | </Style.Triggers> |
||
1935 | </Style> |
||
1936 | </Rectangle.Style> |
||
1937 | </Rectangle> |
||
1938 | <Button x:Name="btnEditWPDel" Content="" HorizontalAlignment="Left" Height="25" Margin="167,0,0,134" VerticalAlignment="Bottom" Width="68" ToolTip="delete WP from list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPDel_Click"> |
||
1939 | <Button.Background> |
||
1940 | <ImageBrush ImageSource="Images/Delete.png" Stretch="Uniform"/> |
||
1941 | </Button.Background> |
||
1942 | </Button> |
||
1943 | <Label x:Name="label4_Copy40" Content="delete WP" HorizontalAlignment="Left" Margin="164,0,0,159" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
||
1944 | <Label x:Name="lblWPEditIndex" Content="##" HorizontalAlignment="Left" Height="23" Margin="111,17,0,0" VerticalAlignment="Top" Width="29" Foreground="White" VerticalContentAlignment="Center"/> |
||
1945 | <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="251,0,0,124" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
||
1946 | <Rectangle.Style> |
||
1947 | <Style TargetType="{x:Type Rectangle}"> |
||
1948 | <Style.Triggers> |
||
1949 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveUp}" Value="True"> |
||
1950 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1951 | </DataTrigger> |
||
1952 | </Style.Triggers> |
||
1953 | </Style> |
||
1954 | </Rectangle.Style> |
||
1955 | </Rectangle> |
||
1956 | <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="261,0,0,138" HorizontalAlignment="Left" VerticalAlignment="Bottom"> |
||
1957 | <ed:LineArrow.RenderTransform> |
||
1958 | <TransformGroup> |
||
1959 | <ScaleTransform/> |
||
1960 | <SkewTransform/> |
||
1961 | <RotateTransform Angle="-90"/> |
||
1962 | <TranslateTransform/> |
||
1963 | </TransformGroup> |
||
1964 | </ed:LineArrow.RenderTransform> |
||
1965 | </ed:LineArrow> |
||
1966 | <Button x:Name="btnWPEditmoveUp" HorizontalAlignment="Left" Height="34" Margin="251,0,0,124" VerticalAlignment="Bottom" Width="44" ToolTip="move WP up in list (index -1)" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveUp_Click" Padding="14,1" Background="#00000000"/> |
||
1967 | <Rectangle HorizontalAlignment="Left" Width="44" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="251,0,0,87" Height="34" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
||
1968 | <Rectangle.Style> |
||
1969 | <Style TargetType="{x:Type Rectangle}"> |
||
1970 | <Style.Triggers> |
||
1971 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditmoveDown}" Value="True"> |
||
1972 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1973 | </DataTrigger> |
||
1974 | </Style.Triggers> |
||
1975 | </Style> |
||
1976 | </Rectangle.Style> |
||
1977 | </Rectangle> |
||
1978 | <ed:LineArrow Fill="Black" Height="0" Stroke="White" StrokeThickness="4" Width="25" RenderTransformOrigin="0.5,0.5" Margin="261,0,19,106" VerticalAlignment="Bottom"> |
||
1979 | <ed:LineArrow.RenderTransform> |
||
1980 | <TransformGroup> |
||
1981 | <ScaleTransform/> |
||
1982 | <SkewTransform/> |
||
1983 | <RotateTransform Angle="90"/> |
||
1984 | <TranslateTransform/> |
||
1985 | </TransformGroup> |
||
1986 | </ed:LineArrow.RenderTransform> |
||
1987 | </ed:LineArrow> |
||
1988 | <Button x:Name="btnWPEditmoveDown" HorizontalAlignment="Left" Margin="251,0,0,87" Width="44" ToolTip="move WP down in list (index +1)" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPEditmoveDown_Click" Padding="14,1" Background="#00000000" Height="34" VerticalAlignment="Bottom"/> |
||
1989 | <Rectangle HorizontalAlignment="Left" Width="78" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="86,0,0,80" Height="31" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
||
1990 | <Rectangle.Style> |
||
1991 | <Style TargetType="{x:Type Rectangle}"> |
||
1992 | <Style.Triggers> |
||
1993 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSendActiveWP_Copy1}" Value="True"> |
||
1994 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
1995 | </DataTrigger> |
||
1996 | </Style.Triggers> |
||
1997 | </Style> |
||
1998 | </Rectangle.Style> |
||
1999 | </Rectangle> |
||
2000 | <Button x:Name="btnSendActiveWP_Copy1" Content="" HorizontalAlignment="Left" Height="28" Margin="87,0,0,81" VerticalAlignment="Bottom" Width="77" ToolTip="Set WP as active WP" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnSendActiveWP_Click"> |
||
2001 | <Button.Background> |
||
2002 | <ImageBrush ImageSource="Images/Blitz.png" Stretch="Uniform"/> |
||
2003 | </Button.Background> |
||
2004 | </Button> |
||
2005 | <Label x:Name="label4_Copy29" Content="set as active WP" HorizontalAlignment="Left" Margin="83,0,0,108" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
||
2006 | <Rectangle HorizontalAlignment="Left" Width="75" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,0,0,80" Height="31" VerticalAlignment="Bottom"> |
||
2007 | <Rectangle.Style> |
||
2008 | <Style TargetType="{x:Type Rectangle}"> |
||
2009 | <Style.Triggers> |
||
2010 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnEditWPSendToCopter}" Value="True"> |
||
2011 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2012 | </DataTrigger> |
||
2013 | </Style.Triggers> |
||
2014 | </Style> |
||
2015 | </Rectangle.Style> |
||
2016 | </Rectangle> |
||
2017 | <Button x:Name="btnEditWPSendToCopter" Content="" HorizontalAlignment="Left" Height="28" Margin="8,0,0,81" VerticalAlignment="Bottom" Width="75" ToolTip="send selected WP to copter" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnEditWPSendToCopter_Click"> |
||
2018 | <Button.Background> |
||
2019 | <ImageBrush ImageSource="Images/SendToCopter.png" Stretch="Uniform"/> |
||
2020 | </Button.Background> |
||
2021 | </Button> |
||
2022 | <Label x:Name="label4_Copy34" Content="send to copter" HorizontalAlignment="Left" Margin="2,0,0,108" VerticalAlignment="Bottom" Width="96" Foreground="White" Height="26"/> |
||
2023 | <Label x:Name="label4_Copy16" Content="Latitude" HorizontalAlignment="Left" Margin="143,0,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
2024 | <TextBox x:Name="tbWPEditLat" HorizontalAlignment="Left" Height="22" Margin="143,18,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" /> |
||
2025 | <Label x:Name="label4_Copy17" Content="Longitude" HorizontalAlignment="Left" Margin="224,0,0,0" Width="54" Foreground="White" Padding="0" Height="18" VerticalAlignment="Top"/> |
||
2026 | <TextBox x:Name="tbWPEditLon" HorizontalAlignment="Left" Height="22" Margin="224,18,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"/> |
||
2027 | <Rectangle HorizontalAlignment="Left" Width="86" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="11,0,0,19" Height="34" VerticalAlignment="Bottom"> |
||
2028 | <Rectangle.Style> |
||
2029 | <Style TargetType="{x:Type Rectangle}"> |
||
2030 | <Style.Triggers> |
||
2031 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnWPEditAddCurrentPos}" Value="True"> |
||
2032 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2033 | </DataTrigger> |
||
2034 | </Style.Triggers> |
||
2035 | </Style> |
||
2036 | </Rectangle.Style> |
||
2037 | </Rectangle> |
||
2038 | <Button x:Name="btnWPEditAddCurrentPos" Content="" HorizontalAlignment="Left" Height="32" Margin="12,0,0,20" VerticalAlignment="Bottom" Width="85" ToolTip="add current copter position to WP list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnWPAddCurrentPos_Click"> |
||
2039 | <Button.Background> |
||
2040 | <ImageBrush ImageSource="Images/CurrentPos.png" Stretch="Uniform"/> |
||
2041 | </Button.Background> |
||
2042 | </Button> |
||
2043 | <Label x:Name="label4_Copy28" Content="add current Pos" HorizontalAlignment="Left" Margin="9,0,0,49" VerticalAlignment="Bottom" Width="107" Foreground="White" Height="26"/> |
||
2044 | <CheckBox x:Name="checkBoxWPAddUseCopterHeight" Content="use copter height" HorizontalAlignment="Left" Height="16" Margin="102,564,0,0" VerticalAlignment="Top" Width="117" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeight_Click"/> |
||
2045 | <CheckBox x:Name="checkBoxWPAddUseCopterHeading" Content="use copter heading" HorizontalAlignment="Left" Height="16" Margin="102,582,0,0" VerticalAlignment="Top" Width="133" Background="White" Foreground="White" IsChecked="True" Click="checkBoxWPAddUseCopterHeading_Click"/> |
||
2046 | <Rectangle HorizontalAlignment="Left" Width="70" Stroke="White" StrokeThickness="0.5" Margin="232,0,0,19" Height="38" VerticalAlignment="Bottom" RenderTransformOrigin="0.5,0.525"> |
||
2047 | <Rectangle.Style> |
||
2048 | <Style TargetType="{x:Type Rectangle}"> |
||
2049 | <Style.Triggers> |
||
2050 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnSaveDefault}" Value="True"> |
||
2051 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2052 | </DataTrigger> |
||
2053 | </Style.Triggers> |
||
2054 | </Style> |
||
2055 | </Rectangle.Style> |
||
2056 | </Rectangle> |
||
2057 | <Button x:Name="btnSaveDefault" HorizontalAlignment="Left" Height="37" Margin="232,0,0,20" VerticalAlignment="Bottom" Width="70" ToolTip="use these values as default for new waypoints" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnSaveDefault_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2058 | <Label x:Name="label7" Content="save as
default" Height="33" Width="66" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="#19CBB8B8"/> |
||
2059 | </Button> |
||
2060 | </Grid> |
||
2061 | <Grid x:Name="GridCam" Margin="0,247,25,0" Background="#A5000000" Height="221" VerticalAlignment="Top" HorizontalAlignment="Right" Width="243" Visibility="Collapsed"> |
||
2062 | <Rectangle x:Name="rectCamStart" HorizontalAlignment="Left" Width="74" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,67,0,0" Height="36" VerticalAlignment="Top" Fill="{DynamicResource ActiveItemBrush}" Visibility="Hidden"> |
||
2063 | </Rectangle> |
||
2064 | <Rectangle HorizontalAlignment="Left" Width="74" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="8,67,0,0" Height="36" VerticalAlignment="Top"> |
||
2065 | <Rectangle.Style> |
||
2066 | <Style TargetType="{x:Type Rectangle}"> |
||
2067 | <Style.Triggers> |
||
2068 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamStart}" Value="True"> |
||
2069 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2070 | </DataTrigger> |
||
2071 | </Style.Triggers> |
||
2072 | </Style> |
||
2073 | </Rectangle.Style> |
||
2074 | </Rectangle> |
||
2075 | <Button x:Name="btnCamStart" HorizontalAlignment="Left" Height="35" Margin="9,68,0,0" VerticalAlignment="Top" Width="73" ToolTip="Start capturing" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnCamStart_Click" Foreground="White"> |
||
2076 | <Label Content="Start" HorizontalAlignment="Center" VerticalAlignment="Center" Width="37" Foreground="White" Height="16" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Padding="0"/> |
||
2077 | </Button> |
||
2078 | <Rectangle HorizontalAlignment="Left" Width="74" Stroke="White" StrokeThickness="0.5" Margin="106,67,0,0" Height="36" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2079 | <Rectangle.Style> |
||
2080 | <Style TargetType="{x:Type Rectangle}"> |
||
2081 | <Style.Triggers> |
||
2082 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamStop}" Value="True"> |
||
2083 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2084 | </DataTrigger> |
||
2085 | </Style.Triggers> |
||
2086 | </Style> |
||
2087 | </Rectangle.Style> |
||
2088 | </Rectangle> |
||
2089 | <Button x:Name="btnCamStop" HorizontalAlignment="Left" Height="36" Margin="106,67,0,0" VerticalAlignment="Top" Width="74" ToolTip="stop capturing and hide cam image" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamStop_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2090 | <Label Content="Stop" Height="16" Width="44" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center"/> |
||
2091 | </Button> |
||
2092 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="186,67,0,0" Height="36" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2093 | <Rectangle.Style> |
||
2094 | <Style TargetType="{x:Type Rectangle}"> |
||
2095 | <Style.Triggers> |
||
2096 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamSettings}" Value="True"> |
||
2097 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2098 | </DataTrigger> |
||
2099 | </Style.Triggers> |
||
2100 | </Style> |
||
2101 | </Rectangle.Style> |
||
2102 | </Rectangle> |
||
2103 | <Button x:Name="btnCamSettings" HorizontalAlignment="Left" Height="36" Margin="186,67,0,0" VerticalAlignment="Top" Width="52" ToolTip="show system settings camera dialog" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamSettings_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2104 | <Label Content="Settings" Height="16" Width="44" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center"/> |
||
2105 | </Button> |
||
2106 | <ComboBox x:Name="comboBoxCameras" HorizontalAlignment="Left" Height="33" Margin="8,29,0,0" VerticalAlignment="Top" Width="172" VerticalContentAlignment="Center" FontSize="18.667"/> |
||
2107 | <Label Content="Available cameras" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="12,8,0,0"/> |
||
2108 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="186,31,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2109 | <Rectangle.Style> |
||
2110 | <Style TargetType="{x:Type Rectangle}"> |
||
2111 | <Style.Triggers> |
||
2112 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamListRefresh}" Value="True"> |
||
2113 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2114 | </DataTrigger> |
||
2115 | </Style.Triggers> |
||
2116 | </Style> |
||
2117 | </Rectangle.Style> |
||
2118 | </Rectangle> |
||
2119 | <Button x:Name="btnCamListRefresh" HorizontalAlignment="Left" Height="30" Margin="186,31,0,0" VerticalAlignment="Top" Width="52" ToolTip="refresh available camera list" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamListRefresh_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2120 | <Label Content="refresh" Height="16" Width="44" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" ToolTip="refresh available camera list"/> |
||
2121 | </Button> |
||
2122 | |||
2123 | <Label Content="stretch picture" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="9,111,0,0"/> |
||
2124 | |||
2125 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="8,130,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2126 | <Rectangle.Style> |
||
2127 | <Style TargetType="{x:Type Rectangle}"> |
||
2128 | <Style.Triggers> |
||
2129 | <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="none"> |
||
2130 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
2131 | </DataTrigger> |
||
2132 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchNone}" Value="True"> |
||
2133 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2134 | </DataTrigger> |
||
2135 | </Style.Triggers> |
||
2136 | </Style> |
||
2137 | </Rectangle.Style> |
||
2138 | </Rectangle> |
||
2139 | <Button x:Name="btnCamPicStretchNone" HorizontalAlignment="Left" Height="30" Margin="8,130,0,0" VerticalAlignment="Top" Width="52" ToolTip="sets the cam picture to original size" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchNone_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2140 | <Label Content="none" Height="30" Width="52" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center"/> |
||
2141 | </Button> |
||
2142 | |||
2143 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="#FFE4E4E4" StrokeThickness="0.5" Margin="68,130,0,0" Height="30" VerticalAlignment="Top"> |
||
2144 | <Rectangle.Style> |
||
2145 | <Style TargetType="{x:Type Rectangle}"> |
||
2146 | <Style.Triggers> |
||
2147 | <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="fill"> |
||
2148 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
2149 | </DataTrigger> |
||
2150 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchFill}" Value="True"> |
||
2151 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2152 | </DataTrigger> |
||
2153 | </Style.Triggers> |
||
2154 | </Style> |
||
2155 | </Rectangle.Style> |
||
2156 | </Rectangle> |
||
2157 | <Button x:Name="btnCamPicStretchFill" HorizontalAlignment="Left" Height="29" Margin="68,131,0,0" VerticalAlignment="Top" Width="52" ToolTip="sets the cam picture to fill the window" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Click="btnCamPicStretchFill_Click" Foreground="White"> |
||
2158 | <Label Content="Fill" HorizontalAlignment="Center" VerticalAlignment="Center" Width="50" Foreground="White" Height="29" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" Padding="0"/> |
||
2159 | </Button> |
||
2160 | |||
2161 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="127,130,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2162 | <Rectangle.Style> |
||
2163 | <Style TargetType="{x:Type Rectangle}"> |
||
2164 | <Style.Triggers> |
||
2165 | <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="uniform"> |
||
2166 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
2167 | </DataTrigger> |
||
2168 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchUniform}" Value="True"> |
||
2169 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2170 | </DataTrigger> |
||
2171 | </Style.Triggers> |
||
2172 | </Style> |
||
2173 | </Rectangle.Style> |
||
2174 | </Rectangle> |
||
2175 | <Button x:Name="btnCamPicStretchUniform" HorizontalAlignment="Left" Height="30" Margin="127,130,0,0" VerticalAlignment="Top" Width="52" ToolTip="sets the cam picture to show the whole picture at maximum size with keeping the aspect ratio " BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchUniform_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2176 | <Label Content="uniform" Height="30" Width="52" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center"/> |
||
2177 | </Button> |
||
2178 | |||
2179 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="186,130,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2180 | <Rectangle.Style> |
||
2181 | <Style TargetType="{x:Type Rectangle}"> |
||
2182 | <Style.Triggers> |
||
2183 | <DataTrigger Binding="{Binding Stretch, ElementName=_camImage}" Value="UniformToFill"> |
||
2184 | <Setter Property="Fill" Value="{DynamicResource ActiveItemBrush}"/> |
||
2185 | </DataTrigger> |
||
2186 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamPicStretchUFill}" Value="True"> |
||
2187 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2188 | </DataTrigger> |
||
2189 | </Style.Triggers> |
||
2190 | </Style> |
||
2191 | </Rectangle.Style> |
||
2192 | </Rectangle> |
||
2193 | <Button x:Name="btnCamPicStretchUFill" HorizontalAlignment="Left" Height="30" Margin="186,130,0,0" VerticalAlignment="Top" Width="52" ToolTip="sets the cam picture to fill the window with keeping the aspect ratio" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamPicStretchUFill_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2194 | <Label Content="uniform
fill" Height="32" Width="52" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center"/> |
||
2195 | </Button> |
||
2196 | <Label Content="Zoom" HorizontalAlignment="Left" VerticalAlignment="Top" Width="114" Foreground="White" Height="16" VerticalContentAlignment="Center" Padding="0" Margin="10,170,0,0"/> |
||
2197 | <Label x:Name="lblCamZoomVal" HorizontalAlignment="Right" Margin="0,186,63,0" VerticalAlignment="Top" Foreground="White" Padding="0" Width="26" Content="{Binding Value, ElementName=SliderCamZoom}" Height="21" ClipToBounds="True" VerticalContentAlignment="Center"> |
||
2198 | <Label.Style> |
||
2199 | <Style TargetType="{x:Type Label}"> |
||
2200 | <Style.Triggers> |
||
2201 | <DataTrigger Binding="{Binding Value, ElementName=SliderCamZoom}"> |
||
2202 | <Setter Property="Content" Value="{Binding Value, ElementName=SliderCamZoom}" /> |
||
2203 | </DataTrigger> |
||
2204 | </Style.Triggers> |
||
2205 | </Style> |
||
2206 | </Label.Style> |
||
2207 | </Label> |
||
2208 | <Slider x:Name="SliderCamZoom" HorizontalAlignment="Right" Height="29" Margin="0,186,92,0" VerticalAlignment="Top" Width="143" Maximum="2" FontSize="20" Style="{DynamicResource TouchSliderStyle}" LargeChange="0.001" SmallChange="0.001" Value="1" IsSnapToTickEnabled="True" Minimum="0.1" TickFrequency="0.001"/> |
||
2209 | <Rectangle HorizontalAlignment="Left" Width="52" Stroke="White" StrokeThickness="0.5" Margin="186,181,0,0" Height="30" VerticalAlignment="Top" RenderTransformOrigin="0.5,0.525"> |
||
2210 | <Rectangle.Style> |
||
2211 | <Style TargetType="{x:Type Rectangle}"> |
||
2212 | <Style.Triggers> |
||
2213 | <DataTrigger Binding="{Binding IsMouseOver, ElementName=btnCamResetZoom}" Value="True"> |
||
2214 | <Setter Property="Fill" Value="{DynamicResource PressedItemBrush}"/> |
||
2215 | </DataTrigger> |
||
2216 | </Style.Triggers> |
||
2217 | </Style> |
||
2218 | </Rectangle.Style> |
||
2219 | </Rectangle> |
||
2220 | <Button x:Name="btnCamResetZoom" HorizontalAlignment="Left" Height="30" Margin="186,181,0,0" VerticalAlignment="Top" Width="52" ToolTip="reset zoom and position of none stretched cam image" BorderBrush="#FFBDBDBD" Style="{DynamicResource ButtonWithoutEffectStyle}" Background="{x:Null}" Click="btnCamResetZoom_Click" Foreground="#FFFFFEFE" Padding="1" VerticalContentAlignment="Center" HorizontalContentAlignment="Center"> |
||
2221 | <Label Content="reset" Height="16" Width="44" Foreground="White" Padding="2,-1,1,1" HorizontalContentAlignment="Center" HorizontalAlignment="Center" VerticalAlignment="Center" Background="{x:Null}" VerticalContentAlignment="Center" ToolTip="refresh available camera list"/> |
||
2222 | </Button> |
||
2223 | |||
2224 | </Grid> |
||
2225 | <Canvas x:Name="canvasAddPoint" HorizontalAlignment="Left" Height="196" Margin="470,180,0,0" VerticalAlignment="Top" Width="137" Background="#7F000000" Visibility="Collapsed" MouseLeave="canvasAddPoint_MouseLeave" LostMouseCapture="canvasAddPoint_MouseLeave"> |
||
2226 | <Button x:Name="btnCmAddWP" Content="add waypoint" Height="40" Canvas.Left="10" Canvas.Top="10" Width="117" Click="btnCmAddWP_Click"/> |
||
2227 | <Button x:Name="btnCmAddLanding" Content="add landingpoint" Height="40" Canvas.Left="10" Canvas.Top="55" Width="117" Click="btnCmAddLanding_Click"/> |
||
2228 | <Button x:Name="btnCmAddFailsave" Content="add failsavepoint" Height="40" Canvas.Left="10" Canvas.Top="100" Width="117" Click="btnCmAddFailsave_Click"/> |
||
2229 | <Button x:Name="btnCmAddPOI" Content="add POI" Height="40" Canvas.Left="10" Canvas.Top="146" Width="117" Click="btnCmAddPOI_Click"/> |
||
2230 | </Canvas> |
||
2231 | <!--<Rectangle x:Name="rctConnection" Fill="#FFF4F4F5" Height="16" Margin="0,10,7,0" Stroke="Black" VerticalAlignment="Top" HorizontalAlignment="Right" Width="15"/>--> |
||
2232 | </Grid> |
||
2233 | <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" Visibility="Collapsed"> |
||
2234 | <Label.Background> |
||
2235 | <LinearGradientBrush EndPoint="0.5,1" MappingMode="RelativeToBoundingBox" StartPoint="0.5,0"> |
||
2236 | <GradientStop Color="#B2FF2121" Offset="0.457"/> |
||
2237 | <GradientStop Color="Red" Offset="1"/> |
||
2238 | </LinearGradientBrush> |
||
2239 | </Label.Background> |
||
2240 | </Label> |
||
2241 | </Grid> |
||
2242 | </Window> |