20230724_MBJC_upperpc/Views/FirstPageSupportControl.xaml
2023-12-20 17:58:16 +08:00

176 lines
8.0 KiB
XML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<UserControl
x:Class="_20230724_MBJC_upperpc.Views.FirstPageSupportControl"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
d:DesignHeight="450"
d:DesignWidth="800"
mc:Ignorable="d">
<Grid x:Name="grid">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<local:SupportModel x:Name="SupportModel" Grid.Column="0" />
<Border Grid.Column="1" CornerRadius="10">
<Border.Background>
<SolidColorBrush Opacity="0.4" Color="SkyBlue" />
</Border.Background>
<Grid Margin="0,10,0,0">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<StackPanel
Grid.Row="0"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
Name="DateTime"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}" />
</StackPanel>
<StackPanel
Grid.Row="1"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标ID:" />
<TextBlock Name="TextID" Text="1" />
</StackPanel>
<StackPanel
Grid.Row="2"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标经度:" />
<TextBlock
Name="TextJD"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="119°2731″" />
</StackPanel>
<StackPanel
Grid.Row="3"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标纬度:" />
<TextBlock
Name="TextWD"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="27°3045″" />
</StackPanel>
<StackPanel
Grid.Row="4"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标深度:" />
<TextBlock
Name="TextSD"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="9米" />
</StackPanel>
<StackPanel
Grid.Row="5"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标横滚角:" />
<TextBlock
Name="TextHGJ"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="90°" />
</StackPanel>
<StackPanel
Grid.Row="6"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标俯仰角:" />
<TextBlock
Name="TextFYJ"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="90°" />
</StackPanel>
<StackPanel
Grid.Row="7"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="信标偏航角:" />
<TextBlock
Name="TextPHJ"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="90°" />
</StackPanel>
<StackPanel
Grid.Row="8"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="定位距离:" />
<TextBlock
Name="DWJL"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="365米" />
</StackPanel>
<StackPanel
Grid.Row="9"
Margin="5,0,0,0"
VerticalAlignment="Center"
Orientation="Horizontal">
<TextBlock Text="温度:" />
<TextBlock
Name="Temp"
FontSize="{Binding ElementName=TextID, Path=FontSize}"
Foreground="{Binding ElementName=TextID, Path=Foreground}"
Text="21℃" />
</StackPanel>
</Grid>
</Border>
</Grid>
</UserControl>