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