From 4b088964e2f6cdbde03018b973b009219e2f8dfe Mon Sep 17 00:00:00 2001 From: lihanbo Date: Fri, 14 Feb 2025 09:56:53 +0800 Subject: [PATCH] =?UTF-8?q?105040=20Update=20=E5=A2=9E=E5=8A=A0=E8=AF=86?= =?UTF-8?q?=E5=88=AB=E5=88=B9=E8=BD=A6=E7=BA=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/LectotypeViewModel.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/LectotypeViewModel.cs b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/LectotypeViewModel.cs index 1740215..4f2742c 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/LectotypeViewModel.cs +++ b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/LectotypeViewModel.cs @@ -207,6 +207,7 @@ public class LectotypeViewModel(string docId) : INotifyPropertyChanged var isEncoderLine = GetLineType(occCable.LibraryName,"编码器线"); var isPowerLine = GetLineType(occCable.LibraryName,"动力线"); var isBrakePowerLine = GetLineType(occCable.LibraryName,"动力刹车线"); + var isBrakeLine = GetLineType(occCable.LibraryName,"刹车线"); var encoderLength = 0d; var powerLength = 0d; @@ -230,7 +231,7 @@ public class LectotypeViewModel(string docId) : INotifyPropertyChanged IsPowerLine = isPowerLine, PowerLineLength = powerLength, EncoderLineLength = encoderLength, - CableType = isEncoderLine ? "编码器线" : isPowerLine ? "动力线" : isBrakePowerLine ? "动力刹车线" : "未知类型", + CableType = isEncoderLine ? "编码器线" : isPowerLine ? "动力线" : isBrakePowerLine ? "动力刹车线" : isBrakeLine ? "刹车线" : "未知类型", }; }) .Where(it => it != null)