duheng
2024-11-05 7c9869ecbc4380c17c1158b096dbb5b0a92ad439
WinFrmUI/HStation.WinFrmUI.Basic/00-SysTypeManage/00-viewModel/SysTypeViewModel.cs
@@ -5,16 +5,16 @@
{
    public class SysTypeViewModel
    {
        public SysTypeViewModel(Yw.Vmo.SysType rhs)
        public SysTypeViewModel(Yw.Vmo.SysTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
            this.Name = rhs.Name;
            if (rhs.ExtendType == Yw.Vmo.eExtendType.None)
            if (rhs.ExtendType == Yw.Basic.eExtendType.None)
            {
                this.ExtendTypeDisPlayName = "无";
            }
            else if (rhs.ExtendType == Yw.Vmo.eExtendType.Config)
            else if (rhs.ExtendType == Yw.Basic.eExtendType.Config)
            {
                this.ExtendTypeDisPlayName = "配置";
            }
@@ -27,16 +27,16 @@
            this.SortCode = rhs.SortCode;
        }
        public void Reset(Yw.Vmo.SysType rhs)
        public void Reset(Yw.Vmo.SysTypeVmo rhs)
        {
            this.ID = rhs.ID;
            this.Description = rhs.Description;
            this.Name = rhs.Name;
            if (rhs.ExtendType == Yw.Vmo.eExtendType.None)
            if (rhs.ExtendType == Yw.Basic.eExtendType.None)
            {
                this.ExtendTypeDisPlayName = "无";
            }
            else if (rhs.ExtendType == Yw.Vmo.eExtendType.Config)
            else if (rhs.ExtendType == Yw.Basic.eExtendType.Config)
            {
                this.ExtendTypeDisPlayName = "配置";
            }