| | |
| | | /// <summary> |
| | | /// |
| | | /// </summary> |
| | | public class HydroCompressorViewModel : HydroPipeViewModel |
| | | public class HydroCompressorViewModel : HydroLinkViewModel |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | /// </summary> |
| | | public HydroCompressorViewModel(Yw.Model.HydroCompressorInfo rhs) : base(rhs) |
| | | { |
| | | this.MinorLossK = rhs.MinorLossK; |
| | | |
| | | this.Vmo = rhs; |
| | | } |
| | | |
| | |
| | | /// </summary> |
| | | public HydroCompressorViewModel(Yw.Model.HydroCompressorInfo rhs, Yw.WinFrmUI.HydroCalcuLinkResult calcuResult) : base(rhs, calcuResult) |
| | | { |
| | | this.MinorLossK = rhs.MinorLossK; |
| | | |
| | | this.Vmo = rhs; |
| | | } |
| | | |
| | |
| | | { |
| | | return; |
| | | } |
| | | this.MinorLossK = this.Vmo.MinorLossK; |
| | | |
| | | } |
| | | |
| | | |