ÎļþÃû´Ó WinFrmUI/HStation.WinFrmUI.Xhs.Project/04-TypeManage/00-viewModel/TypeViewModel.cs ÐÞ¸Ä |
| | |
| | | using Yw.Dto; |
| | | |
| | | namespace HStation.WinFrmUI.Xhs |
| | | namespace HStation.WinFrmUI.Basic |
| | | { |
| | | public class TypeViewModel : Yw.Dto.SysTypeDto |
| | | public class SysTypeViewModel : Yw.Dto.SysTypeDto |
| | | { |
| | | public TypeViewModel(SysTypeDto rhs) |
| | | public SysTypeViewModel(SysTypeDto rhs) |
| | | { |
| | | this.ID = rhs.ID; |
| | | this.Description = rhs.Description; |
| | |
| | | this.ID = rhs.ID; |
| | | this.Description = rhs.Description; |
| | | this.Name = rhs.Name; |
| | | if (ExtendType == Yw.Basic.eExtendType.None) |
| | | if (rhs.ExtendType == Yw.Basic.eExtendType.None) |
| | | { |
| | | this.ExtendTypeDisPlayName = "æ "; |
| | | } |
| | | else if (ExtendType == Yw.Basic.eExtendType.Config) |
| | | else if (rhs.ExtendType == Yw.Basic.eExtendType.Config) |
| | | { |
| | | this.ExtendTypeDisPlayName = "é
ç½®"; |
| | | } |