namespace Yw.Model
{
///
/// 泵曲线
///
public class PumpCurve : BaseModel, System.ICloneable
{
///
///
///
public PumpCurve() { }
///
///
///
public PumpCurve(PumpCurve rhs) : base(rhs)
{
this.Name = rhs.Name;
this.SourceWay = rhs.SourceWay;
this.CreateMethod = rhs.CreateMethod;
this.CoordParas = rhs.CoordParas;
this.CurveInfo = rhs.CurveInfo;
this.ReliabilityStatus = rhs.ReliabilityStatus;
this.InputTime = rhs.InputTime;
this.CreateTime = rhs.CreateTime;
this.CreateUserID = rhs.CreateUserID;
this.CreateUserName = rhs.CreateUserName;
this.UpdateTime = rhs.UpdateTime;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateUserName = rhs.UpdateUserName;
this.Description = rhs.Description;
}
///
///
///
public void Reset(PumpCurve rhs)
{
this.ID = rhs.ID;
this.Name = rhs.Name;
this.SourceWay = rhs.SourceWay;
this.CreateMethod = rhs.CreateMethod;
this.CoordParas = rhs.CoordParas;
this.CurveInfo = rhs.CurveInfo;
this.ReliabilityStatus = rhs.ReliabilityStatus;
this.InputTime = rhs.InputTime;
this.CreateTime = rhs.CreateTime;
this.CreateUserID = rhs.CreateUserID;
this.CreateUserName = rhs.CreateUserName;
this.UpdateTime = rhs.UpdateTime;
this.UpdateUserID = rhs.UpdateUserID;
this.UpdateUserName = rhs.UpdateUserName;
this.Description = rhs.Description;
}
///
/// 名称
///
public string Name { get; set; }
///
/// 来源方式
///
public eSourceWay SourceWay { get; set; }
///
/// 创建方法
///
public string CreateMethod { get; set; }
///
/// 坐标参数
///
public string CoordParas { get; set; }
///
/// 曲线信息
///
public PumpCurveInfoModel CurveInfo { get; set; }
///
/// 可信度
///
public eReliabilityStatus ReliabilityStatus { get; set; }
///
/// 录入时间
///
public DateTime InputTime { get; set; }
///
/// 创建时间
///
public DateTime CreateTime { get; set; }
///
/// 创建人id
///
public long CreateUserID { get; set; }
///
/// 创建人名称
///
public string CreateUserName { get; set; }
///
/// 更新时间
///
public DateTime? UpdateTime { get; set; }
///
/// 更新人id
///
public long? UpdateUserID { get; set; }
///
/// 更新人名称
///
public string UpdateUserName { get; set; }
///
/// 说明
///
public string Description { get; set; }
///
///
///
public PumpCurve Clone()
{
return new PumpCurve(this);
}
object ICloneable.Clone()
{
return this.Clone();
}
}
}