Shuxia Ning
2025-01-03 5e776f1884d4d865c8d3d037a1fb10fb083f37ed
WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/02-main/PackageViewModel.cs
@@ -8,15 +8,16 @@
        {
        }
        public PackageViewModel(Vmo.AssetsPackageMainVmo rhs)
        public PackageViewModel(Vmo.AssetsPackageMainVmo rhs, string manufacturer)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.Manufacturer = manufacturer;
            this.NO = rhs.NO;
            this.CatalogID = rhs.CatalogID;
            this.SeriesID = rhs.SeriesID;
            this.EquipmentCount = rhs.EquipmentCount;
            this.UseCount = rhs.UseCount;
            this.EquipmentCount = rhs.PumpTotal;
            this.UseCount = rhs.PumpUseCount;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
@@ -28,8 +29,8 @@
            this.NO = rhs.NO;
            this.CatalogID = rhs.CatalogID;
            this.SeriesID = rhs.SeriesID;
            this.EquipmentCount = rhs.EquipmentCount;
            this.UseCount = rhs.UseCount;
            this.EquipmentCount = rhs.PumpTotal;
            this.UseCount = rhs.PumpUseCount;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
@@ -68,6 +69,13 @@
        public long CatalogID { get; set; }
        /// <summary>
        /// 厂商
        /// </summary>
        [DisplayName(" 厂商")]
        [Browsable(true)]
        public string Manufacturer { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        [DisplayName(" 设备型号")]