You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.3 KiB
96 lines
2.3 KiB
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace Kingo.Plugin.MakeTaskPackage.Entity |
|
{ |
|
[Serializable] |
|
public class MxdParameters |
|
{ |
|
public string SaveFileName { get; set; } |
|
|
|
/// <summary> |
|
/// 图片类型 |
|
/// </summary> |
|
public string ImgFormat { get; set; } |
|
/// <summary> |
|
/// 层级 |
|
/// </summary> |
|
public int MaxLevel { get; set; } |
|
|
|
/// <summary> |
|
/// 最新层级 |
|
/// </summary> |
|
public int MinLevel { get; set; } |
|
|
|
private int tileSize = 256; |
|
/// <summary> |
|
/// 瓦片大小 |
|
/// </summary> |
|
public int TileSize |
|
{ |
|
get { return tileSize; } |
|
set |
|
{ |
|
tileSize = value; |
|
} |
|
} |
|
/// <summary> |
|
/// mxd路径 |
|
/// </summary> |
|
public string MxdPath { get; set; } |
|
/// <summary> |
|
/// 瓦片文件保存路径 |
|
/// </summary> |
|
public string TilesDBPath { get; set; } |
|
|
|
/// <summary> |
|
/// 分块总数 |
|
/// </summary> |
|
public int BlockHorizontalCount { get; set; } |
|
|
|
public int BlockVerticalCount { get; set; } |
|
/// <summary> |
|
/// 选择分块索引 |
|
/// </summary> |
|
public int BlockIndex { get; set; } |
|
|
|
public bool IsBlock { get; set; } |
|
|
|
/// <summary> |
|
/// 最大比例尺 |
|
/// </summary> |
|
public int MaxScale { get; set; } |
|
|
|
public int MinScale { get; set; } |
|
|
|
public int ThreadNum { get; set; } |
|
/// <summary> |
|
/// 切片区域类型 |
|
/// </summary> |
|
public CUTAreaType CutType { get; set; } |
|
|
|
public string Projection { get; set; } |
|
|
|
public double MaxDistance { get; set; } |
|
|
|
public MxdParameters() |
|
{ |
|
this.TileSize = 256; |
|
ImgFormat = "png"; |
|
IsBlock = false; |
|
CutType = CUTAreaType.全部; |
|
MaxLevel = 0; |
|
MinLevel = 0; |
|
MaxScale = 50000; |
|
ThreadNum = 1; |
|
MxdPath = ""; |
|
SaveFileName = ""; |
|
TilesDBPath = ""; |
|
Projection = ""; |
|
} |
|
} |
|
|
|
}
|
|
|