ningshuxia
2023-02-24 1e4b358de58e36bfbf692ab2538ff9e7d60fd025
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
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization; 
 
namespace IStation.Entity
{
    /// <summary>
    /// 测点映射
    /// </summary> 
    public class MonitorPointMapping :BaseEntity, System.ICloneable,ISorter
    { 
        public MonitorPointMapping() { } 
        public MonitorPointMapping(MonitorPointMapping rhs):base(rhs)
        {
            this.MonitorPointId = rhs.MonitorPointId;
            this.ObjectType = rhs.ObjectType;
            this.ObjectId = rhs.ObjectId;
            this.SortCode = rhs.SortCode; 
        }
 
        /// <summary>
        /// 测点标识
        /// </summary>    
        public long MonitorPointId
        {
            get { return _monitorpointid; }
            set { _monitorpointid = value; }
        }
        private long _monitorpointid;
 
        /// <summary>
        /// 对象类型
        /// </summary>    
        public string ObjectType
        {
            get { return _objecttype; }
            set { _objecttype = value; }
        }
        private string _objecttype;
 
        /// <summary>
        /// 对象标识
        /// </summary>    
        public long ObjectId
        {
            get { return _objectid; }
            set { _objectid = value; }
        }
        private long _objectid;
 
        /// <summary>
        /// 排序码
        /// </summary>    
        public int SortCode
        {
            get { return _sortcode; }
            set { _sortcode = value; }
        }
        private int _sortcode;
         
        public MonitorPointMapping Clone()
        {
            return (MonitorPointMapping)this.MemberwiseClone();
        }
 
        object ICloneable.Clone()
        {
            return this.MemberwiseClone();
        }
    }
 
}