using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.Linq; namespace IStation.Model { /// /// 分析方案 /// public partial class AnalyzeScheme : System.ICloneable { public AnalyzeScheme() { } public AnalyzeScheme(AnalyzeScheme rhs) { this.Id = rhs.Id; this.Name = rhs.Name; this.Type = rhs.Type; this.AnalyseStructureId = rhs.AnalyseStructureId; this.AnalyseConfig = rhs.AnalyseConfig; this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime; this.Frequency = rhs.Frequency; this.AnalyseStatus = rhs.AnalyseStatus; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } public void Reset(AnalyzeScheme rhs) { this.Id = rhs.Id; this.Name = rhs.Name; this.Type = rhs.Type; this.AnalyseStructureId = rhs.AnalyseStructureId; this.AnalyseConfig = rhs.AnalyseConfig; this.StartTime = rhs.StartTime; this.EndTime = rhs.EndTime; this.Frequency = rhs.Frequency; this.AnalyseStatus = rhs.AnalyseStatus; this.TagName = rhs.TagName; this.SortCode = rhs.SortCode; this.Description = rhs.Description; } /// /// 标识 /// public long Id { get; set; } /// /// 名称 /// public string Name { get; set; } /// /// 分析类型 /// public string Type { get; set; } /// /// 分析结构ID /// public long AnalyseStructureId { get; set; } /// /// 分析配置 /// public string AnalyseConfig { get; set; } /// /// 开始时间 /// public DateTime StartTime { get; set; } /// /// 结束时间 /// public DateTime EndTime { get; set; } /// /// 分析频率 /// public int Frequency { get; set; } /// /// 分析状态 /// public Status AnalyseStatus { get; set; } /// /// 标签 /// public string TagName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 说明 /// public string Description { get; set; } public AnalyzeScheme Clone() { return (AnalyzeScheme)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }