修改了主界面
This commit is contained in:
parent
b80f2fdb34
commit
c6abdadd70
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
25
Common/AspectRatioConverter.cs
Normal file
25
Common/AspectRatioConverter.cs
Normal file
@ -0,0 +1,25 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace _20230724_MBJC_upperpc.Common
|
||||
{
|
||||
public class AspectRatioConverter: IValueConverter
|
||||
{
|
||||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
double ratio = double.Parse(value.ToString()) / double.Parse(parameter.ToString());
|
||||
return ratio;
|
||||
}
|
||||
|
||||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
59
Common/BottomCenterYConverter.cs
Normal file
59
Common/BottomCenterYConverter.cs
Normal file
@ -0,0 +1,59 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using System.Windows;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace _20230724_MBJC_upperpc.Common
|
||||
{
|
||||
public class BottomCenterYConverter : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
Point StartPoint = new Point(); ;
|
||||
Point FirstCorner = new Point(); ;
|
||||
Point SecondCorner = new Point(); ;
|
||||
Point EndPoint = new Point(); ;
|
||||
|
||||
if (int.Parse(parameter.ToString()) == 1 || int.Parse(parameter.ToString()) == 2)
|
||||
{
|
||||
StartPoint = new Point((double)values[0] + (double)values[1] / 2, (double)values[3]);
|
||||
FirstCorner = new Point((double)values[0] + (double)values[1] / 2, ((double)values[3] + (double)values[6] + (double)values[7]) / 2);
|
||||
SecondCorner = new Point((double)values[4] + (double)values[5] / 2, ((double)values[3] + (double)values[6] + (double)values[7]) / 2);
|
||||
EndPoint = new Point((double)values[4] + (double)values[5] / 2, (double)values[6] + (double)values[7]);
|
||||
|
||||
}
|
||||
else if (int.Parse(parameter.ToString()) == 3 || int.Parse(parameter.ToString()) == 4)
|
||||
{
|
||||
StartPoint = new Point((double)values[0], (double)values[3] + (double)values[2] / 2);
|
||||
FirstCorner = new Point(((double)values[0] + (double)values[4] + (double)values[5]) / 2, (double)values[3] + (double)values[2] / 2);
|
||||
SecondCorner = new Point(((double)values[0] + (double)values[4] + (double)values[5]) / 2, (double)values[7] + (double)values[6] / 2);
|
||||
EndPoint = new Point((double)values[4] + (double)values[5], (double)values[7] + (double)values[6] / 2);
|
||||
}
|
||||
else if (int.Parse(parameter.ToString()) == 5 || int.Parse(parameter.ToString()) == 6)
|
||||
{
|
||||
StartPoint = new Point((double)values[0] + (double)values[1], (double)values[3] + (double)values[2] / 2);
|
||||
FirstCorner = new Point(((double)values[0] + (double)values[1] + (double)values[4]) / 2, (double)values[3] + (double)values[2] / 2);
|
||||
SecondCorner = new Point(((double)values[0] + (double)values[1] + (double)values[4]) / 2, (double)values[7] + (double)values[6] / 2);
|
||||
EndPoint = new Point((double)values[4], (double)values[7] + (double)values[6] / 2);
|
||||
}
|
||||
else if (int.Parse(parameter.ToString()) == 7 || int.Parse(parameter.ToString()) == 8)
|
||||
{
|
||||
StartPoint = new Point((double)values[0] + (double)values[1] / 2, (double)values[3] + (double)values[2]);
|
||||
FirstCorner = new Point((double)values[0] + (double)values[1] / 2, ((double)values[3] + (double)values[2] + (double)values[7]) / 2);
|
||||
SecondCorner = new Point((double)values[4] + (double)values[5] / 2, ((double)values[3] + (double)values[2] + (double)values[7]) / 2);
|
||||
EndPoint = new Point((double)values[4] + (double)values[5] / 2, (double)values[7]);
|
||||
}
|
||||
return new PointCollection { StartPoint, FirstCorner, SecondCorner, EndPoint };
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
45
Common/CenterConverterX.cs
Normal file
45
Common/CenterConverterX.cs
Normal file
@ -0,0 +1,45 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Globalization;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Media;
|
||||
|
||||
namespace _20230724_MBJC_upperpc.Common
|
||||
{
|
||||
public class CenterConverterX : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
if (parameter == null)
|
||||
return values.Length > 1 ? (double)values[0] / 2 - (double)values[1] : (double)values[0] / 2;
|
||||
if (parameter.ToString().Equals("RightBottom"))
|
||||
return (double)values[0] - (double)values[1];
|
||||
|
||||
|
||||
|
||||
return (double)values[0];
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
public class CenterConverterX_Half : IMultiValueConverter
|
||||
{
|
||||
public object Convert(object[] values, Type targetType, object parameter, CultureInfo culture)
|
||||
{
|
||||
|
||||
return ((double)values[0] - (double)values[1]) / 2;
|
||||
}
|
||||
|
||||
public object[] ConvertBack(object value, Type[] targetTypes, object parameter, CultureInfo culture)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -6,7 +6,7 @@
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc"
|
||||
xmlns:converters="clr-namespace:_20230724_MBJC_upperpc.Common"
|
||||
mc:Ignorable="d"
|
||||
Title="锚点监测项目" Height="900" Width="1600" Background="Transparent" FontFamily="Microsoft YaHei"
|
||||
Title="锚点监测项目" Height="900" Width="1600" MinHeight="900" MinWidth="1600" Background="Transparent" FontFamily="Microsoft YaHei"
|
||||
FontSize="12" FontWeight="ExtraLight" WindowStartupLocation="CenterScreen" Name="Window">
|
||||
<WindowChrome.WindowChrome>
|
||||
<WindowChrome GlassFrameThickness="-1" />
|
||||
@ -290,7 +290,13 @@
|
||||
Content="主界面"
|
||||
IsChecked="True"
|
||||
Style="{DynamicResource NavButtonStyle}" />
|
||||
<!-- 锚点1 -->
|
||||
<!-- 平台信息 -->
|
||||
<RadioButton
|
||||
Command="{Binding NavChangedCommand}"
|
||||
CommandParameter="Point1"
|
||||
Content="平台信息"
|
||||
Style="{DynamicResource NavButtonStyle}" />
|
||||
<!-- 锚点信息 -->
|
||||
<RadioButton
|
||||
Command="{Binding NavChangedCommand}"
|
||||
CommandParameter="Point1"
|
||||
|
||||
@ -58,11 +58,11 @@ namespace _20230724_MBJC_upperpc.Models
|
||||
set { position_Distance = value; this.DoNotify(); }
|
||||
}
|
||||
|
||||
private int propagationtime;
|
||||
private float propagationtime;
|
||||
/// <summary>
|
||||
/// 基站的传播时间
|
||||
/// </summary>
|
||||
public int Propagationtime
|
||||
public float Propagationtime
|
||||
{
|
||||
get { return propagationtime; }
|
||||
set { propagationtime = value; this.DoNotify(); }
|
||||
|
||||
@ -33,11 +33,22 @@ namespace _20230724_MBJC_upperpc.ViewModels
|
||||
|
||||
private BeaconModel beacon = new BeaconModel
|
||||
{
|
||||
ID = 6,
|
||||
Datetime = DateTime.Now,
|
||||
Position_Distance = 450.6589f,
|
||||
Propagationtime = 2.6f,
|
||||
Beacon_JD = 112.9635f,
|
||||
Beacon_WD = 31.5665f,
|
||||
Beacon_Depth = 49.58f,
|
||||
Beacon_Roll_Angle = 90,
|
||||
Beacon_Pitch_Angle = 0,
|
||||
Beacon_Heading_Angle = 0,
|
||||
Temp = 24.5f,
|
||||
Position_Pitch_Angle = -90,
|
||||
Position_Heading_Angle = 90,
|
||||
BasicSite_Heading = 0,
|
||||
BasicSite_JD = 119.2683f,
|
||||
Beacon_WD = 29.8955f,
|
||||
BasicSite_WD = 29.3586f,
|
||||
BasicSite_Depth = 4f,
|
||||
|
||||
};
|
||||
|
||||
@ -1,14 +1,16 @@
|
||||
<UserControl x:Class="_20230724_MBJC_upperpc.Views.AnchorModel"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
||||
xmlns:tool="clr-namespace:_3DTools;assembly=3DTools"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="500" d:DesignWidth="500">
|
||||
<UserControl
|
||||
x:Class="_20230724_MBJC_upperpc.Views.AnchorModel"
|
||||
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"
|
||||
xmlns:tool="clr-namespace:_3DTools;assembly=3DTools"
|
||||
d:DesignHeight="500"
|
||||
d:DesignWidth="500"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<tool:TrackballDecorator>
|
||||
<tool:TrackballDecorator Name="TBD">
|
||||
<Viewport3D xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Viewport3D.Camera>
|
||||
<PerspectiveCamera
|
||||
@ -21,19 +23,28 @@
|
||||
<ModelVisual3D>
|
||||
<ModelVisual3D.Transform>
|
||||
<Transform3DGroup>
|
||||
<RotateTransform3D CenterX="0" CenterY="0" CenterZ="0">
|
||||
<RotateTransform3D
|
||||
CenterX="0"
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D x:Name="rotateX" Angle="{Binding Rotate_X}" Axis="1,0,0" />
|
||||
<AxisAngleRotation3D x:Name="rotateX" Axis="1,0,0" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
<RotateTransform3D CenterX="0" CenterY="0" CenterZ="0">
|
||||
<RotateTransform3D
|
||||
CenterX="0"
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D x:Name="rotateY" Angle="{Binding Rotate_Y}" Axis="0,1,0" />
|
||||
<AxisAngleRotation3D x:Name="rotateY" Axis="0,1,0" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
<RotateTransform3D CenterX="0" CenterY="0" CenterZ="0">
|
||||
<RotateTransform3D
|
||||
CenterX="0"
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D x:Name="rotateZ" Angle="{Binding Rotate_Z}" Axis="0,0,1" />
|
||||
<AxisAngleRotation3D x:Name="rotateZ" Axis="0,0,1" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
</Transform3DGroup>
|
||||
|
||||
@ -46,6 +46,16 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
|
||||
public static readonly DependencyProperty Rotate_ZProperty = DependencyProperty.Register("Rotate_Z", typeof(float), typeof(AnchorModel), new PropertyMetadata(default(float), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(AnchorModel), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as AnchorModel).Refresh();
|
||||
@ -61,6 +71,8 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
this.rotateX.Angle = Rotate_X;
|
||||
this.rotateY.Angle = Rotate_Y;
|
||||
this.rotateZ.Angle = Rotate_Z;
|
||||
|
||||
this.TBD.IsEnabled = TBDEnable;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,14 +1,16 @@
|
||||
<UserControl x:Class="_20230724_MBJC_upperpc.Views.BuoyModel"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
||||
xmlns:tool="clr-namespace:_3DTools;assembly=3DTools"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="500" d:DesignWidth="500">
|
||||
<UserControl
|
||||
x:Class="_20230724_MBJC_upperpc.Views.BuoyModel"
|
||||
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"
|
||||
xmlns:tool="clr-namespace:_3DTools;assembly=3DTools"
|
||||
d:DesignHeight="500"
|
||||
d:DesignWidth="500"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<tool:TrackballDecorator IsEnabled="False">
|
||||
<tool:TrackballDecorator Name="TBD">
|
||||
<Viewport3D xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
<Viewport3D.Camera>
|
||||
<PerspectiveCamera
|
||||
@ -32,10 +34,7 @@
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D
|
||||
x:Name="rotateX"
|
||||
Angle="{Binding Rotate_X}"
|
||||
Axis="1,0,0" />
|
||||
<AxisAngleRotation3D x:Name="rotateX" Axis="1,0,0" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
<RotateTransform3D
|
||||
@ -43,10 +42,7 @@
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D
|
||||
x:Name="rotateY"
|
||||
Angle="{Binding Rotate_Y}"
|
||||
Axis="0,1,0" />
|
||||
<AxisAngleRotation3D x:Name="rotateY" Axis="0,1,0" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
<RotateTransform3D
|
||||
@ -54,10 +50,7 @@
|
||||
CenterY="0"
|
||||
CenterZ="0">
|
||||
<RotateTransform3D.Rotation>
|
||||
<AxisAngleRotation3D
|
||||
x:Name="rotateZ"
|
||||
Angle="{Binding Rotate_Z}"
|
||||
Axis="0,0,1" />
|
||||
<AxisAngleRotation3D x:Name="rotateZ" Axis="0,0,1" />
|
||||
</RotateTransform3D.Rotation>
|
||||
</RotateTransform3D>
|
||||
<ScaleTransform3D
|
||||
|
||||
@ -46,6 +46,17 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
|
||||
public static readonly DependencyProperty Rotate_ZProperty = DependencyProperty.Register("Rotate_Z", typeof(float), typeof(BuoyModel), new PropertyMetadata(default(float), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(BuoyModel), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as BuoyModel).Refresh();
|
||||
@ -62,6 +73,8 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
this.rotateX.Angle = Rotate_X;
|
||||
this.rotateY.Angle = Rotate_Y;
|
||||
this.rotateZ.Angle = Rotate_Z;
|
||||
|
||||
this.TBD.IsEnabled = TBDEnable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,77 +1,191 @@
|
||||
<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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="500" d:DesignWidth="700" FontSize="10">
|
||||
<Grid>
|
||||
<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="5*"/>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<local:AnchorModel x:Name="AnchorModel" Grid.Column="0"/>
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="4*"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="1" CornerRadius="10">
|
||||
<Border.Background>
|
||||
<SolidColorBrush Color="SkyBlue" Opacity="0.4"/>
|
||||
</Border.Background>
|
||||
<Grid Margin="0,10,0,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标ID:"/>
|
||||
<TextBlock Name="TextID" Text="1"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标经度:"/>
|
||||
<TextBlock Text="119°27′31″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标纬度:"/>
|
||||
<TextBlock Text="27°30′45″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标深度:"/>
|
||||
<TextBlock Text="9米"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标横滚角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="5" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标俯仰角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="6" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标偏航角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="7" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="定位距离:"/>
|
||||
<TextBlock Text="365米"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="8" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="温度:"/>
|
||||
<TextBlock Text="21℃"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<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>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using _20230724_MBJC_upperpc.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -20,9 +21,166 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
/// </summary>
|
||||
public partial class FirstPageAnchorControl : UserControl
|
||||
{
|
||||
|
||||
//字体颜色
|
||||
public Brush Text_Color
|
||||
{
|
||||
get { return (Brush)GetValue(Text_ColorProperty); }
|
||||
set { SetValue(Text_ColorProperty, value); }
|
||||
}
|
||||
|
||||
// Using a DependencyProperty as the backing store for _color. This enables animation, styling, binding, etc...
|
||||
public static readonly DependencyProperty Text_ColorProperty =
|
||||
DependencyProperty.Register("Text_Color", typeof(Brush), typeof(FirstPageAnchorControl), new PropertyMetadata(default(Brush), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
//字体大小
|
||||
public int Font_Size
|
||||
{
|
||||
get { return (int)GetValue(Font_SizeProperty); }
|
||||
set { SetValue(Font_SizeProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Font_SizeProperty =
|
||||
DependencyProperty.Register("Font_Size", typeof(int), typeof(FirstPageAnchorControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
|
||||
///<summary>
|
||||
/// 告警信息
|
||||
/// </summary>
|
||||
public string AlarmInfo
|
||||
{
|
||||
get { return (string)this.GetValue(AlarmInfoProperty); }
|
||||
set { this.SetValue(AlarmInfoProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AlarmInfoProperty = DependencyProperty.Register("AlarmInfo", typeof(string), typeof(FirstPageAnchorControl), new PropertyMetadata(default(string), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
///<summary>
|
||||
/// Beacon
|
||||
/// </summary>
|
||||
public BeaconModel Beacon
|
||||
{
|
||||
get { return (BeaconModel)this.GetValue(BeaconProperty); }
|
||||
set { this.SetValue(BeaconProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty BeaconProperty = DependencyProperty.Register("Beacon", typeof(BeaconModel), typeof(FirstPageAnchorControl), new PropertyMetadata(default(BeaconModel), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(FirstPageAnchorControl), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 模型位置
|
||||
/// </summary>
|
||||
public int Model_Position
|
||||
{
|
||||
get { return (int)GetValue(Model_PositionProperty); }
|
||||
set { SetValue(Model_PositionProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Model_PositionProperty =
|
||||
DependencyProperty.Register("Model_Position", typeof(int), typeof(FirstPageAnchorControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 选择那个模型进行显示
|
||||
/// </summary>
|
||||
public int Model_Visibility
|
||||
{
|
||||
get { return (int)GetValue(MModel_VisibilityProperty); }
|
||||
set { SetValue(MModel_VisibilityProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty MModel_VisibilityProperty =
|
||||
DependencyProperty.Register("Model_Visibility", typeof(int), typeof(FirstPageAnchorControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as FirstPageAnchorControl).Refresh();
|
||||
}
|
||||
|
||||
|
||||
|
||||
public FirstPageAnchorControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Refresh()
|
||||
{
|
||||
//将其余值进行赋值
|
||||
if (Beacon != null)
|
||||
{
|
||||
this.AnchorModel.Rotate_X = Beacon.Beacon_Pitch_Angle;
|
||||
this.AnchorModel.Rotate_Y = Beacon.Beacon_Heading_Angle;
|
||||
this.AnchorModel.Rotate_Z = Beacon.Beacon_Roll_Angle;
|
||||
|
||||
this.DateTime.Text = Beacon.Datetime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
this.TextID.Text = Beacon.ID + "";
|
||||
this.TextJD.Text = Beacon.Beacon_JD + "°";
|
||||
this.TextWD.Text = Beacon.Beacon_WD + "°";
|
||||
this.TextSD.Text = Beacon.Beacon_Depth + "米";
|
||||
this.TextHGJ.Text = Beacon.Beacon_Roll_Angle + "°";
|
||||
this.TextFYJ.Text = Beacon.Beacon_Pitch_Angle + "°";
|
||||
this.TextPHJ.Text = Beacon.Beacon_Heading_Angle + "°";
|
||||
this.DWJL.Text = Beacon.Position_Distance + "米";
|
||||
this.Temp.Text = Beacon.Temp + "℃";
|
||||
}
|
||||
|
||||
//设置告警信息
|
||||
//this.TextAlarm.Text = AlarmInfo;
|
||||
//是否可以使用鼠标跟随
|
||||
this.AnchorModel.TBDEnable = TBDEnable;
|
||||
//设置字体颜色和字体大小
|
||||
this.TextID.Foreground = this.Text_Color;
|
||||
if (this.Font_Size != 0)
|
||||
this.TextID.FontSize = this.Font_Size;
|
||||
|
||||
//显示锚的模型还是基准点的模型
|
||||
if (Model_Visibility == 1)
|
||||
{
|
||||
AnchorModel.Visibility = Visibility.Visible;
|
||||
SupportModel.Visibility = Visibility.Collapsed;
|
||||
}
|
||||
else if (Model_Visibility == 2)
|
||||
{
|
||||
AnchorModel.Visibility = Visibility.Collapsed;
|
||||
SupportModel.Visibility = Visibility.Visible;
|
||||
}
|
||||
|
||||
|
||||
|
||||
//区分模型在左还是在右
|
||||
if (Model_Position == 0)
|
||||
{
|
||||
Grid.SetColumn(AnchorModel, 0);
|
||||
Grid.SetColumn(SupportModel, 0);
|
||||
Grid.SetColumn(Data_Area, 1);
|
||||
grid.ColumnDefinitions[0].Width = new GridLength(3, GridUnitType.Star);
|
||||
grid.ColumnDefinitions[1].Width = new GridLength(2, GridUnitType.Star);
|
||||
}
|
||||
else if (Model_Position == 1)
|
||||
{
|
||||
Grid.SetColumn(AnchorModel, 1);
|
||||
Grid.SetColumn(SupportModel, 1);
|
||||
Grid.SetColumn(Data_Area, 0);
|
||||
grid.ColumnDefinitions[0].Width = new GridLength(2, GridUnitType.Star);
|
||||
grid.ColumnDefinitions[1].Width = new GridLength(3, GridUnitType.Star);
|
||||
}
|
||||
|
||||
this.AnchorModel.TBDEnable = TBDEnable;
|
||||
this.SupportModel.TBDEnable = TBDEnable;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,65 +1,143 @@
|
||||
<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"
|
||||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="500" d:DesignWidth="700" FontSize="15" Name="Control">
|
||||
<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"
|
||||
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"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="5*"/>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<local:BuoyModel x:Name="BuoyModel" Grid.Column="0"/>
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="4*"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="1" CornerRadius="10">
|
||||
<Border.Background>
|
||||
<SolidColorBrush Color="SkyBlue" Opacity="0.4"/>
|
||||
</Border.Background>
|
||||
<Grid Margin="0,10,0,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵经度:"/>
|
||||
<TextBlock Name="TextJD" Text="119°27′31″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵纬度:"/>
|
||||
<TextBlock Name="TextWD" Text="27°30′45″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵深度:"/>
|
||||
<TextBlock Name="TextSD" Text="3米"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵翻滚角:"/>
|
||||
<TextBlock Name="TextFGJ" Text="40°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵俯仰角:"/>
|
||||
<TextBlock Name="TextFYJ" Text="40°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="5" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="基阵偏航角角:"/>
|
||||
<TextBlock Name="TextPHJ" Text="40°"/>
|
||||
</StackPanel>
|
||||
<TextBox Name="TextAlarm" Grid.Row="6" Grid.RowSpan="3" VerticalAlignment="Top" HorizontalAlignment="Left" Text="告警:当前基阵航向角偏移" Foreground="Red" Margin="5,5,0,0" MaxLines="5" TextWrapping="Wrap"/>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<local:BuoyModel x:Name="BuoyModel" 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 />
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel
|
||||
Grid.Row="0"
|
||||
Margin="5,0,0,0"
|
||||
VerticalAlignment="Center"
|
||||
Orientation="Horizontal">
|
||||
<TextBlock
|
||||
Name="DateTime"
|
||||
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
||||
Foreground="{Binding ElementName=TextJD, Path=Foreground}" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="1"
|
||||
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="TextJD" Text="119°27′31″" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="2"
|
||||
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="TextWD"
|
||||
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
||||
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
||||
Text="27°30′45″" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
Grid.Row="3"
|
||||
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="TextSD"
|
||||
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
||||
Foreground="{Binding ElementName=TextJD, Path=Foreground}"
|
||||
Text="3米" />
|
||||
</StackPanel>
|
||||
<StackPanel
|
||||
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°" />
|
||||
</StackPanel>
|
||||
<TextBox
|
||||
Name="TextAlarm"
|
||||
Grid.Row="7"
|
||||
Margin="5,5,0,0"
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Top"
|
||||
FontSize="{Binding ElementName=TextJD, Path=FontSize}"
|
||||
Foreground="Red"
|
||||
MaxLines="5"
|
||||
Text="告警:当前基阵航向角偏移"
|
||||
TextWrapping="Wrap" />
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
|
||||
@ -21,6 +21,64 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
/// </summary>
|
||||
public partial class FirstPageBuoyControl : UserControl
|
||||
{
|
||||
//字体颜色
|
||||
public Brush Text_Color
|
||||
{
|
||||
get { return (Brush)GetValue(Text_ColorProperty); }
|
||||
set { SetValue(Text_ColorProperty, value); }
|
||||
}
|
||||
|
||||
// Using a DependencyProperty as the backing store for _color. This enables animation, styling, binding, etc...
|
||||
public static readonly DependencyProperty Text_ColorProperty =
|
||||
DependencyProperty.Register("Text_Color", typeof(Brush), typeof(FirstPageBuoyControl), new PropertyMetadata(default(Brush), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
//字体大小
|
||||
public int Font_Size
|
||||
{
|
||||
get { return (int)GetValue(Font_SizeProperty); }
|
||||
set { SetValue(Font_SizeProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Font_SizeProperty =
|
||||
DependencyProperty.Register("Font_Size", typeof(int), typeof(FirstPageBuoyControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
|
||||
///<summary>
|
||||
/// 告警信息
|
||||
/// </summary>
|
||||
public string AlarmInfo
|
||||
{
|
||||
get { return (string)this.GetValue(AlarmInfoProperty); }
|
||||
set { this.SetValue(AlarmInfoProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AlarmInfoProperty = DependencyProperty.Register("AlarmInfo", typeof(string), typeof(FirstPageBuoyControl), new PropertyMetadata(default(string), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
///<summary>
|
||||
/// Beacon
|
||||
/// </summary>
|
||||
public BeaconModel Beacon
|
||||
{
|
||||
get { return (BeaconModel)this.GetValue(BeaconProperty); }
|
||||
set { this.SetValue(BeaconProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty BeaconProperty = DependencyProperty.Register("Beacon", typeof(BeaconModel), typeof(FirstPageBuoyControl), new PropertyMetadata(default(BeaconModel), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(FirstPageBuoyControl), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
#region
|
||||
///// <summary>
|
||||
///// 俯仰角
|
||||
///// </summary>
|
||||
@ -52,28 +110,6 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
|
||||
//public static readonly DependencyProperty Rotate_ZProperty = DependencyProperty.Register("Rotate_Z", typeof(float), typeof(FirstPageBuoyControl), new PropertyMetadata(default(float), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
//字体颜色
|
||||
public Brush Text_Color
|
||||
{
|
||||
get { return (Brush)GetValue(Text_ColorProperty); }
|
||||
set { SetValue(Text_ColorProperty, value); }
|
||||
}
|
||||
|
||||
// Using a DependencyProperty as the backing store for _color. This enables animation, styling, binding, etc...
|
||||
public static readonly DependencyProperty Text_ColorProperty =
|
||||
DependencyProperty.Register("Text_Color", typeof(Brush), typeof(FirstPageBuoyControl), new PropertyMetadata(default(Brush), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
//字体大小
|
||||
public int Font_Size
|
||||
{
|
||||
get { return (int)GetValue(Font_SizeProperty); }
|
||||
set { SetValue(Font_SizeProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Font_SizeProperty =
|
||||
DependencyProperty.Register("Font_Size", typeof(int), typeof(FirstPageBuoyControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
///// <summary>
|
||||
///// 经度
|
||||
///// </summary>
|
||||
@ -106,30 +142,7 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
//}
|
||||
|
||||
//public static readonly DependencyProperty SDProperty = DependencyProperty.Register("SD", typeof(float), typeof(FirstPageBuoyControl), new PropertyMetadata(default(float), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
///<summary>
|
||||
/// 告警信息
|
||||
/// </summary>
|
||||
public string AlarmInfo
|
||||
{
|
||||
get { return (string)this.GetValue(AlarmInfoProperty); }
|
||||
set { this.SetValue(AlarmInfoProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AlarmInfoProperty = DependencyProperty.Register("AlarmInfo", typeof(string), typeof(FirstPageBuoyControl), new PropertyMetadata(default(string), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
///<summary>
|
||||
/// Beacon
|
||||
/// </summary>
|
||||
public BeaconModel Beacon
|
||||
{
|
||||
get { return (BeaconModel)this.GetValue(BeaconProperty); }
|
||||
set { this.SetValue(BeaconProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty BeaconProperty = DependencyProperty.Register("Beacon", typeof(BeaconModel), typeof(FirstPageBuoyControl), new PropertyMetadata(default(BeaconModel), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
#endregion
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as FirstPageBuoyControl).Refresh();
|
||||
@ -137,17 +150,18 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
public FirstPageBuoyControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
Beacon = new BeaconModel();
|
||||
}
|
||||
|
||||
private void Refresh()
|
||||
{
|
||||
//将其余值进行赋值
|
||||
if (Beacon != null)
|
||||
{
|
||||
this.BuoyModel.Rotate_X = Beacon.Position_Pitch_Angle;
|
||||
this.BuoyModel.Rotate_Y = Beacon.Position_Heading_Angle;
|
||||
this.BuoyModel.Rotate_Z = Beacon.BasicSite_Heading;
|
||||
|
||||
this.DateTime.Text = Beacon.Datetime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
this.TextJD.Text = Beacon.BasicSite_JD + "°";
|
||||
this.TextWD.Text = Beacon.BasicSite_WD + "°";
|
||||
this.TextSD.Text = Beacon.BasicSite_Depth + "米";
|
||||
@ -156,11 +170,14 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
this.TextPHJ.Text = Beacon.Position_Heading_Angle + "°";
|
||||
}
|
||||
|
||||
|
||||
//设置告警信息
|
||||
this.TextAlarm.Text = AlarmInfo;
|
||||
|
||||
this.Control.FontSize = 12;
|
||||
this.Control.Foreground = Text_Color;
|
||||
//是否可以使用鼠标跟随
|
||||
this.BuoyModel.TBDEnable = TBDEnable;
|
||||
//设置字体颜色和字体大小
|
||||
this.TextJD.Foreground = this.Text_Color;
|
||||
if (this.Font_Size != 0)
|
||||
this.TextJD.FontSize = this.Font_Size;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -1,77 +1,175 @@
|
||||
<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:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||
xmlns:local="clr-namespace:_20230724_MBJC_upperpc.Views"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<Grid>
|
||||
<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="5*"/>
|
||||
<ColumnDefinition Width="2*"/>
|
||||
<ColumnDefinition Width="3*" />
|
||||
<ColumnDefinition Width="2*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<local:SupportModel x:Name="SupportModel" Grid.Column="0" Rotate_X="-90" Rotate_Y="90" Rotate_Z="0"/>
|
||||
<Grid Grid.Column="1">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition Height="4*"/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<Border Grid.Row="1" CornerRadius="10">
|
||||
<Border.Background>
|
||||
<SolidColorBrush Color="SkyBlue" Opacity="0.4"/>
|
||||
</Border.Background>
|
||||
<Grid Margin="0,10,0,0">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
<RowDefinition/>
|
||||
</Grid.RowDefinitions>
|
||||
<StackPanel Grid.Row="0" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标ID:"/>
|
||||
<TextBlock Name="TextID" Text="1"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="1" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标经度:"/>
|
||||
<TextBlock Text="119°27′31″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="2" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标纬度:"/>
|
||||
<TextBlock Text="27°30′45″"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="3" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标深度:"/>
|
||||
<TextBlock Text="9米"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="4" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标横滚角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="5" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标俯仰角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="6" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="信标偏航角:"/>
|
||||
<TextBlock Text="90°"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="7" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="定位距离:"/>
|
||||
<TextBlock Text="365米"/>
|
||||
</StackPanel>
|
||||
<StackPanel Grid.Row="8" VerticalAlignment="Center" Orientation="Horizontal" Margin="5,0,0,0">
|
||||
<TextBlock Text="温度:"/>
|
||||
<TextBlock Text="21℃"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
<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°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 Text="温度:" />
|
||||
<TextBlock
|
||||
Name="Temp"
|
||||
FontSize="{Binding ElementName=TextID, Path=FontSize}"
|
||||
Foreground="{Binding ElementName=TextID, Path=Foreground}"
|
||||
Text="21℃" />
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
</Border>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
using System;
|
||||
using _20230724_MBJC_upperpc.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
@ -20,9 +21,116 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
/// </summary>
|
||||
public partial class FirstPageSupportControl : UserControl
|
||||
{
|
||||
|
||||
//字体颜色
|
||||
public Brush Text_Color
|
||||
{
|
||||
get { return (Brush)GetValue(Text_ColorProperty); }
|
||||
set { SetValue(Text_ColorProperty, value); }
|
||||
}
|
||||
|
||||
// Using a DependencyProperty as the backing store for _color. This enables animation, styling, binding, etc...
|
||||
public static readonly DependencyProperty Text_ColorProperty =
|
||||
DependencyProperty.Register("Text_Color", typeof(Brush), typeof(FirstPageSupportControl), new PropertyMetadata(default(Brush), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
//字体大小
|
||||
public int Font_Size
|
||||
{
|
||||
get { return (int)GetValue(Font_SizeProperty); }
|
||||
set { SetValue(Font_SizeProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Font_SizeProperty =
|
||||
DependencyProperty.Register("Font_Size", typeof(int), typeof(FirstPageSupportControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
|
||||
///<summary>
|
||||
/// 告警信息
|
||||
/// </summary>
|
||||
public string AlarmInfo
|
||||
{
|
||||
get { return (string)this.GetValue(AlarmInfoProperty); }
|
||||
set { this.SetValue(AlarmInfoProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty AlarmInfoProperty = DependencyProperty.Register("AlarmInfo", typeof(string), typeof(FirstPageSupportControl), new PropertyMetadata(default(string), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
|
||||
///<summary>
|
||||
/// Beacon
|
||||
/// </summary>
|
||||
public BeaconModel Beacon
|
||||
{
|
||||
get { return (BeaconModel)this.GetValue(BeaconProperty); }
|
||||
set { this.SetValue(BeaconProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty BeaconProperty = DependencyProperty.Register("Beacon", typeof(BeaconModel), typeof(FirstPageSupportControl), new PropertyMetadata(default(BeaconModel), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(FirstPageSupportControl), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 模型位置
|
||||
/// </summary>
|
||||
public int Model_Position
|
||||
{
|
||||
get { return (int)GetValue(Model_PositionProperty); }
|
||||
set { SetValue(Model_PositionProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty Model_PositionProperty =
|
||||
DependencyProperty.Register("Model_Position", typeof(int), typeof(FirstPageAnchorControl), new PropertyMetadata(default(int), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as FirstPageSupportControl).Refresh();
|
||||
}
|
||||
|
||||
public FirstPageSupportControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void Refresh()
|
||||
{
|
||||
//将其余值进行赋值
|
||||
if (Beacon != null)
|
||||
{
|
||||
this.SupportModel.Rotate_X = Beacon.Beacon_Pitch_Angle;
|
||||
this.SupportModel.Rotate_Y = Beacon.Beacon_Heading_Angle;
|
||||
this.SupportModel.Rotate_Z = Beacon.Beacon_Roll_Angle;
|
||||
|
||||
this.DateTime.Text = Beacon.Datetime.ToString("yyyy-MM-dd HH:mm:ss");
|
||||
this.TextID.Text = Beacon.ID + "";
|
||||
this.TextJD.Text = Beacon.Beacon_JD + "°";
|
||||
this.TextWD.Text = Beacon.Beacon_WD + "°";
|
||||
this.TextSD.Text = Beacon.Beacon_Depth + "米";
|
||||
this.TextHGJ.Text = Beacon.Beacon_Roll_Angle + "°";
|
||||
this.TextFYJ.Text = Beacon.Beacon_Pitch_Angle + "°";
|
||||
this.TextPHJ.Text = Beacon.Beacon_Heading_Angle + "°";
|
||||
this.DWJL.Text = Beacon.Position_Distance + "米";
|
||||
this.Temp.Text = Beacon.Temp + "℃";
|
||||
}
|
||||
|
||||
//设置告警信息
|
||||
//this.TextAlarm.Text = AlarmInfo;
|
||||
//是否可以使用鼠标跟随
|
||||
//this.AnchorModel.TBDEnable = TBDEnable;
|
||||
//设置字体颜色和字体大小
|
||||
this.TextID.Foreground = this.Text_Color;
|
||||
if (this.Font_Size != 0)
|
||||
this.TextID.FontSize = this.Font_Size;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -2,30 +2,390 @@
|
||||
x:Class="_20230724_MBJC_upperpc.Views.FirstPageView"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:converters="clr-namespace:_20230724_MBJC_upperpc.Common"
|
||||
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"
|
||||
xmlns:tool="clr-namespace:_3DTools;assembly=3DTools"
|
||||
Name="Window"
|
||||
d:DesignHeight="900"
|
||||
d:DesignWidth="1600"
|
||||
mc:Ignorable="d">
|
||||
<Grid>
|
||||
<local:FirstPageBuoyControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="400" Width="560" Beacon="{Binding Beacon}" Text_Color="Black" Font_Size="10" AlarmInfo="告警:文件传输失败"/>
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Top" Orientation="Horizontal">
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Left" VerticalAlignment="Center" Orientation="Vertical" Margin="0,100,0,0">
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Right" VerticalAlignment="Center" Orientation="Vertical" Margin="0,100,10,0">
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
<local:FirstPageAnchorControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
</StackPanel>
|
||||
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Bottom" Orientation="Horizontal">
|
||||
<local:FirstPageSupportControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
<local:FirstPageSupportControl VerticalAlignment="Center" HorizontalAlignment="Center" Height="250" Width="350"/>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<converters:AspectRatioConverter x:Key="AspectRatioConverter" />
|
||||
<converters:BottomCenterYConverter x:Key="BottomCenterYConverter" />
|
||||
<converters:CenterConverterX x:Key="CenterConverterX" />
|
||||
<converters:CenterConverterX_Half x:Key="CenterConverterX_Half" />
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<Canvas>
|
||||
<!-- 浮标本体 -->
|
||||
<local:FirstPageBuoyControl
|
||||
x:Name="Buoy"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=4}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=3}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="15"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX_Half}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX_Half}">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
</local:FirstPageBuoyControl>
|
||||
<!-- 锚1 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor1"
|
||||
Canvas.Top="0"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Position="1"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor1" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 锚2 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor2"
|
||||
Canvas.Top="0"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 锚3 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor3"
|
||||
Canvas.Left="0"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
Margin="20,0,0,0"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Position="1"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor3" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 锚4 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor4"
|
||||
Canvas.Left="0"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
Margin="20,0,0,0"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Position="1"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 锚5 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor5"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor5" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor5" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 锚6 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Anchor6"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Visibility="1"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor6" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 信标1 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Support1"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Visibility="2"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Support1" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Support1" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 信标2 -->
|
||||
<local:FirstPageAnchorControl
|
||||
x:Name="Support2"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
Model_Visibility="2"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Support1" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageAnchorControl>
|
||||
<!-- 信标1 -->
|
||||
<!--
|
||||
<local:FirstPageSupportControl
|
||||
x:Name="Support1"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Support1" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
<Binding ElementName="Support1" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageSupportControl>
|
||||
-->
|
||||
<!-- 信标2 -->
|
||||
<!--
|
||||
<local:FirstPageSupportControl
|
||||
x:Name="Support2"
|
||||
Width="{Binding ElementName=Window, Path=ActualWidth, Converter={StaticResource AspectRatioConverter}, ConverterParameter=6}"
|
||||
Height="{Binding ElementName=Window, Path=ActualHeight, Converter={StaticResource AspectRatioConverter}, ConverterParameter=5}"
|
||||
AlarmInfo="告警:文件传输失败"
|
||||
Beacon="{Binding Beacon}"
|
||||
Font_Size="10"
|
||||
TBDEnable="False"
|
||||
Text_Color="Black">
|
||||
<Canvas.Top>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}" ConverterParameter="RightBottom">
|
||||
<Binding ElementName="Window" Path="ActualHeight" />
|
||||
<Binding ElementName="Support1" Path="ActualHeight" />
|
||||
</MultiBinding>
|
||||
</Canvas.Top>
|
||||
<Canvas.Left>
|
||||
<MultiBinding Converter="{StaticResource CenterConverterX}">
|
||||
<Binding ElementName="Window" Path="ActualWidth" />
|
||||
</MultiBinding>
|
||||
</Canvas.Left>
|
||||
</local:FirstPageSupportControl>-->
|
||||
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="1">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor1" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor1" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor1" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor1" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="2">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor2" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor2" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor2" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor2" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="3">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor3" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor3" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor3" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor3" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="4">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor4" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor4" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor4" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor4" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="5">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor5" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor5" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor5" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor5" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
<Polyline Stroke="SkyBlue" StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="6">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Anchor6" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Anchor6" Path="ActualWidth" />
|
||||
<Binding ElementName="Anchor6" Path="ActualHeight" />
|
||||
<Binding ElementName="Anchor6" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
<Polyline
|
||||
Stroke="SkyBlue"
|
||||
StrokeDashArray="1,2"
|
||||
StrokeDashCap="Round"
|
||||
StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="7">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Support1" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Support1" Path="ActualWidth" />
|
||||
<Binding ElementName="Support1" Path="ActualHeight" />
|
||||
<Binding ElementName="Support1" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
<Polyline
|
||||
Stroke="SkyBlue"
|
||||
StrokeDashArray="1,2"
|
||||
StrokeDashCap="Round"
|
||||
StrokeThickness="10">
|
||||
<Polyline.Points>
|
||||
<MultiBinding Converter="{StaticResource BottomCenterYConverter}" ConverterParameter="8">
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Buoy" Path="ActualWidth" />
|
||||
<Binding ElementName="Buoy" Path="ActualHeight" />
|
||||
<Binding ElementName="Buoy" Path="(Canvas.Top)" />
|
||||
<Binding ElementName="Support2" Path="(Canvas.Left)" />
|
||||
<Binding ElementName="Support2" Path="ActualWidth" />
|
||||
<Binding ElementName="Support2" Path="ActualHeight" />
|
||||
<Binding ElementName="Support2" Path="(Canvas.Top)" />
|
||||
</MultiBinding>
|
||||
</Polyline.Points>
|
||||
</Polyline>
|
||||
</Canvas>
|
||||
</UserControl>
|
||||
|
||||
105526
Views/SupportModel.xaml
105526
Views/SupportModel.xaml
File diff suppressed because one or more lines are too long
@ -46,6 +46,16 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
|
||||
public static readonly DependencyProperty Rotate_ZProperty = DependencyProperty.Register("Rotate_Z", typeof(float), typeof(SupportModel), new PropertyMetadata(default(float), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
|
||||
/// <summary>
|
||||
/// 是否可以使用鼠标跟随
|
||||
/// </summary>
|
||||
public bool TBDEnable
|
||||
{
|
||||
get { return (bool)this.GetValue(TBDEnableProperty); }
|
||||
set { this.SetValue(TBDEnableProperty, value); }
|
||||
}
|
||||
|
||||
public static readonly DependencyProperty TBDEnableProperty = DependencyProperty.Register("TBDEnable", typeof(bool), typeof(SupportModel), new PropertyMetadata(default(bool), new PropertyChangedCallback(OnPropertyChanged)));
|
||||
public static void OnPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
|
||||
{
|
||||
(d as SupportModel).Refresh();
|
||||
@ -61,6 +71,8 @@ namespace _20230724_MBJC_upperpc.Views
|
||||
this.rotateX.Angle = Rotate_X;
|
||||
this.rotateY.Angle = Rotate_Y;
|
||||
this.rotateZ.Angle = Rotate_Z;
|
||||
|
||||
this.TBD.IsEnabled = TBDEnable;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,81 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"projectName": "20230724_MBJC_upperpc",
|
||||
"projectPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\20230724_MBJC_upperpc.csproj",
|
||||
"packagesPath": "C:\\Users\\86453\\.nuget\\packages\\",
|
||||
"outputPath": "D:\\WorkSpace\\Gitea\\20230724_MBJC_upperpc\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"D:\\Software\\VisualStudio2022\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\86453\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Program Files\\dotnet\\library-packs": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0-windows7.0": {
|
||||
"targetAlias": "net6.0-windows",
|
||||
"dependencies": {
|
||||
"3DTools": {
|
||||
"target": "Package",
|
||||
"version": "[1.0.0, )"
|
||||
},
|
||||
"MaterialDesignThemes": {
|
||||
"target": "Package",
|
||||
"version": "[4.9.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\86453\.nuget\packages\;D:\Software\VisualStudio2022\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.5.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\86453\.nuget\packages\" />
|
||||
<SourceRoot Include="D:\Software\VisualStudio2022\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<PkgMicrosoft_Xaml_Behaviors_Wpf Condition=" '$(PkgMicrosoft_Xaml_Behaviors_Wpf)' == '' ">C:\Users\86453\.nuget\packages\microsoft.xaml.behaviors.wpf\1.1.39</PkgMicrosoft_Xaml_Behaviors_Wpf>
|
||||
<PkgMaterialDesignThemes Condition=" '$(PkgMaterialDesignThemes)' == '' ">C:\Users\86453\.nuget\packages\materialdesignthemes\4.9.0</PkgMaterialDesignThemes>
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets" Condition="Exists('$(NuGetPackageRoot)materialdesignthemes\4.9.0\build\MaterialDesignThemes.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
||||
@ -1 +1 @@
|
||||
df4f7eb2a665184458c60a78ab1edd8d76db27db
|
||||
f12b8d95ec42178546484e9f4ed15c80e1dac1b3
|
||||
|
||||
@ -1,3 +1,17 @@
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.csproj.AssemblyReference.cache
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\FirstWindow.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\MainWindow.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\AnchorModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\BuoyModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageAnchorControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageBuoyControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageSupportControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SecondPageView.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SupportModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\App.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\GeneratedInternalTypeHelper.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc_MarkupCompile.cache
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc_MarkupCompile.lref
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\20230724_MBJC_upperpc.exe
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\20230724_MBJC_upperpc.deps.json
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\20230724_MBJC_upperpc.runtimeconfig.json
|
||||
@ -7,19 +21,7 @@ D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\3DTools.dll
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\MaterialDesignColors.dll
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\MaterialDesignThemes.Wpf.dll
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\bin\Debug\net6.0-windows\Microsoft.Xaml.Behaviors.dll
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.csproj.AssemblyReference.cache
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\FirstWindow.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\MainWindow.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\AnchorModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\BuoyModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageAnchorControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageBuoyControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageView.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SecondPageView.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\App.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\GeneratedInternalTypeHelper.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc_MarkupCompile.cache
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc_MarkupCompile.lref
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\App.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\FirstWindow.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\MainWindow.baml
|
||||
@ -27,8 +29,10 @@ D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\AnchorMo
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\BuoyModel.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageAnchorControl.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageBuoyControl.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageSupportControl.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageView.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SecondPageView.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SupportModel.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.g.resources
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.GeneratedMSBuildEditorConfig.editorconfig
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.AssemblyInfoInputs.cache
|
||||
@ -40,7 +44,3 @@ D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\refint\2023072
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.pdb
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\20230724_MBJC_upperpc.genruntimeconfig.cache
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\ref\20230724_MBJC_upperpc.dll
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageSupportControl.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SupportModel.g.cs
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\FirstPageSupportControl.baml
|
||||
D:\WorkSpace\Gitea\20230724_MBJC_upperpc\obj\Debug\net6.0-windows\Views\SupportModel.baml
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
@ -0,0 +1,11 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = _20230724_MBJC_upperpc
|
||||
build_property.ProjectDir = D:\WorkSpace\Gitea\20230724_MBJC_upperpc\
|
||||
Binary file not shown.
@ -0,0 +1,25 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("20230724_MBJC_upperpc")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
||||
@ -0,0 +1 @@
|
||||
30a7b50224ea867d874cd87b220c9acbeaa9a3d3
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user