duheng
2025-03-28 b266e82b9a377fa35a766f7a3a2f5aa95f3c9125
Vmo/HStation.Vmo.Assets.Core/04-Sprinkler/AssetsSprinklerMainVmo.cs
@@ -1,7 +1,52 @@
namespace HStation.Vmo
using HStation.Dto.Assets;
namespace HStation.Vmo
{
    public class AssetsSprinklerMainVmo
    {
        /// <summary>
        ///
        /// </summary>
        public AssetsSprinklerMainVmo()
        { }
        /// <summary>
        ///
        /// </summary>
        public AssetsSprinklerMainVmo(AssetsSprinklerMainDto rhs)
        {
            this.ID = rhs.ID;
            this.SeriesID = rhs.SeriesID;
            this.Name = rhs.Name;
            this.Material = rhs.Material;
            this.Caliber = rhs.Caliber;
            this.KeyWords = rhs.KeyWords;
            this.Angle = rhs.Angle;
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
        /// <summary>
        ///
        /// </summary>
        public AssetsSprinklerMainVmo(AssetsSprinklerMainVmo rhs)
        {
            this.ID = rhs.ID;
            this.SeriesID = rhs.SeriesID;
            this.Name = rhs.Name;
            this.Material = rhs.Material;
            this.Caliber = rhs.Caliber;
            this.KeyWords = rhs.KeyWords;
            this.Paras = rhs.Paras;
            this.Flags = rhs.Flags;
            this.TagName = rhs.TagName;
            this.SortCode = rhs.SortCode;
            this.Description = rhs.Description;
        }
        public long ID { get; set; }
        /// <summary>
@@ -30,14 +75,24 @@
        public int? Angle { get; set; }
        /// <summary>
        /// 喷射系数
        /// </summary>
        public double MinorLoss { get; set; }
        /// <summary>
        /// 流量系数
        /// </summary>
        public double? FlowMinorLoss { get; set; }
        public double FlowMinorLoss { 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>
        /// 排序码
@@ -47,7 +102,7 @@
        /// <summary>
        /// 识别关键字
        /// </summary>
        public List<string> KeyWord { get; set; }
        public List<string> KeyWords { get; set; }
        /// <summary>
        /// 说明