namespace Yw.WinFrmUI { /// /// 水池属性视图 /// public class HydroTankPropertyViewModel : HydroParterPropertyViewModel, IHydroNodePropertyViewModel { /// /// /// public HydroTankPropertyViewModel() { } /// /// /// public HydroTankPropertyViewModel(Yw.Model.HydroTankInfo rhs) : base(rhs) { this.Quality = rhs.Quality; this.PoolElev = rhs.PoolElev; this.InitLevel = rhs.InitLevel; this.MinLevel = rhs.MinLevel; this.MaxLevel = rhs.MaxLevel; this.Diameter = rhs.Diameter; this.MinVol = rhs.MinVol; this.VolCurve = rhs.VolCurve; } /// /// 初始水质 /// [Category("数据")] [DisplayName("初始水质")] [PropertyOrder(11)] [Browsable(true)] public double Quality { get; set; } /// /// 池底标高 /// [Category("数据")] [DisplayName("池底标高")] [PropertyOrder(12)] [Browsable(true)] public double PoolElev { get; set; } /// /// 初始水位 /// [Category("数据")] [DisplayName("初始水位")] [PropertyOrder(13)] [Browsable(true)] public double InitLevel { get; set; } /// /// 最低水位 /// [Category("数据")] [DisplayName("最低水位")] [PropertyOrder(14)] [Browsable(true)] public double MinLevel { get; set; } /// /// 最高水位 /// [Category("数据")] [DisplayName("最高水位")] [PropertyOrder(15)] [Browsable(true)] public double MaxLevel { get; set; } /// /// 直径 /// [Category("数据")] [DisplayName("直径")] [PropertyOrder(16)] [Browsable(true)] public double Diameter { get; set; } /// /// 最小容积 /// [Category("数据")] [DisplayName("最小容积")] [PropertyOrder(17)] [Browsable(true)] public double MinVol { get; set; } /// /// 容积曲线 /// [Category("数据")] [DisplayName("容积曲线")] [PropertyOrder(18)] [Browsable(true)] public string VolCurve { get; set; } /// /// 自由压力 /// [Category("计算结果")] [DisplayName("自由压力")] [PropertyOrder(101)] [Browsable(true)] public double? CalcuPress { get; set; } /// /// 绝对压力 /// [Category("计算结果")] [DisplayName("绝对压力")] [PropertyOrder(102)] [Browsable(true)] public double? CalcuHead { get; set; } /// /// 需水量 /// [Category("计算结果")] [DisplayName("需水量")] [PropertyOrder(103)] [Browsable(true)] public double? CalcuDemand { get; set; } } }