From 30e078df2eae453b8ea39680816d5abbf5c51b25 Mon Sep 17 00:00:00 2001 From: lixiaojun <1287241240@qq.com> Date: 星期四, 26 九月 2024 14:01:07 +0800 Subject: [PATCH] Xhs匹配改造,有错误 --- WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingViewModel.cs | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-autoMatching/03-FormViewModel/ValveFormViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingViewModel.cs similarity index 88% rename from WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-autoMatching/03-FormViewModel/ValveFormViewModel.cs rename to WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingViewModel.cs index 5504040..eaf6f42 100644 --- a/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-autoMatching/03-FormViewModel/ValveFormViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Xhs.Core/04-simulation/06-simulation/01-matching/06-threelink/XhsProjectSimulationThreelinkMatchingViewModel.cs @@ -2,13 +2,13 @@ namespace HStation.WinFrmUI { - public class ValveFormViewModel + public class XhsProjectSimulationThreelinkMatchingViewModel { - public ValveFormViewModel() + public XhsProjectSimulationThreelinkMatchingViewModel() { } - public ValveFormViewModel(ValveMatchingViewModel rhs) + public XhsProjectSimulationThreelinkMatchingViewModel(ThreelinkMatchingViewModel rhs) { this.ID = rhs.ID; this.DbLocked = rhs.DbLocked; @@ -23,11 +23,11 @@ this.MatchingMaterial = rhs.MatchingMaterial; if (rhs.DbId == null) { - MatchingType = eMatchingType.Error; + MatchingType = eMatchingStatus.Failed; } else { - MatchingType = eMatchingType.Success; + MatchingType = eMatchingStatus.Succeed; } } @@ -127,6 +127,6 @@ /// </summary> [DisplayName("鏄惁鍖归厤鎴愬姛")] [Browsable(true)] - public eMatchingType MatchingType { get; set; } + public eMatchingStatus MatchingType { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3