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;
|
}
|
}
|
}
|