duheng
2024-09-27 3b03ac9340fb8153fbb99c8e00702494192c00b6
WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingViewModel.cs
@@ -17,9 +17,9 @@
            this.Code = rhs.Code;
            this.DbId = rhs.DbId;
            this.ModelType = rhs.ModelType;
            this.MatchingCaliber = rhs.MatchingCaliber;
            this.MatchingCaliber = rhs.MatchingCaliber.ToString();
            this.MatchingMinorLoss = rhs.MatchingMinorLoss;
            this.MatchingDbid = rhs.MatchingDbid;
            this.MatchingDbId = rhs.MatchingDbId;
            this.MatchingMaterial = rhs.MatchingMaterial;
            if (rhs.DbId == null)
            {
@@ -28,6 +28,14 @@
            else
            {
                MatchingType = eMatchingStatus.Succeed;
            }
            if (rhs.MatchingDbId == null || rhs.MatchingDbId == string.Empty)
            {
                MatchingSatus = eMatchingStatus.Failed;
            }
            else
            {
                MatchingSatus = eMatchingStatus.Succeed;
            }
        }
@@ -57,7 +65,7 @@
        /// </summary>
        [DisplayName("MatchingDbid")]
        [Browsable(false)]
        public long? MatchingDbid { get; set; }
        public string MatchingDbId { get; set; }
        /// <summary>
        /// 编码
@@ -123,10 +131,17 @@
        public double? MatchingMinorLoss { get; set; }
        /// <summary>
        /// 匹配状态
        /// </summary>
        [DisplayName("匹配状态")]
        [Browsable(true)]
        public eMatchingStatus MatchingType { get; set; }
        /// <summary>
        /// 是否匹配成功
        /// </summary>
        [DisplayName("是否匹配成功")]
        [Browsable(true)]
        public eMatchingStatus MatchingType { get; set; }
        public eMatchingStatus MatchingSatus { get; set; }
    }
}