duheng
2025-02-07 c5136b7517998a076f1bd2e4abdda01decae8b6f
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
namespace IStation.Model
{
    /// <summary>
    /// 泵曲线映射
    /// </summary>    
    public class PumpCurveExMapping : Model.PumpCurve
    {
        /// <summary>
        /// 
        /// </summary>
        public PumpCurveExMapping() { }
 
        /// <summary>
        /// 
        /// </summary>
        public PumpCurveExMapping(PumpCurve rhs) : base(rhs) { }
 
        /// <summary>
        /// 
        /// </summary>
        public PumpCurveExMapping(PumpCurve rhs, PumpCurveMapping mapping) : base(rhs)
        {
            this.PumpID = mapping.PumpID;
            this.OtherName = mapping.OtherName;
            this.IsWorking = mapping.IsWorking;
            this.SortCode = mapping.SortCode;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void Reset(PumpCurveExMapping rhs)
        {
            base.Reset(rhs);
            this.PumpID = rhs.PumpID;
            this.OtherName = rhs.OtherName;
            this.SortCode = rhs.SortCode;
            this.IsWorking = rhs.IsWorking;
        }
 
        /// <summary>
        /// 泵标识
        /// </summary>    
        public long PumpID { get; set; }
 
        /// <summary>
        /// 别名
        /// </summary>    
        public string OtherName { get; set; }
 
        /// <summary>
        /// 排序码
        /// </summary>    
        public int SortCode { get; set; }
 
        /// <summary>
        /// 工作曲线
        /// </summary>    
        public bool IsWorking { get; set; }
 
    }
}