namespace IStation.Model
{
///
/// 泵曲线映射
///
public class PumpCurveExMapping : Model.PumpCurve
{
///
///
///
public PumpCurveExMapping() { }
///
///
///
public PumpCurveExMapping(PumpCurve rhs) : base(rhs) { }
///
///
///
public PumpCurveExMapping(PumpCurve rhs, PumpCurveMapping mapping) : base(rhs)
{
MappingID = mapping.ID;
PumpID = mapping.PumpID;
OtherName = mapping.OtherName;
IsWorking = mapping.IsWorking;
SortCode = mapping.SortCode;
}
///
///
///
public void Reset(PumpCurveExMapping rhs)
{
base.Reset(rhs);
MappingID = rhs.MappingID;
PumpID = rhs.PumpID;
OtherName = rhs.OtherName;
SortCode = rhs.SortCode;
IsWorking = rhs.IsWorking;
}
///
///
///
public void Reset(PumpCurveMapping rhs)
{
MappingID = rhs.ID;
PumpID = rhs.PumpID;
OtherName = rhs.OtherName;
SortCode = rhs.SortCode;
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; }
}
}