添加 MX-PD-盘古 项目文件

将 MX-PD-盘古 - new 目录下的所有文件添加到主仓库
This commit is contained in:
Shi.Ji
2026-05-18 11:43:09 +08:00
parent 03632a379d
commit e31d3560bb
739 changed files with 99783 additions and 0 deletions

View File

@@ -0,0 +1,30 @@
<UserControl x:Class="MainShell.Common.Display.View.CameraAxisView"
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:MainShell.Common.Display.View"
xmlns:control="http://www.maxwell.com/controls"
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<CheckBox Panel.ZIndex="2" IsChecked="{Binding IsOpen, UpdateSourceTrigger=PropertyChanged}" Cursor="Hand" Margin="2,2" Foreground="White" HorizontalAlignment="Right" VerticalAlignment="Top">
<TextBlock Text="移动"/>
</CheckBox>
<control:CameraAxisControlA Name="cameraAxisControl"
IsShowDoubleLine="False"
IsAxisControlLDBVisible2="Visible"
Cameras="{Binding CameraAxisDevices.HardwareDeviceList}"
TabSelectedIndex ="{Binding CameraAxisDevices.SelectedIndex}"
Items="{Binding CameraAxisDevices.Shapes,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
Regions="{Binding CameraAxisDevices.Regions}" ShapeThickness="1" IsShowSolidLine="True" DrawInConcurrency="False"
>
<i:Interaction.Triggers>
<i:EventTrigger EventName="RecordPix">
<i:InvokeCommandAction Command="{Binding OnLeftMouseDownCommand}" CommandParameter="{Binding ElementName=cameraAxisControl}" />
</i:EventTrigger>
</i:Interaction.Triggers>
</control:CameraAxisControlA>
</Grid>
</UserControl>

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace MainShell.Common.Display.View
{
/// <summary>
/// CameraAxisView.xaml 的交互逻辑
/// </summary>
public partial class CameraAxisView : UserControl
{
public CameraAxisView()
{
InitializeComponent();
}
}
}

View File

@@ -0,0 +1,22 @@
<UserControl x:Class="MainShell.Common.Display.View.CameraView"
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:MainShell.Common.Display.View"
xmlns:mw="http://www.maxwell.com/controls"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
<Grid>
<Border BorderThickness="1" BorderBrush ="#B0B9C4">
<mw:DesignPanel x:Name="cameraDesignPanel"
Source="{Binding DisplayImage}"
Items="{Binding Shapes}"
IsVirtualPix="Visible"
IsShowSolidLine="True"
IsCrossingLineVisible="False"
IsNonRectCrossingLineVisible="False"
IsImagePix="Collapsed" />
</Border>
</Grid>
</UserControl>

View File

@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
namespace MainShell.Common.Display.View
{
/// <summary>
/// CameraView.xaml 的交互逻辑
/// </summary>
public partial class CameraView : UserControl
{
public CameraView()
{
InitializeComponent();
}
}
}