ningshuxia
2024-05-27 f51ccee7e76f598c1f718190d216f96b5ea1ca46
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
68
69
70
71
72
73
74
75
76
77
78
79
80
namespace IStation.Entity
{
    /// <summary>
    /// 
    /// </summary>
    public class ScheduleRule : BaseEntity, 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.CurrentOpenFlags = rhs.CurrentOpenFlags;
            this.MustOpenFlags = rhs.MustOpenFlags;
            this.MustCloseFlags = rhs.MustCloseFlags;
        }
 
        /// <summary>
        /// 
        /// </summary>
        /// <param name="rhs"></param>
        public void Reset(ScheduleRule rhs)
        {
            this.RequestID = rhs.RequestID;
            this.Station = rhs.Station;
            this.CurrentOpenFlags = rhs.CurrentOpenFlags;
            this.MustOpenFlags = rhs.MustOpenFlags;
            this.MustCloseFlags = rhs.MustCloseFlags;
        }
 
        /// <summary>
        /// 调度请求标识
        /// </summary>
        public long RequestID { get; set; }
 
        /// <summary>
        /// 泵站
        /// </summary>
        public int Station { get; set; }
 
        /// <summary>
        /// 当前开启标签列表
        /// </summary>    
        public string CurrentOpenFlags { get; set; }
 
        /// <summary>
        /// 必须开启标签列表
        /// </summary>    
        public string MustOpenFlags { get; set; }
 
        /// <summary>
        /// 必须关闭标签列表 
        /// </summary>    
        public string MustCloseFlags { get; set; }
 
 
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public ScheduleRule Clone()
        {
            return (ScheduleRule)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}