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)