From 7507591ef45cfa8f1080f6dbf68b411edcc7f086 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期日, 03 十一月 2024 15:42:56 +0800
Subject: [PATCH] 水力存储优化

---
 WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/00-core/HydroNodeViewModel.cs |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/00-core/HydroNodeViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/00-core/HydroNodeViewModel.cs
index 7ab3863..8ff3a8d 100644
--- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/00-core/HydroNodeViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/04-parter/02-node/00-core/HydroNodeViewModel.cs
@@ -15,7 +15,6 @@
         /// </summary>
         public HydroNodeViewModel(Yw.Model.HydroNodeInfo rhs) : base(rhs)
         {
-            this.Quality = rhs.Quality;
             this.Vmo = rhs;
         }
 
@@ -63,5 +62,17 @@
         [Browsable(false)]
         public new Yw.Model.HydroNodeInfo Vmo { get; set; }
 
+        /// <summary>
+        /// 
+        /// </summary>
+        public override void Update()
+        {
+            base.Update();
+            if (this.Vmo == null)
+            {
+                return;
+            }
+        }
+
     }
 }

--
Gitblit v1.9.3