using Yw.Model; namespace HStation.Model { /// /// 流量计型号 /// public class AssetsFlowmeterMain : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public AssetsFlowmeterMain() { } /// /// /// public AssetsFlowmeterMain(AssetsFlowmeterMain rhs) : base(rhs) { this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.MinorLoss = rhs.MinorLoss; this.KeyWords = rhs.KeyWords?.ToList(); 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(AssetsFlowmeterMain rhs) { this.ID = rhs.ID; this.SeriesID = rhs.SeriesID; this.Name = rhs.Name; this.MinorLoss = rhs.MinorLoss; this.KeyWords = rhs.KeyWords?.ToList(); 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 MinorLoss { 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 AssetsFlowmeterMain Clone() { return new AssetsFlowmeterMain(this); } object ICloneable.Clone() { return this.Clone(); } } }