lixiaojun
2025-04-09 0f99680aff09e91f521b5909aab42811c1c3e6f1
Service/HStation.Service.Assets.Core/02-model/13-Package/AssetsPackageMain.cs
@@ -6,7 +6,7 @@
    /// 设备
    /// </summary>
    [SysType("assets_package_main")]
    public class AssetsPackageMain : BaseModel, ISorter, System.ICloneable
    public class AssetsPackageMain : BaseModel, ISorter, IFlags, IParas, ITagName, System.ICloneable
    {
        /// <summary>
        ///
@@ -23,9 +23,11 @@
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.CatalogID = rhs.CatalogID;
            this.EquipmentCount = rhs.EquipmentCount;
            this.UseCount = rhs.UseCount;
            this.ModelType = rhs.ModelType;
            this.PumpTotal = rhs.PumpTotal;
            this.PumpUseCount = rhs.PumpUseCount;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
@@ -36,9 +38,11 @@
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.CatalogID = rhs.CatalogID;
            this.EquipmentCount = rhs.EquipmentCount;
            this.UseCount = rhs.UseCount;
            this.ModelType = rhs.ModelType;
            this.PumpTotal = rhs.PumpTotal;
            this.PumpUseCount = rhs.PumpUseCount;
            this.Paras = rhs.Paras == null ? null : new Dictionary<string, string>(rhs.Paras);
            this.Flags = rhs.Flags?.ToList();
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
@@ -64,19 +68,29 @@
        public long CatalogID { get; set; }
        /// <summary>
        /// 设备型号
        /// </summary>
        public string ModelType { get; set; }
        /// <summary>
        /// 设备数量
        /// </summary>
        public int EquipmentCount { get; set; }
        public int PumpTotal { get; set; }
        /// <summary>
        /// 使用数量
        /// </summary>
        public int UseCount { get; set; }
        public int PumpUseCount { get; set; }
        /// <summary>
        /// 参数
        /// </summary>
        public Dictionary<string, string> Paras { get; set; }
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Flags { get; set; }
        /// <summary>
        /// 标志
        /// </summary>
        public string TagName { get; set; }
        /// <summary>
        /// 排序码