diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Models/MotorModel.cs b/Sinvo.EplanHpD.Plugin.WPFUI/Models/MotorModel.cs
index eb1e300..9204519 100644
--- a/Sinvo.EplanHpD.Plugin.WPFUI/Models/MotorModel.cs
+++ b/Sinvo.EplanHpD.Plugin.WPFUI/Models/MotorModel.cs
@@ -8,7 +8,7 @@
private string _motorPower;
///
///
- ///
+ ///
public string MotorPower
{
get { return _motorPower; }
diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Models/ScanCableModel.cs b/Sinvo.EplanHpD.Plugin.WPFUI/Models/ScanCableModel.cs
index 0c633cc..2ce20b9 100644
--- a/Sinvo.EplanHpD.Plugin.WPFUI/Models/ScanCableModel.cs
+++ b/Sinvo.EplanHpD.Plugin.WPFUI/Models/ScanCableModel.cs
@@ -19,7 +19,16 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.Models
OnPropertyChanged(nameof(Index));
}
}
+ private string _id;
+ public string Id
+ {
+ get => _id; set
+ {
+ _id = value;
+ OnPropertyChanged(nameof(Id));
+ }
+ }
private string _name;
public string Name
diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj b/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj
index e9f3a56..59615b5 100644
--- a/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj
+++ b/Sinvo.EplanHpD.Plugin.WPFUI/Sinvo.EplanHpD.Plugin.WPFUI.csproj
@@ -166,13 +166,12 @@
TestWindow.xaml
-
-
+
@@ -264,6 +263,9 @@
3.5.1
+
+ 1.0.2.1
+
1.34.2
diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Utils/DrawPDFHelper.cs b/Sinvo.EplanHpD.Plugin.WPFUI/Utils/DrawPDFHelper.cs
deleted file mode 100644
index 0b00d9b..0000000
--- a/Sinvo.EplanHpD.Plugin.WPFUI/Utils/DrawPDFHelper.cs
+++ /dev/null
@@ -1,38 +0,0 @@
-using System.Collections.Generic;
-using System.IO;
-
-namespace Sinvo.EplanHpD.Plugin.WPFUI.Utils
-{
- public class DrawPDFHelper
- {
- private static string PDF_PATH = @"\\192.168.1.160\plm系统文档\线材选型\图纸\";
- private static Dictionary _pdfDataDict = new Dictionary();
-
- public static void CacheAllPdfToMemory()
- {
- var path = PDF_PATH;
- var files = Directory.GetFiles(path, "*.pdf");
- foreach (var file in files)
- {
- var drawId = Path.GetFileNameWithoutExtension(file);
- var data = File.ReadAllBytes(file);
- _pdfDataDict.Add(drawId, data);
- }
- }
-
- public static MemoryStream GetPDFStream(string drawId)
- {
- if (_pdfDataDict.ContainsKey(drawId))
- {
- var data = _pdfDataDict[drawId];
- return new MemoryStream(data);
- }
- return null;
- }
-
- public static void ClearCache()
- {
- _pdfDataDict.Clear();
- }
- }
-}
diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/Utils/MessageSend.cs b/Sinvo.EplanHpD.Plugin.WPFUI/Utils/MessageSend.cs
deleted file mode 100644
index 1012d09..0000000
--- a/Sinvo.EplanHpD.Plugin.WPFUI/Utils/MessageSend.cs
+++ /dev/null
@@ -1,55 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace Sinvo.EplanHpD.Plugin.WPFUI.Utils
-{
- ///
- /// 消息发送与接收
- ///
- public class MessageSend
- {
- private static readonly Dictionary>> _subscribers = new();
-
- public static void Subscribe(string message, Action