namespace Yw.WinFrmUI
{
///
///
///
public class HydroPumpListViewItemViewModel
{
///
///
///
public HydroPumpListViewItemViewModel() { }
///
///
///
public HydroPumpListViewItemViewModel(Yw.Model.HydroPumpInfo rhs, Yw.Model.HydroModelInfo hydroInfo)
{
this.Code = rhs.Code;
this.Name = rhs.Name;
this.RatedHz = $"{rhs.RatedHz}hz";
this.Description = rhs.Description;
this.Vmo = rhs;
this.HydroInfo = hydroInfo;
}
///
/// 编码
///
public string Code { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 额定频率
///
public string RatedHz { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
/// vmo
///
public Yw.Model.HydroPumpInfo Vmo { get; set; }
///
///
///
public Yw.Model.HydroModelInfo HydroInfo { get; set; }
}
}