using System;
using System.ComponentModel.DataAnnotations;
namespace IStation.Model
{
///
/// 泵曲线映射
///
public class PumpCurveMapping :System.ICloneable
{
///
///
///
public PumpCurveMapping() { }
///
///
///
public PumpCurveMapping(PumpCurveMapping rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.PumpID = rhs.PumpID;
this.CurveID = rhs.CurveID;
this.OtherName = rhs.OtherName;
this.SortCode = rhs.SortCode;
this.IsWorking = rhs.IsWorking;
}
///
///
///
public void Reset(PumpCurveMapping rhs)
{
this.ID = rhs.ID;
this.CorpID = rhs.CorpID;
this.PumpID = rhs.PumpID;
this.CurveID = rhs.CurveID;
this.OtherName = rhs.OtherName;
this.SortCode = rhs.SortCode;
this.IsWorking = rhs.IsWorking;
}
///
/// 标识
///
public long ID { get; set; }
///
/// 客户标识
///
public long CorpID { get; set; }
///
/// 泵标识
///
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 (PumpCurveMapping)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}