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;
|
}
|
|
/// <summary>
|
/// 所属ID
|
/// </summary>
|
public long Belong { get; set; }
|
|
/// <summary>
|
/// 开始值
|
/// </summary>
|
public decimal StartValue { get; set; }
|
|
/// <summary>
|
/// 结束值
|
/// </summary>
|
public decimal EndValue { get; set; }
|
|
/// <summary>
|
/// 颜色
|
/// </summary>
|
public Color Color { get; set; }
|
|
public ColourSpilt Clone()
|
{
|
return (ColourSpilt)this.MemberwiseClone();
|
}
|
|
object ICloneable.Clone()
|
{
|
return this.MemberwiseClone();
|
}
|
}
|
}
|