diff --git a/Sinvo.EplanHpD.Plugin.Service/Model/MotorDataModel.cs b/Sinvo.EplanHpD.Plugin.Service/Model/MotorDataModel.cs index 993654c..51babec 100644 --- a/Sinvo.EplanHpD.Plugin.Service/Model/MotorDataModel.cs +++ b/Sinvo.EplanHpD.Plugin.Service/Model/MotorDataModel.cs @@ -12,6 +12,7 @@ namespace Sinvo.EplanHpD.Plugin.Service.Model { [SugarColumn(IsPrimaryKey = true, ColumnDataType = "VARCHAR(64)")] public string ID { get; set; } + [SugarColumn(ColumnDataType = "TEXT")] public string Data { get; set; } } diff --git a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/ScannerViewModel.cs b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/ScannerViewModel.cs index c8292ec..a33b2a8 100644 --- a/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/ScannerViewModel.cs +++ b/Sinvo.EplanHpD.Plugin.WPFUI/ViewModel/ScannerViewModel.cs @@ -195,6 +195,7 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.ViewModel _currentFlexDesigner.SelectSet.Clear(); _currentFlexDesigner.SelectSet.Add(occWire); _currentFlexDesigner.FitToSelectSet(); + _currentFlexDesigner.SelectSet.OnSelectionChanged(); //_currentFlexDesigner.Camera.GraphicControl._HighlightNode()