using System; namespace IStation.Model { /// /// 泵曲线映射 /// public class PumpCurveMapping : BaseModel, System.ICloneable { /// /// /// public PumpCurveMapping() { } /// /// /// public PumpCurveMapping(PumpCurveMapping rhs) : base(rhs) { this.PumpID = rhs.PumpID; this.CurveID = rhs.CurveID; this.OtherName = rhs.OtherName; this.IsWorking = rhs.IsWorking; this.SortCode = rhs.SortCode; } /// /// /// public void Reset(PumpCurveMapping rhs) { this.ID = rhs.ID; this.PumpID = rhs.PumpID; this.CurveID = rhs.CurveID; this.OtherName = rhs.OtherName; this.SortCode = rhs.SortCode; this.IsWorking = rhs.IsWorking; } /// /// 泵标识 /// public long PumpID { get; set; } /// /// 曲线标识 /// public long CurveID { get; set; } /// /// 别名 /// public string OtherName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 工作曲线 /// public bool IsWorking { get; set; } public PumpCurveMapping Clone() { return new PumpCurveMapping(this); } object ICloneable.Clone() { return Clone(); } } }