using Yw.Model;
|
|
namespace HStation.Model
|
{
|
/// <summary>
|
/// 换热器系数
|
/// </summary>
|
public class AssetsExchangerFactor : BaseModel, ISorter, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsExchangerFactor() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsExchangerFactor(AssetsExchangerFactor rhs) : base(rhs)
|
{
|
this.Name = rhs.Name;
|
this.Material = rhs.Material;
|
this.Diameter = rhs.Diameter;
|
this.MinorLoss = rhs.MinorLoss;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(AssetsExchangerFactor rhs)
|
{
|
this.ID = rhs.ID;
|
this.Name = rhs.Name;
|
this.Material = rhs.Material;
|
this.Diameter = rhs.Diameter;
|
this.MinorLoss = rhs.MinorLoss;
|
this.SortCode = rhs.SortCode;
|
this.Description = rhs.Description;
|
}
|
|
/// <summary>
|
/// 名称
|
/// </summary>
|
public string Name { get; set; }
|
|
/// <summary>
|
/// 材料
|
/// </summary>
|
public string Material { get; set; }
|
|
/// <summary>
|
/// 直径 mm
|
/// </summary>
|
public double? Diameter { get; set; }
|
|
/// <summary>
|
/// 局阻系数
|
/// </summary>
|
public double MinorLoss { get; set; }
|
|
/// <summary>
|
/// 排序码
|
/// </summary>
|
public int SortCode { get; set; }
|
|
/// <summary>
|
/// 说明
|
/// </summary>
|
public string Description { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsExchangerFactor Clone()
|
{
|
return new AssetsExchangerFactor(this);
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.Clone();
|
}
|
|
}
|
}
|