duheng
2024-10-25 93f5c18553c036768ef6202547eeb899511fd50a
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/05-elbows/01-elbowsinglematching/ElbowSingleMatchingViewModel.cs
@@ -1,4 +1,6 @@
namespace HStation.WinFrmUI
using HStation.Assets;
namespace HStation.WinFrmUI
{
    public class ElbowSingleMatchingViewModel
    {
@@ -13,6 +15,8 @@
            this.Material = rhs.MaterialName;
            this.ModelType = rhs.Name;
            this.MinorLoss = rhs.Coefficient;
            this.Angle = rhs.Angle;
            this.ConnectionLength = rhs.ConnectionLength;
        }
        /// <summary>
@@ -49,5 +53,21 @@
        [DisplayName("损失系数")]
        [Browsable(true)]
        public double? MinorLoss { get; set; }
        /// <summary>
        /// 管路连接长度
        /// </summary>
        [DisplayName("弯头类型")]
        [Browsable(true)]
        public eLengthType? ConnectionLength { get; set; }
        /// <summary>
        /// 角度
        /// </summary>
        [DisplayName("角度")]
        [Browsable(true)]
        public int? Angle { get; set; }
    }
}