ningshuxia
2022-12-12 4f1314cb69a47c22e52f1efdc4b4be6c1d55143d
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Model
{
    /// <summary>
    /// 实时监测记录
    /// </summary>
    public class MonitorRealRecord : MonitorRealRecordPure, System.ICloneable
    {
        /// <summary>
        /// 
        /// </summary>
        public MonitorRealRecord() { }
 
        /// <summary>
        /// 
        /// </summary>
        public MonitorRealRecord(MonitorRealRecordPure rhs) : base(rhs) { }
 
        /// <summary>
        /// 
        /// </summary>
        public MonitorRealRecord(MonitorRealRecord rhs) : base(rhs)
        {
            this.ID = rhs.ID;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public void Reset(MonitorRealRecord rhs)
        {
            this.ID = rhs.ID;
            this.CorpID = rhs.CorpID;
            this.MonitorPointID = rhs.MonitorPointID;
            this.SignalID = rhs.SignalID;
            this.RecordType = rhs.RecordType;
            this.SrcTime = rhs.SrcTime;
            this.DataTime = rhs.DataTime;
            this.SrcValue = rhs.SrcValue;
            this.DataValue = rhs.DataValue;
            this.DataStatus = rhs.DataStatus;
        }
 
        /// <summary>
        /// 标识
        /// </summary>    
        public long ID { get; set; }
 
        /// <summary>
        /// 
        /// </summary>
        public MonitorRealRecord Clone()
        {
            return (MonitorRealRecord)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
}