2023-12-20 09:58:16 +00:00
|
|
|
|
<UserControl
|
|
|
|
|
|
x:Class="_20230724_MBJC_upperpc.Views.FirstPageBuoyControl"
|
|
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
2024-01-17 01:24:32 +00:00
|
|
|
|
xmlns:converters="clr-namespace:_20230724_MBJC_upperpc.Common"
|
2023-12-20 09:58:16 +00:00
|
|
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
|
|
|
|
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
2024-01-17 01:24:32 +00:00
|
|
|
|
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
|
2023-12-20 09:58:16 +00:00
|
|
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
2024-01-17 01:24:32 +00:00
|
|
|
|
Name="Window"
|
2023-12-20 09:58:16 +00:00
|
|
|
|
d:DesignHeight="500"
|
|
|
|
|
|
d:DesignWidth="700"
|
|
|
|
|
|
mc:Ignorable="d">
|
2024-01-17 01:24:32 +00:00
|
|
|
|
<UserControl.Resources>
|
|
|
|
|
|
<ResourceDictionary>
|
|
|
|
|
|
<converters:AspectRatioConverter x:Key="AspectRatioConverter" />
|
|
|
|
|
|
</ResourceDictionary>
|
|
|
|
|
|
</UserControl.Resources>
|
2023-12-18 09:31:28 +00:00
|
|
|
|
<Grid>
|
2024-01-19 05:04:06 +00:00
|
|
|
|
<local:BuoyModel
|
|
|
|
|
|
x:Name="BuoyModel"
|
|
|
|
|
|
Grid.Column="0"
|
2024-02-27 09:21:02 +00:00
|
|
|
|
AnimationEnable="False"
|
|
|
|
|
|
TBDEnable="False" />
|
2024-01-17 01:24:32 +00:00
|
|
|
|
<Border
|
|
|
|
|
|
Grid.Column="1"
|
|
|
|
|
|
Width="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=3}"
|
|
|
|
|
|
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=4}"
|
|
|
|
|
|
Margin="0,10,0,0"
|
|
|
|
|
|
HorizontalAlignment="Left"
|
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
|
CornerRadius="10">
|
|
|
|
|
|
<Viewbox>
|
|
|
|
|
|
<Grid>
|
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
|
<RowDefinition />
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
|
Grid.Row="0"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock Foreground="{Binding ElementName=TextJD, Path=Foreground}" Text="基阵经度: " />
|
|
|
|
|
|
<TextBlock Name="TextJD" Text="119°27′31″" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
|
Grid.Row="1"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock Foreground="{Binding ElementName=TextJD, Path=Foreground}" Text="基阵纬度: " />
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
Name="TextWD"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="27°30′45″" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
|
Grid.Row="2"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock Foreground="{Binding ElementName=TextJD, Path=Foreground}" Text="基阵深度: " />
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
Name="TextSD"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="3米" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<!--<StackPanel
|
2023-12-20 09:58:16 +00:00
|
|
|
|
Grid.Row="4"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="基阵翻滚角:" />
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
Name="TextFGJ"
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="40°" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
|
Grid.Row="5"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="基阵俯仰角:" />
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
Name="TextFYJ"
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="40°" />
|
|
|
|
|
|
</StackPanel>
|
|
|
|
|
|
<StackPanel
|
|
|
|
|
|
Grid.Row="6"
|
|
|
|
|
|
Margin="5,0,0,0"
|
|
|
|
|
|
VerticalAlignment="Center"
|
|
|
|
|
|
Orientation="Horizontal">
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="基阵偏航角角:" />
|
|
|
|
|
|
<TextBlock
|
|
|
|
|
|
Name="TextPHJ"
|
|
|
|
|
|
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
|
|
|
|
|
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
|
|
|
|
|
Text="40°" />
|
2024-01-17 01:24:32 +00:00
|
|
|
|
</StackPanel>-->
|
|
|
|
|
|
</Grid>
|
|
|
|
|
|
</Viewbox>
|
|
|
|
|
|
|
2023-12-20 09:58:16 +00:00
|
|
|
|
</Border>
|
2024-01-17 01:24:32 +00:00
|
|
|
|
<Button
|
|
|
|
|
|
x:Name="Bigger"
|
|
|
|
|
|
Width="40"
|
|
|
|
|
|
Height="40"
|
|
|
|
|
|
HorizontalAlignment="Right"
|
|
|
|
|
|
VerticalAlignment="Top"
|
|
|
|
|
|
Click="OnButtonClick"
|
|
|
|
|
|
Style="{StaticResource MaterialDesignIconButton}"
|
|
|
|
|
|
ToolTip="详细情况">
|
|
|
|
|
|
<materialDesign:PackIcon Kind="BorderRadius" />
|
|
|
|
|
|
</Button>
|
2023-12-18 09:31:28 +00:00
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
|
|
|
|
</UserControl>
|