| | |
| | | /// <summary> |
| | | /// 过渡件视图 |
| | | /// </summary> |
| | | public class HydroTranslationViewModel : HydroPipeViewModel |
| | | public class HydroTranslationViewModel : HydroPipeViewModel, IHydroCalcuTranslationResult |
| | | { |
| | | /// <summary> |
| | | /// |
| | |
| | | this.UpdatePropStatus(nameof(this.StartDiameter), rhs, nameof(rhs.StartDiameter)); |
| | | this.EndDiameter = Math.Round(rhs.EndDiameter, 0); |
| | | this.UpdatePropStatus(nameof(this.EndDiameter), rhs, nameof(rhs.EndDiameter)); |
| | | this.Vmo = rhs; |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// |
| | | /// </summary> |
| | | [Browsable(false)] |
| | | public new Yw.Model.HydroTranslationInfo Vmo { get; set; } |
| | | public new Yw.Model.HydroTranslationInfo Vmo |
| | | { |
| | | get { return _vmo as Yw.Model.HydroTranslationInfo; } |
| | | set { _vmo = value; } |
| | | } |
| | | |
| | | |
| | | /// <summary> |