duheng
2024-08-12 1a12ef2743134f7fdea6d0abbfec34543b85bdb5
WinFrmUI/HStation.WinFrmUI.Assets.Core/00-PumpProductManage/00-ViewModel/TreelistViewModel.cs
@@ -4,7 +4,7 @@
{
    public class CurrentTreeViewModel
    {
        public CurrentTreeViewModel(PumpSeriesDto rhs) : base()
        public CurrentTreeViewModel(Vmo.PumpSeries rhs) : base()
        {
            this.ID = rhs.ID;
            this.CatalogID = rhs.CatalogID;
@@ -12,14 +12,14 @@
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.UseStatus = rhs.UseStatus;
            this.UseStatus = (eUseStatus)rhs.UseStatus;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
            this.Model = rhs;
            this.ImageIndex = ImageLib.Series;
        }
        public CurrentTreeViewModel(PumpGroupDto rhs) : base()
        public CurrentTreeViewModel(Vmo.PumpGroup rhs) : base()
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
@@ -32,7 +32,7 @@
            this.ImageIndex = ImageLib.Group;
        }
        public void Reset(UpdatePumpSeriesDto rhs)
        public void Reset(Vmo.PumpSeries rhs)
        {
            this.ID = rhs.ID;
            this.CatalogID = rhs.CatalogID;
@@ -45,7 +45,7 @@
            this.Model = rhs;
        }
        public void Reset(UpdatePumpGroupDto rhs)
        public void Reset(Vmo.PumpGroup rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;