duheng
2024-10-16 083c4e47c7a59025f3348bd093693c6b3febb014
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
namespace HStation.Model
{
    /// <summary>
    /// 组件
    /// </summary>
    public abstract class RevitParter
    {
        /// <summary>
        /// 
        /// </summary>
        public RevitParter() { }
 
        /// <summary>
        /// 
        /// </summary>
        public RevitParter(Model.RevitParter rhs)
        {
            this.Id = rhs.Id;
            this.Name = rhs.Name;
            this.Code = rhs.Code;
            this.ModelType = rhs.ModelType;
            this.Flags = rhs.Flags;
            this.Description = rhs.Description;
 
            this.PropValueList = rhs.PropValueList?.Select(x => new RevitPropValue(x)).ToList();
            this.PropStatusList = rhs.PropStatusList?.Select(x => new RevitPropStatus(x)).ToList();
        }
 
        /// <summary>
        /// Id
        /// </summary>
        public string Id { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>    
        public string Name { get; set; }
 
        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
 
        /// <summary>
        /// 型号
        /// </summary>
        public string ModelType { get; set; }
 
        /// <summary>
        /// 标签
        /// </summary>
        public List<string> Flags { get; set; }
 
        /// <summary>
        /// 说明
        /// </summary>    
        public string Description { get; set; }
 
        /// <summary>
        /// 属性值列表
        /// </summary>
        public List<RevitPropValue> PropValueList { get; set; }
 
        /// <summary>
        /// 属性状态列表
        /// </summary>
        public List<RevitPropStatus> PropStatusList { get; set; }
 
 
    }
}