using System; namespace IStation.Entity { /// /// 泵曲线映射 /// public class PumpCurveMapping : BaseEntity, System.ICloneable, ISorter { 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 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 (PumpCurveMapping)this.MemberwiseClone(); } object ICloneable.Clone() { return this.MemberwiseClone(); } } }