duheng
2024-09-27 0e54c48e8190937f5b483c79e3cc9d17ec7c9af0
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/05-elbows/XhsProjectSimulationElbowsMatchingViewModel.cs
@@ -8,7 +8,7 @@
        {
        }
        public XhsProjectSimulationElbowsMatchingViewModel(ElbowsMatchingViewModel rhs)
        public XhsProjectSimulationElbowsMatchingViewModel(ElbowMatchingViewModel rhs)
        {
            this.ID = rhs.ID;
            this.DbLocked = rhs.DbLocked;
@@ -29,14 +29,6 @@
            else
            {
                MatchingType = eMatchingStatus.Succeed;
            }
            if (rhs.MatchingDbId == null || rhs.MatchingDbId == string.Empty)
            {
                MatchingSatus = eMatchingStatus.Failed;
            }
            else
            {
                MatchingSatus = eMatchingStatus.Succeed;
            }
        }
@@ -78,7 +70,7 @@
        /// <summary>
        /// 型号名
        /// </summary>
        [DisplayName("型号名")]
        [DisplayName("型号")]
        [Browsable(true)]
        public string ModelType { get; set; }
@@ -92,7 +84,7 @@
        /// <summary>
        ///修改后材质
        /// </summary>
        [DisplayName("修改后材质")]
        [DisplayName("匹配材质")]
        [Browsable(true)]
        public string MatchingMaterial { get; set; }
@@ -106,7 +98,7 @@
        /// <summary>
        ///修改后口径
        /// </summary>
        [DisplayName("修改后口径")]
        [DisplayName("匹配口径")]
        [Browsable(true)]
        public string MatchingCaliber { get; set; }
@@ -127,22 +119,15 @@
        /// <summary>
        ///修改后损失系数
        /// </summary>
        [DisplayName("修改后损失系数")]
        [DisplayName("匹配损失系数")]
        [Browsable(true)]
        public double? MatchingMinorLoss { get; set; }
        /// <summary>
        /// 匹配状态
        /// </summary>
        [DisplayName("匹配状态")]
        [Browsable(true)]
        public eMatchingStatus MatchingType { get; set; }
        /// <summary>
        /// 是否匹配成功
        /// </summary>
        [DisplayName("是否匹配成功")]
        [DisplayName("匹配")]
        [Browsable(true)]
        public eMatchingStatus MatchingSatus { get; set; }
        public eMatchingStatus MatchingType { get; set; }
    }
}