From 764f83e55da4a23d9f042586aa92e292a6f429b6 Mon Sep 17 00:00:00 2001
From: Shuxia Ning <NingShuxia0927@outlook.com>
Date: 星期五, 15 十一月 2024 11:55:44 +0800
Subject: [PATCH] code

---
 WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs
index 4765a04..08d784a 100644
--- a/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs
+++ b/WinFrmUI/Yw.WinFrmUI.Phart.Core/01-perform/01-pump-chart/01-chart/03-serial-parallel/PumpSerialParallelInfoViewModel.cs
@@ -13,13 +13,14 @@
 
         public PumpSerialParallelInfoViewModel(PumpSerialParallelInfoViewModel rhs) : base(rhs)
         {
+            this.Code=rhs.Code;
             this.Color = rhs.Color;
             this.QueryQ = rhs.QueryQ;
             this.QueryH = rhs.QueryH;
             this.QueryP = rhs.QueryP;
             this.QueryE = rhs.QueryE;
             this.ExtendRatio = rhs.ExtendRatio;
-            this.IsDefault = rhs.IsDefault; 
+            this.IsDefault = rhs.IsDefault;
             this.RunStatus = rhs.RunStatus;
             this.CalcuQ = rhs.CalcuQ;
             this.CalcuH = rhs.CalcuH;
@@ -38,8 +39,9 @@
         public bool IsDefault { get; set; }  
         public bool RunStatus { get; set; }
          
-        public double? CalcuQ { get; set; } 
-        public double? CalcuH { get; set; }
+        public double? CalcuQ { get; set; }
+        public double? CalcuH { get; set; } 
+        public  double? ExtendFlow { get; set; }
         public void Calc()
         {
             this.CurrentSpeed = Math.Round(this.CurrentHz / 50 * this.RatedSpeed);
@@ -57,6 +59,8 @@
             if (this.QpCalc != null)
                 this.QpCalc.MaxX = this.QpCalc.MaxX * this.ExtendRatio / 100;
 
+             
+            this.ExtendFlow = this.Qh.MaxX;
         }
 
 

--
Gitblit v1.9.3