duheng
2024-11-06 bc230c03cb961e8d5fb40131806fe795ecfbfa73
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/01-viewmodel/ValveMatchingViewModel.cs
@@ -1,4 +1,7 @@
namespace HStation.WinFrmUI
using HStation.Assets;
using HStation.Revit;
namespace HStation.WinFrmUI
{
    /// <summary>
    /// 阀门匹配ViewModel
@@ -48,6 +51,13 @@
        public string DbId { get; set; }
        /// <summary>
        /// CurveDbId
        /// </summary>
        [DisplayName("ChartDbId")]
        [Browsable(false)]
        public string CurveDbId { get; set; }
        /// <summary>
        /// 直径
        /// </summary>
        [DisplayName("直径")]
@@ -73,7 +83,7 @@
        /// </summary>
        [DisplayName("阀门类型")]
        [Browsable(true)]
        public string ValveType { get; set; }
        public eValveType ValveType { get; set; }
        /// <summary>
        /// 阀门设置
@@ -104,6 +114,13 @@
        public double? MatchingDiameter { get; set; }
        /// <summary>
        /// MatchingCurveDbId
        /// </summary>
        [DisplayName("MatchingCurveDbId")]
        [Browsable(false)]
        public string MatchingCurveDbId { get; set; }
        /// <summary>
        /// 匹配材质
        /// </summary>
        [DisplayName("匹配材质")]
@@ -122,7 +139,7 @@
        /// </summary>
        [DisplayName("匹配阀门类型")]
        [Browsable(true)]
        public string MatchingValveType { get; set; }
        public eValveType MatchingValveType { get; set; }
        /// <summary>
        /// 匹配阀门设置
@@ -137,5 +154,12 @@
        [DisplayName("匹配水头损失曲线")]
        [Browsable(false)]
        public List<CurvePointMatchingViewModel> MatchingCurveQL { get; set; }
        /// <summary>
        /// 匹配开度损失曲线
        /// </summary>
        [DisplayName("匹配开度损失曲线")]
        [Browsable(false)]
        public List<CurvePointMatchingViewModel> MatchingCurveOL { get; set; }
    }
}