From 26f45822a2a84af81e20ca543da98d3b822c5afd Mon Sep 17 00:00:00 2001 From: duheng <2784771470@qq.com> Date: 星期一, 17 二月 2025 21:25:59 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- 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