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