using Yw.Entity;
namespace IStation.Entity
{
///
/// 测点映射
///
public class MonitorPointMapping : BaseEntity, System.ICloneable
{
///
///
///
public MonitorPointMapping() { }
///
///
///
public MonitorPointMapping(MonitorPointMapping rhs) : base(rhs)
{
this.MonitorPointID = rhs.MonitorPointID;
this.MappingType = rhs.MappingType;
this.MappingID = rhs.MappingID;
}
///
///
///
public void Reset(MonitorPointMapping rhs)
{
this.ID = rhs.ID;
this.MonitorPointID = rhs.MonitorPointID;
this.MappingType = rhs.MappingType;
this.MappingID = rhs.MappingID;
}
///
/// 测点id
///
public long MonitorPointID { get; set; }
///
/// 映射类型
///
public string MappingType { get; set; }
///
/// 映射id
///
public long MappingID { get; set; }
///
///
///
public MonitorPointMapping Clone()
{
return new MonitorPointMapping(this);
}
object ICloneable.Clone()
{
return Clone();
}
}
}