From a0f401aad6320bf627f172c8f208ba2fc753121a Mon Sep 17 00:00:00 2001 From: lihanbo Date: Thu, 14 Nov 2024 19:22:25 +0800 Subject: [PATCH] =?UTF-8?q?105040=20=E5=A4=9A=E8=8A=AF=E7=BA=BF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=8A=93=E5=8F=96=E4=BC=98=E5=8C=96=EF=BC=8C=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E3=80=81=E5=8F=B3=E9=94=AE=E8=B7=B3=E8=BD=AC=E3=80=81?= =?UTF-8?q?=E5=9B=BE=E7=BA=B8=E4=B8=8EBOM=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LectotypeWindow.xaml | 943 ++++++++++++------ .../LectotypeWindow.xaml.cs | 179 +++- Sinvo.EplanHpD.Plugin.WPFUI/MainWindow.xaml | 7 +- .../Models/LectotypeLineModel.cs | 56 +- .../Models/LineBomItemModel.cs | 36 + .../Models/LineBomModel.cs | 233 +++++ .../Models/LineSegmentModel.cs | 21 - .../Sinvo.EplanHpD.Plugin.WPFUI.csproj | 16 +- .../Utils/DrawPDFHelper.cs | 38 + .../Utils/MotorExcelHelper.cs | 54 + .../ViewModel/LectotypeViewModel.cs | 144 ++- Sinvo.EplanHpD.Plugin.sln | 10 + Sinvo.EplanHpD.Plugin/DesignPluginEntry.cs | 11 +- .../Sinvo.EplanHpD.Plugin.csproj | 4 +- Sinvo.EplanHpD.Plugin/packages.config | 2 +- 15 files changed, 1380 insertions(+), 374 deletions(-) create mode 100644 Sinvo.EplanHpD.Plugin.WPFUI/Models/LineBomItemModel.cs create mode 100644 Sinvo.EplanHpD.Plugin.WPFUI/Models/LineBomModel.cs delete mode 100644 Sinvo.EplanHpD.Plugin.WPFUI/Models/LineSegmentModel.cs create mode 100644 Sinvo.EplanHpD.Plugin.WPFUI/Utils/DrawPDFHelper.cs diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/LectotypeWindow.xaml b/Sinvo.EplanHpD.Plugin.WPFUI/LectotypeWindow.xaml index cebd946..31794cf 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/LectotypeWindow.xaml +++ b/Sinvo.EplanHpD.Plugin.WPFUI/LectotypeWindow.xaml @@ -6,6 +6,7 @@ xmlns:hc="https://handyorg.github.io/handycontrol" xmlns:local="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" + xmlns:pdf="clr-namespace:PdfiumViewer;assembly=PdfiumViewer" xmlns:util="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.Utils" xmlns:viewmodel="clr-namespace:Sinvo.EplanHpD.Plugin.WPFUI.ViewModel" Title="多芯线数据抓取" @@ -105,173 +106,199 @@ - - - - - - - - -