using Yw.Model;
|
namespace HStation.Model
|
{
|
/// <summary>
|
/// 流量计系数
|
///</summary>
|
[SysType("assets-flowmeter-coefficient")]
|
public class AssetsFlowmeterCoefficient : BaseModel , System.ICloneable
|
{
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsFlowmeterCoefficient() { }
|
|
/// <summary>
|
///
|
/// </summary>
|
public AssetsFlowmeterCoefficient(AssetsFlowmeterCoefficient rhs) : base(rhs)
|
{
|
this.Name=rhs.Name;
|
this.Caliber=rhs.Caliber;
|
this.Material=rhs.Material;
|
this.MinorLoss=rhs.MinorLoss;
|
}
|
|
/// <summary>
|
///
|
/// </summary>
|
public void Reset(AssetsFlowmeterCoefficient rhs)
|
{
|
this.ID=rhs.ID;
|
this.Name=rhs.Name;
|
this.Caliber=rhs.Caliber;
|
this.Material=rhs.Material;
|
this.MinorLoss=rhs.MinorLoss;
|
}
|
|
|
/// <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 AssetsFlowmeterCoefficient Clone()
|
{
|
return (AssetsFlowmeterCoefficient)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
|
}
|
}
|
|
|
|
|