using System.ComponentModel; namespace HStation.WinFrmUI { public class TankCoefficientViewModel { public TankCoefficientViewModel() { } public TankCoefficientViewModel(Vmo.AssetsTankCoefficientVmo rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.MinorLoss = rhs.MinorLoss; } /// /// id /// public long ID { get; set; } /// /// 名称 /// [DisplayName("名称")] [Browsable(true)] public string Name { get; set; } /// /// 最低水位 /// [DisplayName("最低水位")] [Browsable(true)] public double MinLevel { get; set; } /// /// 最高水位 /// [DisplayName("最高水位")] [Browsable(true)] public double MaxLevel { get; set; } /// /// 公称直径 /// [DisplayName("公称直径")] [Browsable(true)] public double DN { get; set; } /// /// 最小容积 /// [DisplayName("最小容积")] [Browsable(true)] public double MinVol { get; set; } /// /// 是否允许溢流 /// [DisplayName("是否允许溢流")] [Browsable(true)] public bool OverFlow { get; set; } /// /// 喷射系数 /// [DisplayName("喷射系数")] [Browsable(true)] public double MinorLoss { get; set; } /// /// 流量系数 /// [DisplayName("流量系数")] [Browsable(true)] public double? FlowMinorLoss { get; set; } } }