using Yw.Entity; namespace HStation.Entity { /// /// 业务站 /// [SysType("assets_valve_coefficient")] [SugarTable("assets_valve_coefficient")] public class AssetsValveCoefficient : BaseEntity, System.ICloneable { /// /// /// public AssetsValveCoefficient() { } public AssetsValveCoefficient(AssetsValveCoefficient rhs) { this.ID = rhs.ID; this.MainID = rhs.MainID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; } public void Reset(AssetsValveCoefficient rhs) { this.ID = rhs.ID; this.MainID = rhs.MainID; this.Name = rhs.Name; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.MinorLoss = rhs.MinorLoss; } /// /// 名称 /// public string Name { get; set; } /// /// 型号ID /// public long MainID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 局阻系数 /// public double MinorLoss { get; set; } /// /// 水头损失曲线 /// public string MinorLossCurve { get; set; } /// /// 开度损失曲线 /// public string OpenLossCurve { get; set; } /// /// /// public AssetsValveCoefficient Clone() { return (AssetsValveCoefficient)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }