| | |
| | | /// </summary> |
| | | public HydroJunctionViewModel(Yw.Model.HydroJunctionInfo rhs) : base(rhs) |
| | | { |
| | | this.Elev = Math.Round(rhs.Elev, 4); |
| | | this.Elev = Math.Round(rhs.Elev, 2); |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.Demand = rhs.Demand; |
| | | this.DemandPattern = rhs.DemandPattern; |
| | |
| | | /// </summary> |
| | | public HydroJunctionViewModel(Yw.Model.HydroJunctionInfo rhs, Yw.WinFrmUI.HydroCalcuNodeResult calcuResult) : base(rhs, calcuResult) |
| | | { |
| | | this.Elev = Math.Round(rhs.Elev, 4); |
| | | this.Elev = Math.Round(rhs.Elev, 2); |
| | | this.MinorLoss = rhs.MinorLoss; |
| | | this.Demand = rhs.Demand; |
| | | this.DemandPattern = rhs.DemandPattern; |