From b26ae60e85d4a03a2426e6607e7afe89e1c10a5f Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期四, 05 十二月 2024 11:50:35 +0800 Subject: [PATCH] 水池单独匹配界面修改 --- WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckItemViewModel.cs | 14 +++++++------- 1 files changed, 7 insertions(+), 7 deletions(-) diff --git a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckItemViewModel.cs b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckItemViewModel.cs index acd0ed3..e5547ec 100644 --- a/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckItemViewModel.cs +++ b/WinFrmUI/Yw.WinFrmUI.Hydro.Core/09-check/01-control/HydroCheckItemViewModel.cs @@ -15,6 +15,7 @@ /// </summary> public HydroCheckItemViewModel(HydroCheckItem rhs) { + this.Succeed = !rhs.Failed; switch (rhs.Mode) { case HydroCheckMode.Global: this.Mode = "鏁翠綋"; break; @@ -32,10 +33,15 @@ default: break; } this.Code = rhs.Code; - this.Failed = rhs.Failed; this.Reason = rhs.Reason; this.SortCode = rhs.Failed ? 1 : 2; } + + /// <summary> + /// 鎴愬姛 + /// </summary> + [DisplayName("鎴愬姛")] + public bool Succeed { get; set; } /// <summary> /// 妫�鏌ユā寮� @@ -54,12 +60,6 @@ /// </summary> [DisplayName("妫�鏌ョ紪鐮�")] public string Code { get; set; } - - /// <summary> - /// 鏄惁澶辫触 - /// </summary> - [DisplayName("鏄惁澶辫触")] - public bool Failed { get; set; } /// <summary> /// 妫�鏌ュ師鍥� -- Gitblit v1.9.3