105040 Update 不再使用json保存

This commit is contained in:
lihanbo 2024-12-23 11:59:41 +08:00
parent 5a89a88437
commit 844e10040e
1 changed files with 2 additions and 2 deletions

View File

@ -34,9 +34,9 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.Utils
{ {
var service = new MotorLectotypeService(); var service = new MotorLectotypeService();
var data = service.GetMotorLectotypeData(motor.OccPartId); var data = service.GetMotorLectotypeData(motor.OccPartId);
if (!string.IsNullOrEmpty(data)) if (data != null)
{ {
viewModel = Newtonsoft.Json.JsonConvert.DeserializeObject<CableLectotypeViewModel>(data); viewModel = data;
} }
}).Wait(); }).Wait();