From 56e4b8aab223072bef1e1749b8ee9e499dd04f83 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期四, 19 十二月 2024 09:16:36 +0800
Subject: [PATCH] 修改阀门表

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveSeriesViewModel.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveSeriesViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveSeriesViewModel.cs
index ef0072d..6bed695 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveSeriesViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/03-valve/00-viewmodel/ValveSeriesViewModel.cs
@@ -12,7 +12,7 @@
         {
             this.Name = rhs.Name;
             this.ID = rhs.ID;
-            this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
+            this.ParentID = rhs.ParentID;
             this.Description = rhs.Description;
         }
 
@@ -20,7 +20,7 @@
         {
             this.Name = rhs.Name;
             this.ID = rhs.ID;
-            this.ParentID = TreeParentIdsHelper.GetLastParentID(rhs.ParentIds);
+            this.ParentID = rhs.ParentID;
             this.Description = rhs.Description;
         }
 

--
Gitblit v1.9.3