MoonExp/Models/ExportArgs.cs
@@ -95,6 +95,11 @@ public String wmtsUrl { set; get; } /// <summary> /// 图层ID集合 /// </summary> public List<int> layerIds { set; get; } /// <summary> /// 设置默认值 /// </summary> public void SetDefault() @@ -104,6 +109,7 @@ if (string.IsNullOrWhiteSpace(scale)) scale = string.Empty; if (string.IsNullOrWhiteSpace(resolution)) resolution = string.Empty; if (string.IsNullOrWhiteSpace(date)) date = DateTime.Now.ToString("yyyy.MM.dd"); if (null == layerIds) layerIds = new List<int>(); this.dpi = GetDpi(this.pageSize); }