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