duheng
2024-12-04 ca1ccd0dd9f2d6936368f07d14a2b29b309fd151
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,8 +23,11 @@
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.CatalogID = rhs.CatalogID;
            this.PumpCount = rhs.PumpCount;
            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;
        }
@@ -35,8 +38,11 @@
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.CatalogID = rhs.CatalogID;
            this.PumpCount = rhs.PumpCount;
            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,7 +70,7 @@
        /// <summary>
        /// 设备数量
        /// </summary>
        public int PumpCount { get; set; }
        public int PumpTotal { get; set; }
        /// <summary>
        /// 使用数量
@@ -72,6 +78,21 @@
        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>
        /// 排序码
        /// </summary>
        public int SortCode { get; set; }