using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IStation.Model { public class PumpCurveExMapping: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.SortCode = mapping.SortCode; this.IsWorking = mapping.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; } } }