From 981bc1e558e8a5fe6225b8e49ecc3ce4591f46c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Chsc=E2=80=9D?= <“huangsucan@kaiyili-lab.com”> Date: Thu, 15 Oct 2026 14:05:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0xcpcore=EF=BC=8C=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=8A=A0=E8=BD=BDdbc=E8=87=B3=E5=8D=95=E4=B8=80?= =?UTF-8?q?=E9=80=9A=E9=81=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ACP/ACP.csproj | 2 +- ACP/ViewModels/ShellViewModel.cs | 4 + ACP/Views/ShellView.xaml | 5 + TSMasterCAN/CAN.cs | 32 + TSMasterCAN/TSMasterCAN.csproj | 2 +- TSMasterXCPModule/TSMasterXCPModule.cs | 14 +- TSMasterXCPModule/TSMasterXCPModule.csproj | 2 + .../ViewModels/TSMasterXCPViewModel.cs | 583 +++++++++++++++++- TSMasterXCPModule/Views/TSMasterXCPView.xaml | 272 +++++++- .../Views/TSMasterXCPView.xaml.cs | 2 +- XCPCore/XCPCore/XCPCore.csproj | 6 +- XCPCore/XCPCore/XcpCanTransport.cs | 284 +++------ 12 files changed, 983 insertions(+), 225 deletions(-) diff --git a/ACP/ACP.csproj b/ACP/ACP.csproj index 8b9356a..b096934 100644 --- a/ACP/ACP.csproj +++ b/ACP/ACP.csproj @@ -33,7 +33,7 @@ - + diff --git a/ACP/ViewModels/ShellViewModel.cs b/ACP/ViewModels/ShellViewModel.cs index 00455f3..b736d2d 100644 --- a/ACP/ViewModels/ShellViewModel.cs +++ b/ACP/ViewModels/ShellViewModel.cs @@ -906,6 +906,10 @@ namespace ACP.ViewModels if (_globalInfo.CurrentScope != "default") return; _regionManager.RequestNavigate("ShellViewManager", "PowerAdaptabilityView"); break; + case "TSMaster XCP 测试": + if (_globalInfo.CurrentScope != "default") return; + _regionManager.RequestNavigate("ShellViewManager", "TSMasterXCPView"); + break; } } diff --git a/ACP/Views/ShellView.xaml b/ACP/Views/ShellView.xaml index 736a740..79ad2bd 100644 --- a/ACP/Views/ShellView.xaml +++ b/ACP/Views/ShellView.xaml @@ -103,6 +103,11 @@ CommandParameter="{Binding Content, RelativeSource={RelativeSource Self}}" Style="{StaticResource MaterialDesignFlatButton}" Margin="8" /> +