using System.Drawing;
using Yw.Model;
namespace HStation.Model
{
public class ColourSpilt : BaseModel, System.ICloneable
{
public ColourSpilt()
{ }
public ColourSpilt(ColourSpilt rhs)
{
this.ID = rhs.ID;
this.Belong = rhs.Belong;
this.StartValue = rhs.StartValue;
this.EndValue = rhs.EndValue;
this.Color = rhs.Color;
}
public void Reset(ColourSpilt rhs)
{
this.ID = rhs.ID;
this.Belong = rhs.Belong;
this.StartValue = rhs.StartValue;
this.EndValue = rhs.EndValue;
this.Color = rhs.Color;
}
///
/// 所属ID
///
public long Belong { get; set; }
///
/// 开始值
///
public decimal StartValue { get; set; }
///
/// 结束值
///
public decimal EndValue { get; set; }
///
/// 颜色
///
public Color Color { get; set; }
public ColourSpilt Clone()
{
return (ColourSpilt)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}