From 982cde7e9372dc218f23b204265d8e54f7e9ce4f Mon Sep 17 00:00:00 2001
From: ningshuxia <ningshuxia0927@outlook.com>
Date: 星期四, 13 三月 2025 10:34:21 +0800
Subject: [PATCH] boxModel

---
 WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs
index 5e6f47e..831cbed 100644
--- a/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs
@@ -1,4 +1,4 @@
-锘縩amespace HStation.WinFrmUI.Xhs.PumpProduct
+锘縩amespace HStation.WinFrmUI
 {
     public class AssetsPumpMainViewModel
     {
@@ -13,6 +13,7 @@
             this.D2 = rhs.D2;
             this.Name = rhs.Name;
             this.TagName = rhs.TagName;
+            this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
             this.SortCode = rhs.SortCode;
             this.RatedSpeed = rhs.RatedSpeed;
             this.RatedHead = rhs.RatedHead;
@@ -24,13 +25,14 @@
         public void Reset(Vmo.AssetsPumpMainVmo rhs)
         {
             this.ID = rhs.ID;
+            this.Name = rhs.Name;
             this.PumpSeriesID = rhs.SeriesID;
             this.RatedPower = rhs.RatedPower;
             this.RatedEfficiency = rhs.RatedEfficiency;
             this.Erosion = rhs.Erosion;
             this.D2 = rhs.D2;
-            this.Name = rhs.Name;
             this.TagName = rhs.TagName;
+            this.Flags = Yw.Untity.FlagsHelper.ToString(rhs.Flags);
             this.SortCode = rhs.SortCode;
             this.RatedSpeed = rhs.RatedSpeed;
             this.RatedHead = rhs.RatedHead;
@@ -62,7 +64,7 @@
         /// <summary>
         /// 鏍囩
         /// </summary>
-        public List<string> Flags { get; set; }
+        public string Flags { get; set; }
 
         /// <summary>
         /// 鏍囧織

--
Gitblit v1.9.3