ningshuxia
2022-11-14 e4680615a852b2eb115b32c8bcbc3b788c3f9ef4
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace IStation.Model.Epanet
{
    /// <summary>
    /// Epanet 元素映射
    /// </summary>
    public class ElementMapper
    {
        /// <summary>
        /// 
        /// </summary>
        public ElementMapper() { }
 
        /// <summary>
        /// 
        /// </summary>
        public ElementMapper(string objectType, long objectId, string elementId)
        {
            this.ObjectType = objectType;
            this.ObjectID = objectId;
            this.ElementID = elementId;
        }
 
        /// <summary>
        /// 
        /// </summary>
        public ElementMapper(ElementMapper rhs)
        {
            this.ObjectType = rhs.ObjectType;
            this.ObjectID = rhs.ObjectID;
            this.ElementID = rhs.ElementID;
        }
 
        /// <summary>
        /// 对象类型
        /// </summary>
        public string ObjectType { get; set; }
 
        /// <summary>
        /// 对象ID
        /// </summary>
        public long ObjectID { get; set; }
 
        /// <summary>
        /// 元素id
        /// </summary>
        public string ElementID { get; set; }
    }
}