lixiaojun
2025-02-17 772e6760f2d25a771fe314135d53d1e72373aab7
WinFrmUI/HStation.WinFrmUI.Assets.Core/01-pump/00-ViewModel/PumpMainViewModel.cs
@@ -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;
@@ -21,37 +22,23 @@
            this.Model = rhs;
        }
        /*       public AssetsPumpMainViewModel(Vmo.AssetsPumpMainVmo rhs) : base()
               {
                   this.SeriesID = 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.SortCode = rhs.SortCode;
                   this.RatedSpeed = rhs.RatedSpeed;
                   this.RatedHead = rhs.RatedHead;
                   this.RatedFlow = rhs.RatedFlow;
                   this.Description = rhs.Description;
               }*/
        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;
            this.RatedFlow = rhs.RatedFlow;
            this.Description = rhs.Description;
            this.Model = rhs;
        }
        /// <summary>
@@ -77,7 +64,7 @@
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Flags { get; set; }
        public string Flags { get; set; }
        /// <summary>
        /// 标志