diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/WireCheck/MainViewModel.Check.cs b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/WireCheck/MainViewModel.Check.cs index 72c1d6d..ddbb9af 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/WireCheck/MainViewModel.Check.cs +++ b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/WireCheck/MainViewModel.Check.cs @@ -47,11 +47,23 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.ViewModel CheckCeCompliance(item); } CheckNumberTube(item); - CheckInsulation(item); CheckTerminals(item); CheckDPETerminals(item); CheckDuplicateModel(item); + + CheckImprintStartsWith(item); + } + /// + /// 检查印记内容前缀 + /// + /// + public void CheckImprintStartsWith(StuffedDataModel item) + { + if (item.Imprint.StartsWith("w_0")) + { + SetItemError(item, "印记内容不符合规范!\r\n"); + } } /// /// 检查地排端子