From 0e54c48e8190937f5b483c79e3cc9d17ec7c9af0 Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期五, 27 九月 2024 15:45:37 +0800 Subject: [PATCH] 提交自动匹配界面优化 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/05-elbows/XhsProjectSimulationElbowsMatchingViewModel.cs | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/05-elbows/XhsProjectSimulationElbowsMatchingViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/05-elbows/XhsProjectSimulationElbowsMatchingViewModel.cs index 36f9bea..9ce6f2d 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/05-elbows/XhsProjectSimulationElbowsMatchingViewModel.cs +++ b/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; @@ -17,12 +17,12 @@ 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.MatchingMaterial = rhs.MatchingMaterial; - if (rhs.DbId == null) + if (rhs.DbId == null || rhs.DbId == string.Empty) { MatchingType = eMatchingStatus.Failed; } @@ -58,7 +58,7 @@ /// </summary> [DisplayName("MatchingDbid")] [Browsable(false)] - public long? MatchingDbid { get; set; } + public string MatchingDbid { get; set; } /// <summary> /// 缂栫爜 @@ -70,7 +70,7 @@ /// <summary> /// 鍨嬪彿鍚� /// </summary> - [DisplayName("鍨嬪彿鍚�")] + [DisplayName("鍨嬪彿")] [Browsable(true)] public string ModelType { get; set; } @@ -84,7 +84,7 @@ /// <summary> ///淇敼鍚庢潗璐� /// </summary> - [DisplayName("淇敼鍚庢潗璐�")] + [DisplayName("鍖归厤鏉愯川")] [Browsable(true)] public string MatchingMaterial { get; set; } @@ -98,7 +98,7 @@ /// <summary> ///淇敼鍚庡彛寰� /// </summary> - [DisplayName("淇敼鍚庡彛寰�")] + [DisplayName("鍖归厤鍙e緞")] [Browsable(true)] public string MatchingCaliber { get; set; } @@ -119,14 +119,14 @@ /// <summary> ///淇敼鍚庢崯澶辩郴鏁� /// </summary> - [DisplayName("淇敼鍚庢崯澶辩郴鏁�")] + [DisplayName("鍖归厤鎹熷け绯绘暟")] [Browsable(true)] public double? MatchingMinorLoss { get; set; } /// <summary> /// 鏄惁鍖归厤鎴愬姛 /// </summary> - [DisplayName("鏄惁鍖归厤鎴愬姛")] + [DisplayName("鍖归厤")] [Browsable(true)] public eMatchingStatus MatchingType { get; set; } } -- Gitblit v1.9.3