From ca5f300a7cef85d22b5e0f9d59d117c49f9909b3 Mon Sep 17 00:00:00 2001
From: duheng <2784771470@qq.com>
Date: 星期二, 19 十一月 2024 09:42:16 +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