using Yw.Model; namespace HStation.Model { /// /// 图表 /// public class XhsPhartDiagram : BaseModel, IParas, IFlags, ITagName, ISorter, System.ICloneable { /// /// /// public XhsPhartDiagram() { } /// /// /// public XhsPhartDiagram(XhsPhartDiagram rhs) : base(rhs) { this.Name = rhs.Name; this.NO = rhs.NO; this.DiagramType = rhs.DiagramType; this.DiagramParas = rhs.DiagramParas; this.DiagramInfo = rhs.DiagramInfo; this.DispParas = rhs.DispParas; this.ExtraParas = rhs.ExtraParas; 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(XhsPhartDiagram rhs) { this.ID = rhs.ID; this.Name = rhs.Name; this.NO = rhs.NO; this.DiagramType = rhs.DiagramType; this.DiagramParas = rhs.DiagramParas; this.DiagramInfo = rhs.DiagramInfo; this.DispParas = rhs.DispParas; this.ExtraParas = rhs.ExtraParas; 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 string Name { get; set; } /// /// 编号 /// public string NO { get; set; } /// /// 图表类型 /// public int DiagramType { get; set; } /// /// 图表参数 /// public string DiagramParas { get; set; } /// /// 图表信息 /// public string DiagramInfo { get; set; } /// /// 显示参数 /// public string DispParas { get; set; } /// /// 拓展参数 /// public string ExtraParas { 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 XhsPhartDiagram Clone() { return new XhsPhartDiagram(this); } object ICloneable.Clone() { return this.Clone(); } } }