using Yw.Model; namespace HStation.Model { /// /// 三通型号 /// [SysType("assets_threelink_main")] public class AssetsThreelinkMain : BaseModel, ISorter, IFlags, IParas, ITagName, System.ICloneable { /// /// /// public AssetsThreelinkMain() { } public AssetsThreelinkMain(AssetsThreelinkMain rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Material = rhs.Material; this.Caliber = rhs.Caliber; this.RunThroughMinorLoss = rhs.RunThroughMinorLoss; this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss; this.KeyWords = rhs.KeyWords; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AssetsThreelinkMain rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.Material = rhs.Material; this.Caliber = rhs.Caliber; this.RunThroughMinorLoss = rhs.RunThroughMinorLoss; this.BranchThroughMinorLoss = rhs.BranchThroughMinorLoss; this.KeyWords = rhs.KeyWords; this.Paras = rhs.Paras == null ? null : new Dictionary(rhs.Paras); this.Flags = rhs.Flags?.ToList(); this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 系列ID /// public long SeriesID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 口径 /// public double? Caliber { get; set; } /// /// 材料 /// public string Material { get; set; } /// /// 主管通过损失系数 /// public double? RunThroughMinorLoss { get; set; } /// /// 支管通过损失系数 /// public double? BranchThroughMinorLoss { get; set; } /// /// 识别关键字 /// public List KeyWords { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 标志 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public AssetsPumpGroupAndMainMapping Clone() { return (AssetsPumpGroupAndMainMapping)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }