using Yw.Model; namespace HStation.Model { /// /// 图形 /// public class XhsPhartGraph : BaseModel, IParas, IFlags, ISorter, System.ICloneable { /// /// /// public XhsPhartGraph() { } /// /// /// public XhsPhartGraph(XhsPhartGraph rhs) : base(rhs) { this.DiagramID = rhs.DiagramID; this.Name = rhs.Name; this.GraphType = rhs.GraphType; this.GraphParas = rhs.GraphParas; this.GraphInfo = rhs.GraphInfo; this.GeometryStyle = rhs.GeometryStyle; this.GeometryParas = rhs.GeometryParas; this.GeometryInfo = rhs.GeometryInfo; this.DispParas = rhs.DispParas; this.ExtraParas = rhs.ExtraParas; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// /// public void Reset(XhsPhartGraph rhs) { this.ID = rhs.ID; this.DiagramID = rhs.DiagramID; this.Name = rhs.Name; this.GraphType = rhs.GraphType; this.GraphParas = rhs.GraphParas; this.GraphInfo = rhs.GraphInfo; this.GeometryStyle = rhs.GeometryStyle; this.GeometryParas = rhs.GeometryParas; this.GeometryInfo = rhs.GeometryInfo; this.DispParas = rhs.DispParas; this.ExtraParas = rhs.ExtraParas; this.Paras = rhs.Paras; this.Flags = rhs.Flags; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 图表id /// public long DiagramID { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 图形类型 /// public int GraphType { get; set; } /// /// 图形参数 /// public string GraphParas { get; set; } /// /// 图形信息 /// public string GraphInfo { get; set; } /// /// 几何样式 /// public int GeometryStyle { get; set; } /// /// 几何参数 /// public string GeometryParas { get; set; } /// /// 几何信息 /// public string GeometryInfo { get; set; } /// /// 显示参数 /// public string DispParas { get; set; } /// /// 拓展参数 /// public string ExtraParas { get; set; } /// /// 参数 /// public Dictionary Paras { get; set; } /// /// 标签 /// public List Flags { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } /// /// /// public XhsPhartGraph Clone() { return new XhsPhartGraph(this); } object ICloneable.Clone() { return this.Clone(); } } }