mirror of
https://github.com/dotMorten/NmeaParser.git
synced 2026-01-21 08:00:20 +01:00
42 lines
1.8 KiB
XML
42 lines
1.8 KiB
XML
<Page
|
|
x:Class="SampleApp.UWP.MainPage"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:local="using:SampleApp.UWP"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
mc:Ignorable="d">
|
|
|
|
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}" Padding="10">
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
</Grid.RowDefinitions>
|
|
|
|
<StackPanel x:Name="gnssMonitorView" BorderBrush="Black" BorderThickness="1" Padding="5" CornerRadius="3">
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="Latitude: " />
|
|
<TextBlock Text="{Binding Latitude}" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="Longitude: " />
|
|
<TextBlock Text="{Binding Longitude}" />
|
|
</StackPanel>
|
|
<StackPanel Orientation="Horizontal">
|
|
<TextBlock Text="Altitude: " />
|
|
<TextBlock Text="{Binding Altitude}" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<ComboBox Header="NMEA Device:" x:Name="nmeaDevicePicker" Grid.Row="1" Margin="0, 10" />
|
|
<StackPanel Orientation="Horizontal" Grid.Row="2">
|
|
<Button Content="Start" x:Name="startButton" Click="startButton_Click" />
|
|
<Button Content="Stop" IsEnabled="False" x:Name="stopButton" Click="stopButton_Click" />
|
|
</StackPanel>
|
|
|
|
<TextBox x:Name="output" Grid.Row="3" AcceptsReturn="True" Header="NMEA Messages" Margin="0, 10" />
|
|
</Grid>
|
|
</Page>
|