using Yw.Model;
namespace HStation.Model
{
///
/// 冷却塔型号
///
public class AssetsCoolingMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable
{
///
///
///
public AssetsCoolingMain() { }
///
///
///
public AssetsCoolingMain(AssetsCoolingMain rhs) : base(rhs)
{
this.SeriesID = rhs.SeriesID;
this.Name = rhs.Name;
this.Material = rhs.Material;
this.Caliber = rhs.Caliber;
this.Coefficient = rhs.Coefficient;
this.LowerLimit = rhs.LowerLimit;
this.KeyWords = rhs.KeyWords?.ToList();
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
///
///
public void Reset(AssetsCoolingMain rhs)
{
this.ID = rhs.ID;
this.SeriesID = rhs.SeriesID;
this.Name = rhs.Name;
this.Material = rhs.Material;
this.Caliber = rhs.Caliber;
this.Coefficient = rhs.Coefficient;
this.LowerLimit = rhs.LowerLimit;
this.KeyWords = rhs.KeyWords?.ToList();
this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras);
this.Flags = rhs.Flags?.ToList();
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 系列id
///
public long SeriesID { get; set; }
///
/// 名称
///
public string Name { get; set; }
///
/// 材料
///
public string Material { get; set; }
///
/// 口径 mm
///
public double? Caliber { get; set; }
///
/// 喷射系数
///
public double Coefficient { get; set; }
///
/// 最小压力 m
///
public double LowerLimit { get; set; }
///
/// 关键字
///
public List KeyWords { get; set; }
///
/// 参数
///
public Dictionary Paras { get; set; }
///
/// 标签
///
public List Flags { get; set; }
///
/// 标志
///
public string TagName { get; set; }
///
/// 排序码
///
public int SortCode { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public AssetsCoolingMain Clone()
{
return new AssetsCoolingMain(this);
}
object ICloneable.Clone()
{
return this.Clone();
}
}
}