ningshuxia
2023-03-14 076301ec9c2c2fc117a062231c4c5f0e8ea6c23c
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
using System.Linq;
 
namespace IStation.Model
{
    /// <summary>
    /// 监测波动记录
    /// </summary>    
    public partial class MonitorFluctRecord : System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public MonitorFluctRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public MonitorFluctRecord(MonitorFluctRecord rhs)
        {
            this.ID = rhs.ID;
            this.CorpID = rhs.CorpID;
            this.MonitorPointID = rhs.MonitorPointID;
            this.SignalID = rhs.SignalID;
            this.TimeArray = rhs.TimeArray?.ToList();
            this.MinValues = rhs.MinValues?.ToList();
            this.MaxValues = rhs.MaxValues?.ToList();
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void Reset(MonitorFluctRecord rhs)
        {
            this.ID = rhs.ID;
            this.CorpID = rhs.CorpID;
            this.MonitorPointID = rhs.MonitorPointID;
            this.SignalID = rhs.SignalID;
            this.TimeArray = rhs.TimeArray?.ToList();
            this.MinValues = rhs.MinValues?.ToList();
            this.MaxValues = rhs.MaxValues?.ToList();
        }
 
        /// <summary>
        /// 标识
        /// </summary>    
        public long ID { get; set; }
 
        /// <summary>
        /// 客户标识
        /// </summary>
        public long CorpID { get; set; }
 
        /// <summary>
        /// 测点标识
        /// </summary>
        public long MonitorPointID { get; set; }
 
        /// <summary>
        /// 信号标识
        /// </summary>
        public long SignalID { get; set; }
 
        /// <summary>
        /// 时间数组 精确到秒
        /// </summary>    
        public List<int> TimeArray { get; set; }
 
        /// <summary>
        /// 最小值集合
        /// </summary>    
        public List<double> MinValues { get; set; }
 
        /// <summary>
        /// 最大值集合
        /// </summary>    
        public List<double> MaxValues { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public MonitorFluctRecord Clone()
        {
            return new MonitorFluctRecord(this);
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}