lixiaojun
2024-12-21 920315563b014498ed9ad11f29d69638bc2223ca
WinFrmUI/Yw.WinFrmUI.Hydro.Core/19-pump/02-extend/HydroPumpListItemExtendViewModel.cs
@@ -8,7 +8,12 @@
        /// <summary>
        /// 
        /// </summary>
        public HydroPumpListItemExtendViewModel(Yw.Model.HydroPumpInfo rhs, List<Yw.Model.HydroPumpInfo> allPumpList)
        public HydroPumpListItemExtendViewModel
            (
                Yw.Model.HydroPumpInfo rhs,
                List<Yw.Model.HydroPumpInfo> allPumpList,
                Yw.Model.HydroModelInfo hydroInfo
            )
        {
            this.Code = rhs.Code;
            this.Name = rhs.Name;
@@ -21,6 +26,7 @@
            this.Extend = 100;
            this.RunStatus = rhs.LinkStatus == Yw.Hydro.LinkStatus.Open;
            this.Vmo = rhs;
            this.HydroInfo = hydroInfo;
        }
        /// <summary>
@@ -64,6 +70,11 @@
        /// </summary>
        public Yw.Model.HydroPumpInfo Vmo { get; set; }
        /// <summary>
        ///
        /// </summary>
        public Yw.Model.HydroModelInfo HydroInfo { get; set; }
    }
}