duheng
2024-11-06 bc230c03cb961e8d5fb40131806fe795ecfbfa73
WinFrmUI/HStation.WinFrmUI.Xhs.Core/03-simulation/06-simulation/01-matching/01-viewmodel/ValveMatchingViewModel.cs
@@ -1,4 +1,5 @@
using HStation.Assets;
using HStation.Revit;
namespace HStation.WinFrmUI
{
@@ -50,11 +51,11 @@
        public string DbId { get; set; }
        /// <summary>
        /// ChartDbId
        /// CurveDbId
        /// </summary>
        [DisplayName("ChartDbId")]
        [Browsable(false)]
        public string ChartDbId { get; set; }
        public string CurveDbId { get; set; }
        /// <summary>
        /// 直径
@@ -82,7 +83,7 @@
        /// </summary>
        [DisplayName("阀门类型")]
        [Browsable(true)]
        public string ValveType { get; set; }
        public eValveType ValveType { get; set; }
        /// <summary>
        /// 阀门设置
@@ -90,13 +91,6 @@
        [DisplayName("阀门设置")]
        [Browsable(true)]
        public string ValveSetting { get; set; }
        /// <summary>
        /// 阀门开度
        /// </summary>
        [DisplayName("阀门开度")]
        [Browsable(true)]
        public int? ValveLift { get; set; }
        /// <summary>
        /// 匹配型号
@@ -120,11 +114,11 @@
        public double? MatchingDiameter { get; set; }
        /// <summary>
        /// MatchingChartDbId
        /// MatchingCurveDbId
        /// </summary>
        [DisplayName("MatchingChartDbId")]
        [DisplayName("MatchingCurveDbId")]
        [Browsable(false)]
        public string MatchingChartDbId { get; set; }
        public string MatchingCurveDbId { get; set; }
        /// <summary>
        /// 匹配材质
@@ -145,7 +139,7 @@
        /// </summary>
        [DisplayName("匹配阀门类型")]
        [Browsable(true)]
        public string MatchingValveType { get; set; }
        public eValveType MatchingValveType { get; set; }
        /// <summary>
        /// 匹配阀门设置
@@ -162,10 +156,10 @@
        public List<CurvePointMatchingViewModel> MatchingCurveQL { get; set; }
        /// <summary>
        /// 匹配阀门开度
        /// 匹配开度损失曲线
        /// </summary>
        [DisplayName("匹配阀门开度")]
        [Browsable(true)]
        public int? MatchingValveLift { get; set; }
        [DisplayName("匹配开度损失曲线")]
        [Browsable(false)]
        public List<CurvePointMatchingViewModel> MatchingCurveOL { get; set; }
    }
}