lixiaojun
2022-11-23 b5c20e5143555a1bdd450a1e660216b90c93b6f1
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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace IStation.Bimface
{
    /// <summary>
    ///  dwg 模型配置项
    /// </summary>
    public class DwgModelConfig
    {
        public DwgModelConfig()
        {
            this.exportDrawing = true;
            this.exportPdf = false;
            this.exportThumb = true;
        }
        /// <summary>
        ///  是否转成矢量图纸,默认为 true
        /// </summary>
        public bool exportDrawing { get; set; }
 
        /// <summary>
        ///  是否导出pdf文件,默认为 false
        /// </summary>
        public bool exportPdf { get; set; }
 
        /// <summary>
        ///  是否导出缩略图,默认为 true
        /// </summary>
        public bool exportThumb { get; set; }
 
        /// <summary>
        /// 获取JSON字典
        /// </summary>
        /// <returns></returns>
        public virtual Dictionary<string, object> GetJsonDict()
        {
            var dic = new Dictionary<string, object>();
            dic.Add("exportDrawing", this.exportDrawing);
            dic.Add("exportPdf", this.exportPdf);
            dic.Add("exportThumb", this.exportThumb);
            return dic;
        }
    }
}