lixiaojun
2024-12-19 e37b6f2ca026097b83da3ec989cb0d454cceddad
Service/HStation.Service.Assets.Core/02-model/18-pressmeter/AssetsPressmeterMain.cs
ÎļþÃû´Ó Service/HStation.Service.Assets.Core/02-model/19-Pressmeter/AssetsPressmeterMain.cs ÐÞ¸Ä
@@ -3,27 +3,25 @@
namespace HStation.Model
{
    /// <summary>
    /// åŽ‹åŠ›è¡¨
    ///</summary>
    [SysType("assets-pressmeter-main")]
    /// åŽ‹åŠ›è¡¨åž‹å·
    /// </summary>
    public class AssetsPressmeterMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
    {
        /// <summary>
        ///
        /// </summary>
        public AssetsPressmeterMain()
        { }
        public AssetsPressmeterMain() { }
        /// <summary>
        ///
        /// </summary>
        public AssetsPressmeterMain(AssetsPressmeterMain rhs) : base(rhs)
        {
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.Name = rhs.Name;
            this.MinorLoss = rhs.MinorLoss;
            this.KeyWord = rhs.KeyWord;
            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
            this.KeyWords = rhs.KeyWords?.ToList();
            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;
@@ -31,16 +29,16 @@
        }
        /// <summary>
        ///
        ///
        /// </summary>
        public void Reset(AssetsPressmeterMain rhs)
        {
            this.ID = rhs.ID;
            this.Name = rhs.Name;
            this.SeriesID = rhs.SeriesID;
            this.Name = rhs.Name;
            this.MinorLoss = rhs.MinorLoss;
            this.KeyWord = rhs.KeyWord;
            this.Paras = rhs.Paras == null ? null : new(rhs.Paras);
            this.KeyWords = rhs.KeyWords?.ToList();
            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;
@@ -48,61 +46,64 @@
        }
        /// <summary>
        /// åç§°
        ///</summary>
        public string Name { get; set; }
        /// <summary>
        /// ç³»åˆ—ID
        ///</summary>
        /// ç³»åˆ—id
        /// </summary>
        public long SeriesID { get; set; }
        /// <summary>
        /// åç§°
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// å±€é˜»ç³»æ•°
        ///</summary>
        /// </summary>
        public double MinorLoss { get; set; }
        /// <summary>
        /// è¯†åˆ«å…³é”®å­—
        ///</summary>
        public List<string> KeyWord { get; set; }
        /// å…³é”®å­—
        /// </summary>
        public List<string> KeyWords { get; set; }
        /// <summary>
        /// å‚æ•°
        ///</summary>
        /// </summary>
        public Dictionary<string, string> Paras { get; set; }
        /// <summary>
        /// æ ‡ç­¾
        ///</summary>
        /// </summary>
        public List<string> Flags { get; set; }
        /// <summary>
        /// æ ‡å¿—
        ///</summary>
        /// </summary>
        public string TagName { get; set; }
        /// <summary>
        /// æŽ’序码
        ///</summary>
        /// </summary>
        public int SortCode { get; set; }
        /// <summary>
        /// è¯´æ˜Ž
        ///</summary>
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        ///
        /// </summary>
        public AssetsPressmeterMain Clone()
        {
            return (AssetsPressmeterMain)this.MemberwiseClone();
            return new AssetsPressmeterMain(this);
        }
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
            return this.Clone();
        }
    }
}