namespace Yw.WinFrmUI
{
///
///
///
public class HydroTankViewModel : HydroSourceViewModel
{
///
///
///
public HydroTankViewModel() { }
///
///
///
public HydroTankViewModel(Yw.Model.HydroTankInfo rhs) : base(rhs)
{
this.PoolElev = rhs.PoolElev;
this.InitLevel = rhs.InitLevel;
this.MinLevel = rhs.MinLevel;
this.MaxLevel = rhs.MaxLevel;
this.DN = rhs.DN;
this.MinVol = rhs.MinVol;
this.VolCurve = rhs.VolCurve;
this.OverFlow = rhs.OverFlow;
this.Vmo = rhs;
}
///
///
///
public HydroTankViewModel(Yw.Model.HydroTankInfo rhs, HydroCalcuNodeResult calcuResult) : base(rhs, calcuResult)
{
this.PoolElev = rhs.PoolElev;
this.InitLevel = rhs.InitLevel;
this.MinLevel = rhs.MinLevel;
this.MaxLevel = rhs.MaxLevel;
this.DN = rhs.DN;
this.MinVol = rhs.MinVol;
this.VolCurve = rhs.VolCurve;
this.OverFlow = rhs.OverFlow;
this.Vmo = rhs;
}
///
/// 池底标高
///
[DisplayName("池底标高(m)")]
public double PoolElev { get; set; }
///
/// 初始水位
///
[DisplayName("初始水位(m)")]
public double InitLevel { get; set; }
///
/// 最低水位
///
[DisplayName("最低水位(m)")]
public double MinLevel { get; set; }
///
/// 最高水位
///
[DisplayName("最高水位(m)")]
public double MaxLevel { get; set; }
///
/// 公称直径
///
[DisplayName("公称直径(m)")]
public double DN { get; set; }
///
/// 最小容积
///
[DisplayName("最小容积(m³)")]
public double MinVol { get; set; }
///
/// 容积曲线
///
[DisplayName("容积曲线")]
public string VolCurve { get; set; }
///
/// 允许溢流
///
[DisplayName("允许溢流")]
public bool OverFlow { get; set; }
///
///
///
public new Yw.Model.HydroTankInfo Vmo { get; set; }
}
}