ningshuxia
2024-05-31 cd611604d8f59414e7d29f5521b4a81d3a84122c
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
60
61
62
63
64
65
66
67
namespace IStation.Model
{
    /// <summary>
    /// 
    /// </summary>
    public class ScheduleRule : BaseModel, System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public ScheduleRule() { }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public ScheduleRule(ScheduleRule rhs) : base(rhs)
        {
            this.RequestID = rhs.RequestID;
            this.Station = rhs.Station;
            this.Config = rhs.Config;
        }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public void Reset(ScheduleRule rhs)
        {
            this.RequestID = rhs.RequestID;
            this.Station = rhs.Station;
            this.Config = rhs.Config;
        }
 
 
        /// <summary>
        /// 调度请求标识
        /// </summary>
        public long RequestID { get; set; }
 
        /// <summary>
        /// 泵站
        /// </summary>
        public eDockingStation Station { get; set; }
 
        /// <summary>
        /// 配置Json 
        /// </summary>
        public string Config { get; set; }
 
 
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public ScheduleRule Clone()
        {
            return (ScheduleRule)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}