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; }
///
/// 图片类型
///
public string ImgFormat { get; set; }
///
/// 层级
///
public int MaxLevel { get; set; }
///
/// 最新层级
///
public int MinLevel { get; set; }
private int tileSize = 256;
///
/// 瓦片大小
///
public int TileSize
{
get { return tileSize; }
set
{
tileSize = value;
}
}
///
/// mxd路径
///
public string MxdPath { get; set; }
///
/// 瓦片文件保存路径
///
public string TilesDBPath { get; set; }
///
/// 分块总数
///
public int BlockHorizontalCount { get; set; }
public int BlockVerticalCount { get; set; }
///
/// 选择分块索引
///
public int BlockIndex { get; set; }
public bool IsBlock { get; set; }
///
/// 最大比例尺
///
public int MaxScale { get; set; }
public int MinScale { get; set; }
public int ThreadNum { get; set; }
///
/// 切片区域类型
///
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 = "";
}
}
}