105040 Update 不再使用json保存
This commit is contained in:
parent
5a89a88437
commit
844e10040e
|
@ -34,9 +34,9 @@ namespace Sinvo.EplanHpD.Plugin.WPFUI.Utils
|
|||
{
|
||||
var service = new MotorLectotypeService();
|
||||
var data = service.GetMotorLectotypeData(motor.OccPartId);
|
||||
if (!string.IsNullOrEmpty(data))
|
||||
if (data != null)
|
||||
{
|
||||
viewModel = Newtonsoft.Json.JsonConvert.DeserializeObject<CableLectotypeViewModel>(data);
|
||||
viewModel = data;
|
||||
}
|
||||
|
||||
}).Wait();
|
||||
|
|
Loading…
Reference in New Issue