namespace Yw.WinFrmUI { /// /// 连接节点 /// public class HydroJunctionPropertyViewModel : HydroParterPropertyViewModel, IHydroNodePropertyViewModel { /// /// /// public HydroJunctionPropertyViewModel() { } /// /// /// public HydroJunctionPropertyViewModel(Yw.Model.HydroJunctionInfo rhs) : base(rhs) { this.Quality = rhs.Quality; this.Elev = rhs.Elev; this.Demand = rhs.Demand; this.DemandPattern = rhs.DemandPattern; } /// /// 初始水质 /// [Category("数据")] [DisplayName("初始水质")] [PropertyOrder(11)] [Browsable(true)] public double Quality { get; set; } /// /// 标高/高程 /// [Category("数据")] [DisplayName("标高")] [PropertyOrder(13)] [Browsable(true)] public double Elev { get; set; } /// /// 需水量 /// [Category("数据")] [DisplayName("需水量")] [PropertyOrder(14)] [Browsable(true)] public double? Demand { get; set; } /// /// 需水模式 /// [Category("数据")] [DisplayName("需水模式")] [PropertyOrder(15)] [Browsable(true)] public string DemandPattern { 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; } } }