lixiaojun
2024-11-30 ff39bbf7e3a3d02f7f051ce1bee06cec007be3ff
Service/HStation.Service.Assets.Core/02-model/06-PipeLine/AssetsPipeLineCoefficient.cs
@@ -7,7 +7,7 @@
    /// 管道粗糙系数
    /// </summary>
    [SysType("assets_pipe_coefficient")]
    public class AssetsPipeLineCoefficient : BaseModel, ISorter, System.ICloneable
    public class AssetsPipeLineCoefficient : BaseModel, System.ICloneable
    {
        /// <summary>
        ///
@@ -17,32 +17,47 @@
        public AssetsPipeLineCoefficient(AssetsPipeLineCoefficient rhs)
        {
            this.PipeLineID = rhs.PipeLineID;
            this.ID = rhs.ID;
            this.PipeLineID = rhs.PipeLineID;
            this.Name = rhs.Name;
            this.Description = rhs.Description;
            this.Caliber = rhs.Caliber;
            this.Material = rhs.Material;
            this.eAlgorithmType = rhs.eAlgorithmType;
            this.StartValue = rhs.StartValue;
            this.EndValue = rhs.EndValue;
            this.SortCode = rhs.SortCode;
        }
        public void Reset(AssetsPipeLineCoefficient rhs)
        {
            this.PipeLineID = rhs.PipeLineID;
            this.ID = rhs.ID;
            this.PipeLineID = rhs.PipeLineID;
            this.Name = rhs.Name;
            this.Description = rhs.Description;
            this.Caliber = rhs.Caliber;
            this.Material = rhs.Material;
            this.eAlgorithmType = rhs.eAlgorithmType;
            this.StartValue = rhs.StartValue;
            this.EndValue = rhs.EndValue;
            this.SortCode = rhs.SortCode;
        }
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 口径
        /// </summary>
        public double? Caliber { get; set; }
        /// <summary>
        /// 材料
        /// </summary>
        public string Material { get; set; }
        /// <summary>
        /// 局阻系数
        /// </summary>
        public double MinorLoss { get; set; }
        /// <summary>
        /// 算法类型
@@ -65,21 +80,11 @@
        public string EndValue { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        public int SortCode { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        ///
        /// </summary>
        public AssetsPumpGroupAndMainMap Clone()
        public AssetsPumpGroupAndMainMapping Clone()
        {
            return (AssetsPumpGroupAndMainMap)this.MemberwiseClone();
            return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone();
        }
        object ICloneable.Clone()