using System; using System.Text; using System.Collections.Generic; using System.Data; using System.Runtime.Serialization; using System.ComponentModel.DataAnnotations; using System.Linq; namespace IStation.Model { /// /// 监测波动记录 /// public partial class MonitorFluctRecord : System.ICloneable { /// /// /// public MonitorFluctRecord() { } /// /// /// public MonitorFluctRecord(MonitorFluctRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.MonitorPointID = rhs.MonitorPointID; this.SignalID = rhs.SignalID; this.TimeArray = rhs.TimeArray?.ToList(); this.MinValues = rhs.MinValues?.ToList(); this.MaxValues = rhs.MaxValues?.ToList(); } /// /// /// public void Reset(MonitorFluctRecord rhs) { this.ID = rhs.ID; this.CorpID = rhs.CorpID; this.MonitorPointID = rhs.MonitorPointID; this.SignalID = rhs.SignalID; this.TimeArray = rhs.TimeArray?.ToList(); this.MinValues = rhs.MinValues?.ToList(); this.MaxValues = rhs.MaxValues?.ToList(); } /// /// 标识 /// public long ID { get; set; } /// /// 客户标识 /// public long CorpID { get; set; } /// /// 测点标识 /// public long MonitorPointID { get; set; } /// /// 信号标识 /// public long SignalID { get; set; } /// /// 时间数组 精确到秒 /// public List TimeArray { get; set; } /// /// 最小值集合 /// public List MinValues { get; set; } /// /// 最大值集合 /// public List MaxValues { get; set; } /// /// /// public MonitorFluctRecord Clone() { return new MonitorFluctRecord(this); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }