duheng
2024-11-29 5c14c9686d2bd7c99fdd6cc6fc19404e6e4b8e4d
WinFrmUI/HStation.WinFrmUI.Assets.Core/12-package/02-main/PackageViewModel.cs
@@ -8,14 +8,15 @@
        {
        }
        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.PumpCount;
            this.EquipmentCount = rhs.PumpTotal;
            this.UseCount = rhs.PumpUseCount;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
@@ -28,7 +29,7 @@
            this.NO = rhs.NO;
            this.CatalogID = rhs.CatalogID;
            this.SeriesID = rhs.SeriesID;
            this.EquipmentCount = rhs.PumpCount;
            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(" 设备型号")]