| | |
| | | [Category("拓扑结构")] |
| | | [DisplayName("上游节点")] |
| | | [PropertyOrder(1001)] |
| | | [IsHydroLinkCode] |
| | | [IsHydroLinkPro] |
| | | [ReadOnly(true)] |
| | | [Browsable(true)] |
| | | public string StartCode { get; set; } |
| | |
| | | [Category("拓扑结构")] |
| | | [DisplayName("下游节点")] |
| | | [PropertyOrder(1002)] |
| | | [IsHydroLinkCode] |
| | | [IsHydroLinkPro] |
| | | [ReadOnly(true)] |
| | | [Browsable(true)] |
| | | public string EndCode { get; set; } |
| | |
| | | [PropertyOrder(10001)] |
| | | [Browsable(true)] |
| | | [DisplayUnit("m³/h")] |
| | | [IsHydroCalcuPro(true)] |
| | | [IsHydroCalcuPro] |
| | | [ShowEditor(false)] |
| | | public virtual double? CalcuFlow { get; set; } |
| | | |
| | |
| | | [PropertyOrder(10002)] |
| | | [Browsable(true)] |
| | | [DisplayUnit("m/s")] |
| | | [IsHydroCalcuPro(true)] |
| | | [IsHydroCalcuPro] |
| | | [ShowEditor(false)] |
| | | public virtual double? CalcuVelocity { get; set; } |
| | | |
| | |
| | | [PropertyOrder(10003)] |
| | | [Browsable(true)] |
| | | [DisplayUnit("m")] |
| | | [IsHydroCalcuPro(true)] |
| | | [IsHydroCalcuPro] |
| | | [ShowEditor(false)] |
| | | public virtual double? CalcuHeadLoss { get; set; } |
| | | |
| | |
| | | this.Vmo.UpdatePropStatus(nameof(this.Vmo.StartCode), this, nameof(this.StartCode)); |
| | | this.Vmo.EndCode = this.EndCode; |
| | | this.Vmo.UpdatePropStatus(nameof(this.Vmo.EndCode), this, nameof(this.EndCode)); |
| | | this.Vmo.LinkStatus = this.LinkStatus; |
| | | this.Vmo.LinkStatus = HydroLinkStatusHelper.GetStatusCode(this.LinkStatus); |
| | | this.Vmo.UpdatePropStatus(nameof(this.Vmo.LinkStatus), this, nameof(this.LinkStatus)); |
| | | } |
| | | |