using HStation.Assets;
|
using Yw.Model;
|
|
namespace HStation.Model
|
{
|
/// <summary>
|
/// 管道粗糙系数
|
/// </summary>
|
[SysType("assets_pipe_coefficient")]
|
public class AssetsPipeLineCoefficient : BaseModel, System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsPipeLineCoefficient()
|
{ }
|
|
public AssetsPipeLineCoefficient(AssetsPipeLineCoefficient rhs)
|
{
|
this.ID = rhs.ID;
|
this.PipeLineID = rhs.PipeLineID;
|
this.Name = rhs.Name;
|
this.Caliber = rhs.Caliber;
|
this.Material = rhs.Material;
|
this.eAlgorithmType = rhs.eAlgorithmType;
|
this.StartValue = rhs.StartValue;
|
this.EndValue = rhs.EndValue;
|
}
|
|
public void Reset(AssetsPipeLineCoefficient rhs)
|
{
|
this.ID = rhs.ID;
|
this.PipeLineID = rhs.PipeLineID;
|
this.Name = rhs.Name;
|
this.Caliber = rhs.Caliber;
|
this.Material = rhs.Material;
|
this.eAlgorithmType = rhs.eAlgorithmType;
|
this.StartValue = rhs.StartValue;
|
this.EndValue = rhs.EndValue;
|
}
|
|
/// <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>
|
/// 算法类型
|
/// </summary>
|
public eAlgorithmType eAlgorithmType { get; set; }
|
|
/// <summary>
|
/// 管道ID
|
/// </summary>
|
public long PipeLineID { get; set; }
|
|
/// <summary>
|
/// 开始值
|
/// </summary>
|
public string StartValue { get; set; }
|
|
/// <summary>
|
/// 结束值
|
/// </summary>
|
public string EndValue { get; set; }
|
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsPumpGroupAndMainMapping Clone()
|
{
|
return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|