From ca1ccd0dd9f2d6936368f07d14a2b29b309fd151 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期三, 04 十二月 2024 15:59:25 +0800
Subject: [PATCH] 增加单独匹配界面

---
 WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingViewModel.cs |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingViewModel.cs
index 9664e3d..f8910bc 100644
--- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/02-pump/01-pumpsinglematching/PumpSingleMatchingViewModel.cs
@@ -1,23 +1,23 @@
-锘縩amespace HStation.WinFrmUI.Xhs
+锘縩amespace HStation.WinFrmUI
 {
     public class PumpSingleMatchingViewModel
     {
-        public PumpSingleMatchingViewModel(Vmo.PumpSeriesVmo rhs)
+        public PumpSingleMatchingViewModel(Vmo.AssetsPumpSeriesVmo rhs)
         {
             this.ID = rhs.ID;
             this.Name = rhs.Name;
             this.IsPump = false;
         }
 
-        public PumpSingleMatchingViewModel(Vmo.PumpGroupVmo rhs)
+        public PumpSingleMatchingViewModel(Vmo.AssetsPumpGroupVmo rhs)
         {
             this.ID = rhs.ID;
             this.Name = rhs.Name;
-            this.ParentID = rhs.PumpSeriesID;
+            this.ParentID = rhs.SeriesID;
             this.IsPump = false;
         }
 
-        public PumpSingleMatchingViewModel(Vmo.PumpMainVmo rhs, long GroupID)
+        public PumpSingleMatchingViewModel(Vmo.AssetsPumpMainVmo rhs, long GroupID)
         {
             this.ID = rhs.ID;
             this.Name = rhs.Name;
@@ -25,16 +25,17 @@
             this.IsPump = true;
         }
 
-        public PumpSingleMatchingViewModel(Vmo.PumpMainVmo rhs)
+        public PumpSingleMatchingViewModel(Vmo.AssetsPumpMainVmo rhs)
         {
             this.ID = rhs.ID;
             this.Name = rhs.Name;
-            this.ParentID = rhs.PumpSeriesID;
+            this.ParentID = rhs.SeriesID;
             this.IsPump = true;
             this.Erosion = rhs.Erosion;
             this.RatedPower = rhs.RatedPower;
             this.RatedFlow = rhs.RatedFlow;
             this.RatedSpeed = rhs.RatedSpeed;
+            this.RatedHead = rhs.RatedHead;
             this.RatedEfficiency = rhs.RatedEfficiency;
             this.D2 = rhs.D2;
             this.Description = rhs.Description;
@@ -111,4 +112,12 @@
         /// </summary>
         public string Description { get; set; }
     }
+}
+
+public class PhartViewModel
+{
+    public long ID { get; set; }
+    public string OtherName { get; set; }
+    public int Importance { get; set; }
+    public int SortCode { get; set; }
 }
\ No newline at end of file

--
Gitblit v1.9.3