namespace IStation.Model { /// /// 泵曲线映射 /// public class PumpCurveExMapping : Model.PumpCurve { /// /// /// public PumpCurveExMapping() { } /// /// /// public PumpCurveExMapping(PumpCurve rhs) : base(rhs) { } /// /// /// public PumpCurveExMapping(PumpCurve rhs, PumpCurveMapping mapping) : base(rhs) { this.MappingID = mapping.ID; this.PumpID = mapping.PumpID; this.OtherName = mapping.OtherName; this.IsWorking = mapping.IsWorking; this.SortCode = mapping.SortCode; } /// /// /// public void Reset(PumpCurveExMapping rhs) { base.Reset(rhs); this.MappingID = rhs.MappingID; this.PumpID = rhs.PumpID; this.OtherName = rhs.OtherName; this.SortCode = rhs.SortCode; this.IsWorking = rhs.IsWorking; } /// /// /// public void Reset(PumpCurveMapping rhs) { this.MappingID = rhs.ID; this.PumpID = rhs.PumpID; this.OtherName = rhs.OtherName; this.SortCode = rhs.SortCode; this.IsWorking = rhs.IsWorking; } /// /// 映射标识 /// public long MappingID { get; set; } /// /// 泵标识 /// public long PumpID { get; set; } /// /// 别名 /// public string OtherName { get; set; } /// /// 排序码 /// public int SortCode { get; set; } /// /// 工作曲线 /// public bool IsWorking { get; set; } } }