From 5abb1581e61db7a0a8f790d01a4cbf5b53307ca4 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期四, 22 八月 2024 17:37:31 +0800 Subject: [PATCH] Merge branch 'master' of http://47.103.154.90:83/r/HStation/XHS.V1.0 --- WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs | 31 +++++++++++++++++++++++-------- 1 files changed, 23 insertions(+), 8 deletions(-) diff --git a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs index 8cb5dce..ef43c9f 100644 --- a/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs +++ b/WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs @@ -1,19 +1,20 @@ -锘縰sing Yw.Dto; +锘縰sing Yw.Basic; +using Yw.Dto; namespace HStation.WinFrmUI.Basic { - public class SysTypeViewModel : Yw.Dto.SysTypeDto + public class SysTypeViewModel { - public SysTypeViewModel(SysTypeDto rhs) + public SysTypeViewModel(Yw.Vmo.SysType rhs) { this.ID = rhs.ID; this.Description = rhs.Description; this.Name = rhs.Name; - if (rhs.ExtendType == Yw.Basic.eExtendType.None) + if (rhs.ExtendType == Yw.Vmo.eExtendType.None) { this.ExtendTypeDisPlayName = "鏃�"; } - else if (rhs.ExtendType == Yw.Basic.eExtendType.Config) + else if (rhs.ExtendType == Yw.Vmo.eExtendType.Config) { this.ExtendTypeDisPlayName = "閰嶇疆"; } @@ -26,16 +27,16 @@ this.SortCode = rhs.SortCode; } - public void Reset(UpdateSysTypeInput rhs) + public void Reset(Yw.Vmo.SysType rhs) { this.ID = rhs.ID; this.Description = rhs.Description; this.Name = rhs.Name; - if (rhs.ExtendType == Yw.Basic.eExtendType.None) + if (rhs.ExtendType == Yw.Vmo.eExtendType.None) { this.ExtendTypeDisPlayName = "鏃�"; } - else if (rhs.ExtendType == Yw.Basic.eExtendType.Config) + else if (rhs.ExtendType == Yw.Vmo.eExtendType.Config) { this.ExtendTypeDisPlayName = "閰嶇疆"; } @@ -47,5 +48,19 @@ } public string ExtendTypeDisPlayName { get; set; } + + public long ID { get; set; } + + public long ModuleID { get; set; } + + public string Name { get; set; } + + public string Code { get; set; } + + public eExtendType ExtendType { get; set; } + + public int SortCode { get; set; } + + public string Description { get; set; } } } \ No newline at end of file -- Gitblit v1.9.3