192 lines
8.7 KiB
XML
192 lines
8.7 KiB
XML
<UserControl
|
||
x:Class="_20230724_MBJC_upperpc.Views.FirstPageAnchorControl"
|
||
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="500"
|
||
d:DesignWidth="700"
|
||
FontSize="10"
|
||
mc:Ignorable="d">
|
||
<Grid x:Name="grid">
|
||
<Grid.ColumnDefinitions>
|
||
<ColumnDefinition Width="3*" />
|
||
<ColumnDefinition Width="2*" />
|
||
</Grid.ColumnDefinitions>
|
||
<local:AnchorModel
|
||
x:Name="AnchorModel"
|
||
Grid.Column="0"
|
||
Visibility="Visible" />
|
||
<local:SupportModel
|
||
x:Name="SupportModel"
|
||
Grid.Column="0"
|
||
Visibility="Collapsed" />
|
||
<Border
|
||
Name="Data_Area"
|
||
Grid.Column="1"
|
||
Margin="0,5,0,5"
|
||
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°27′31″" />
|
||
</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°30′45″" />
|
||
</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
|
||
FontSize="{Binding ElementName=TextID, Path=FontSize}"
|
||
Foreground="{Binding ElementName=TextID, Path=Foreground}"
|
||
Text="温度:" />
|
||
<TextBlock
|
||
Name="Temp"
|
||
FontSize="{Binding ElementName=TextID, Path=FontSize}"
|
||
Foreground="{Binding ElementName=TextID, Path=Foreground}"
|
||
Text="21℃" />
|
||
</StackPanel>
|
||
<!--<TextBox Name="TextAlarm" Grid.Row="9" VerticalAlignment="Top" HorizontalAlignment="Left" Text="告警:当前基阵航向角偏移" Foreground="Red" Margin="5,5,0,0" MaxLines="5" TextWrapping="Wrap" FontSize="{Binding ElementName=TextID,Path=FontSize}"/>-->
|
||
</Grid>
|
||
</Border>
|
||
</Grid>
|
||
</UserControl>
|