namespace Yw.WinFrmUI.Phart { /// /// 泵变速 Item ViewModel /// public class PumpVariableSpeedViewItemViewModel { public PumpVariableSpeedViewItemViewModel() { } public PumpVariableSpeedViewItemViewModel(PumpVariableSpeedViewItemViewModel rhs) { this.Id = rhs.Id; this.Name = rhs.Name; this.CurveName = rhs.CurveName; this.Q = rhs.Q; this.H = rhs.H; this.P = rhs.P; this.N = rhs.N; this.Hz = rhs.Hz; this.CurveQH = rhs.CurveQH; this.CurveQE = rhs.CurveQE; this.CurveQP = rhs.CurveQP; } /// /// 标识 /// public string Id { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 名称 /// public string CurveName { get; set; } /// /// 流量 /// public double Q { get; set; } /// /// 扬程 /// public double H { get; set; } /// /// 功率 /// public double? P { get; set; } /// /// 效率 /// public double? E { get; set; } /// /// 转速 /// public double N { get; set; } /// /// 频率 /// public double Hz { get; set; } /// /// 流量扬程线 /// public Yw.Geometry.CubicSpline2d CurveQH { get; set; } /// /// 流量效率线 /// public Yw.Geometry.CubicSpline2d CurveQE { get; set; } /// /// 流量功率线 /// public Yw.Geometry.CubicSpline2d CurveQP { get; set; } /// /// 颜色 /// public Color Color { get; set; } } }