using HStation.Assets; using Yw.Model; namespace HStation.Model { /// /// 业务站 /// [SysType("assets_elbow_main")] public class AssetsElbowMain : BaseModel, ISorter, System.ICloneable { /// /// /// public AssetsElbowMain() { } public AssetsElbowMain(AssetsElbowMain rhs) : base(rhs) { this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.Angle = rhs.Angle; this.MinorLoss = rhs.MinorLoss; this.ElbowLengthType = rhs.ElbowLengthType; this.KeyWord = rhs.KeyWord; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AssetsElbowMain rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.SeriesID = rhs.SeriesID; this.Caliber = rhs.Caliber; this.Material = rhs.Material; this.Angle = rhs.Angle; this.MinorLoss = rhs.MinorLoss; this.ElbowLengthType = rhs.ElbowLengthType; this.KeyWord = rhs.KeyWord; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 名称 /// public string Name { get; set; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 管路连接长度 /// public eLengthType? ElbowLengthType { get; set; } /// /// 角度 /// public int? Angle { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 系数 /// public double MinorLoss { get; set; } /// /// 识别关键字 /// public List KeyWord { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsPumpGroupAndMainMap Clone() { return (AssetsPumpGroupAndMainMap)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }