From 93981823939899c30718ec682c0551ce3ff05130 Mon Sep 17 00:00:00 2001 From: "zhengxuan.zhang" Date: Sun, 15 Mar 2026 11:15:35 +0800 Subject: [PATCH] =?UTF-8?q?#0027=20=E6=96=B0=E5=A2=9E=E4=B8=BB=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2B=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- XplorePlane/App.xaml.cs | 3 +- .../Views/Hardware/DetectorPanelView.xaml | 10 +- .../Hardware/MotionControlPanelView.xaml | 223 +- .../Views/Hardware/RaySourcePanelView.xaml | 100 +- XplorePlane/Views/Main/MainWindowB.xaml | 1862 +++++++++++++++++ XplorePlane/Views/Main/MainWindowB.xaml.cs | 42 + 6 files changed, 2216 insertions(+), 24 deletions(-) create mode 100644 XplorePlane/Views/Main/MainWindowB.xaml create mode 100644 XplorePlane/Views/Main/MainWindowB.xaml.cs diff --git a/XplorePlane/App.xaml.cs b/XplorePlane/App.xaml.cs index eef20cb..2d147a2 100644 --- a/XplorePlane/App.xaml.cs +++ b/XplorePlane/App.xaml.cs @@ -154,7 +154,7 @@ namespace XplorePlane protected override Window CreateShell() { - return Container.Resolve(); + return Container.Resolve(); } protected override void RegisterTypes(IContainerRegistry containerRegistry) @@ -167,6 +167,7 @@ namespace XplorePlane // 注册视图和视图模型 containerRegistry.RegisterForNavigation(); + containerRegistry.RegisterForNavigation(); containerRegistry.Register(); // 注册图像处理服务与视图 diff --git a/XplorePlane/Views/Hardware/DetectorPanelView.xaml b/XplorePlane/Views/Hardware/DetectorPanelView.xaml index da83f02..2392f6f 100644 --- a/XplorePlane/Views/Hardware/DetectorPanelView.xaml +++ b/XplorePlane/Views/Hardware/DetectorPanelView.xaml @@ -4,10 +4,10 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - d:DesignHeight="200" - d:DesignWidth="200" + d:DesignHeight="300" + d:DesignWidth="300" mc:Ignorable="d"> - + @@ -17,7 +17,9 @@ FontWeight="SemiBold" Foreground="#333333" Text="探测器" /> - + + + diff --git a/XplorePlane/Views/Hardware/MotionControlPanelView.xaml b/XplorePlane/Views/Hardware/MotionControlPanelView.xaml index 2fde174..28cb447 100644 --- a/XplorePlane/Views/Hardware/MotionControlPanelView.xaml +++ b/XplorePlane/Views/Hardware/MotionControlPanelView.xaml @@ -4,20 +4,229 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" - d:DesignHeight="200" - d:DesignWidth="200" + d:DesignHeight="300" + d:DesignWidth="300" mc:Ignorable="d"> - - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/XplorePlane/Views/Hardware/RaySourcePanelView.xaml b/XplorePlane/Views/Hardware/RaySourcePanelView.xaml index 869cd20..b4b49b9 100644 --- a/XplorePlane/Views/Hardware/RaySourcePanelView.xaml +++ b/XplorePlane/Views/Hardware/RaySourcePanelView.xaml @@ -5,22 +5,98 @@ xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:rayViews="clr-namespace:XP.Hardware.RaySource.Views;assembly=XP.Hardware.RaySource" - d:DesignHeight="300" - d:DesignWidth="200" + d:DesignHeight="140" + d:DesignWidth="300" mc:Ignorable="d"> - + - + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +