duheng
2025-03-17 df03507ed132eda9d46f95e8fc7046735d6c808e
WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/03-equipment/EquipmentViewModel.cs
@@ -12,14 +12,17 @@
            this.KitID = kitID;
            this.PumpID = rhs.PumpMainID;
            this.Name = rhs.PumpOtherName;
            this.OtherName = pump.Name;
            this.RatedFlow = pump.RatedFlow;
            this.RatedEfficiency = pump.RatedEfficiency;
            this.RatedHead = pump.RatedHead;
            this.RatedPower = pump.RatedPower;
            this.Erosion = pump.Erosion;
            this.RatedSpeed = pump.RatedSpeed;
        }
            if (pump != null)
            {
                this.OtherName = pump.Name;
                this.RatedFlow = pump.RatedFlow;
                this.RatedEfficiency = pump.RatedEfficiency;
                this.RatedHead = pump.RatedHead;
                this.RatedPower = pump.RatedPower;
                this.Erosion = pump.Erosion;
                this.RatedSpeed = pump.RatedSpeed;
            }
         }
        public void Reset(Vmo.AssetsPackagePumpMappingVmo rhs, Vmo.AssetsPumpMainVmo pump, long kitID)
@@ -28,13 +31,16 @@
            this.KitID = kitID;
            this.PumpID = rhs.PumpMainID;
            this.Name = rhs.PumpOtherName;
            this.OtherName = pump.Name;
            this.RatedFlow = pump.RatedFlow;
            this.RatedEfficiency = pump.RatedEfficiency;
            this.RatedHead = pump.RatedHead;
            this.RatedPower = pump.RatedPower;
            this.Erosion = pump.Erosion;
            this.RatedSpeed = pump.RatedSpeed;
            if (pump != null)
            {
                this.OtherName = pump.Name;
                this.RatedFlow = pump.RatedFlow;
                this.RatedEfficiency = pump.RatedEfficiency;
                this.RatedHead = pump.RatedHead;
                this.RatedPower = pump.RatedPower;
                this.Erosion = pump.Erosion;
                this.RatedSpeed = pump.RatedSpeed;
            }
        }
        /// <summary>