duheng
2024-10-09 e39f5a762c3401ae38b0c064b10bd4c30effb6e4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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();
        }
    }
}