From 145dcc3a9ed1c3bcbc01c8da2b341aaa6ee5dbd2 Mon Sep 17 00:00:00 2001
From: lixiaojun <1287241240@qq.com>
Date: 星期一, 14 十月 2024 10:37:44 +0800
Subject: [PATCH] 优化link连接颜色

---
 WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/00-viewModel/SysPropViewModel.cs |   31 +++++++++++++++----------------
 1 files changed, 15 insertions(+), 16 deletions(-)

diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/00-viewModel/SysPropViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/00-viewModel/SysPropViewModel.cs
index fe2d3be..bd654a0 100644
--- a/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/00-viewModel/SysPropViewModel.cs
+++ b/WinFrmUI/HStation.WinFrmUI.Basic/02-SysPropManage/00-viewModel/SysPropViewModel.cs
@@ -1,38 +1,37 @@
 锘縰sing Yw.Dto;
-using Yw.Vmo.Core;
 
 namespace HStation.WinFrmUI.Basic
 {
     public class SysPropViewModel
     {
-        public SysPropViewModel(Yw.Vmo.SysProp rhs)
+        public SysPropViewModel(Yw.Vmo.SysPropVmo rhs)
         {
             ID = rhs.ID;
             GroupID = rhs.GroupID;
             TypeID = rhs.TypeID;
             Name = rhs.Name;
             Code = rhs.Code;
-            if (rhs.Format == Yw.Vmo.Core.ePropFormat.Bigint)
+            if (rhs.Format == Yw.Basic.ePropFormat.Bigint)
             {
                 this.FormatDisPlayName = "闀挎暣鏁�";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Integer)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Integer)
             {
                 this.FormatDisPlayName = "鏁存暟";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.MultiText)
+            else if (rhs.Format == Yw.Basic.ePropFormat.MultiText)
             {
                 this.FormatDisPlayName = "澶氭枃鏈�";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Time)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Time)
             {
                 this.FormatDisPlayName = "鏃堕棿";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Numeric)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Numeric)
             {
                 this.FormatDisPlayName = "鏁板��";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Text)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Text)
             {
                 this.FormatDisPlayName = "鏂囨湰";
             }
@@ -47,32 +46,32 @@
             Description = rhs.Description;
         }
 
-        public void Reset(Yw.Vmo.SysProp rhs)
+        public void Reset(Yw.Vmo.SysPropVmo rhs)
         {
             ID = rhs.ID;
             Name = rhs.Name;
             Code = rhs.Code;
-            if (rhs.Format == Yw.Vmo.Core.ePropFormat.Bigint)
+            if (rhs.Format == Yw.Basic.ePropFormat.Bigint)
             {
                 this.FormatDisPlayName = "闀挎暣鏁�";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Integer)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Integer)
             {
                 this.FormatDisPlayName = "鏁存暟";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.MultiText)
+            else if (rhs.Format == Yw.Basic.ePropFormat.MultiText)
             {
                 this.FormatDisPlayName = "澶氭枃鏈�";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Time)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Time)
             {
                 this.FormatDisPlayName = "鏃堕棿";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Numeric)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Numeric)
             {
                 this.FormatDisPlayName = "鏁板��";
             }
-            else if (rhs.Format == Yw.Vmo.Core.ePropFormat.Text)
+            else if (rhs.Format == Yw.Basic.ePropFormat.Text)
             {
                 this.FormatDisPlayName = "鏂囨湰";
             }
@@ -100,7 +99,7 @@
 
         public string Code { get; set; }
 
-        public ePropFormat Format { get; set; }
+        public Yw.Basic.ePropFormat Format { get; set; }
 
         public string UnitName { get; set; }
 

--
Gitblit v1.9.3