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.
484 lines
12 KiB
484 lines
12 KiB
using System; |
|
using System.Collections.Generic; |
|
using System.Linq; |
|
using System.Text; |
|
using System.Threading.Tasks; |
|
|
|
namespace KGIS.PlatformPlugin.Enum |
|
{ |
|
|
|
public enum enumDoubleClickResult |
|
{ |
|
enumDCRDefault = 1, |
|
enumDCRChooseAndDismiss = 2, |
|
enumDCRShowChildren = 3, |
|
enumDCRNothing = 4, |
|
} |
|
/// <summary> |
|
/// 支持打开的数据类型 |
|
/// </summary> |
|
public enum enumOpenDataType |
|
{ |
|
//文件夹 |
|
enumAllType = 1, |
|
enumMyComputer = 2, |
|
//MyDocument=1, |
|
enumDesktop = 3, |
|
enumFolder = 4, |
|
enumLogicalDriver = 5, |
|
enumLocator = 6, |
|
enumDatabaseConnectionsFolder = 7, |
|
enumFolderConnection = 73, |
|
//空间数据库 |
|
enumSpatialDatabaseConnection = 8, |
|
enumAddDBConnection = 9, |
|
enumSDE = 10, |
|
enumSDEFeatureDataset = 11, |
|
enumSDEFeatureClass = 12, |
|
enumSDERasterCatalog = 13, |
|
enumSDERasterDataset = 14, |
|
enumSDERasterBand = 15, |
|
enumSDETable = 16, |
|
enumSDETopology = 17, |
|
//文件数据库 |
|
enumFGDB = 18, |
|
enumFGDBFeatureDataset = 19, |
|
enumFGDBFeatureClass = 20, |
|
enumFGDBRasterCatalog = 21, |
|
enumFGDBRasterDataset = 22, |
|
enumFGDBRasterBand = 23, |
|
enumFGDBTable = 24, |
|
|
|
//简单数据文件 |
|
enumShapefile = 25, |
|
enumRasterDataset = 26, |
|
enumRasterBand = 27, |
|
enumMapDocument = 28, |
|
enumShapefileNetWorkDataset = 29, |
|
enumLayer = 30, |
|
enumSceneDocument = 31, |
|
enumGlobeDocument = 32, |
|
enumXMLDocument = 33, |
|
enumPublishedMap = 34, |
|
enumTextfile = 35, |
|
enumCorrdinateSystem = 36, |
|
|
|
//个人数据库PGDB |
|
enumPGDB = 37, |
|
enumSchematicDataset = 38, |
|
enumSchematicDiagram = 39, |
|
enumPGDBFeatureDataset = 40, |
|
enumPGDBFeatureClass = 41, |
|
enumPGDBTable = 42, |
|
enumPGDBRelationshipClass = 43, |
|
enumPGDBRasterCatalog = 44, |
|
enumPGDBRasterDataset = 45, |
|
enumPGDBRasterBand = 46, |
|
enumPGDBGeometricNetwork = 47, |
|
//sdc数据 |
|
enumSDCFeatureDataset = 48, |
|
enumSDCFeatureClass = 49, |
|
|
|
//Coverage数据 |
|
enumCoverage = 50, |
|
enumInfoTable = 51, |
|
enumArcFeatureClass = 52, |
|
enumRouteFeatureClass = 53, |
|
enumTicFeatureClass = 54, |
|
enumLableFeatureClass = 55, |
|
enumPolygonFeatureClass = 56, |
|
enumAnnotationFeatureClass = 57, |
|
enumRegionFeatureClass = 58, |
|
|
|
//CAD数据 |
|
enumCADFeatureDataset = 59, |
|
enumCADDrawing = 60, |
|
enumCADAnnotationFeatureClass = 61, |
|
enumCADMutiPatchFeatureClass = 62, |
|
enumCADPointFeatureClass = 63, |
|
enumCADPolygonFeatureClass = 64, |
|
enumCADPolylineFeatureClass = 65, |
|
|
|
//Excel数据 |
|
enumExcelFile = 66, |
|
enumExcelTable = 67, |
|
//Tin数据 |
|
enumTinDataset = 68, |
|
//PersonalDatabase=1, |
|
//Geodatabase=1, |
|
//FileDataBase=1, |
|
//CoverageData=1, |
|
//交换格式 |
|
enumInteropFeatureDataset = 69, |
|
enumInteropFeatureClass = 70, |
|
enumWordDoc = 71, |
|
enumOthers = 72, |
|
|
|
enumAddDatabaseConnection = 74, |
|
} |
|
|
|
/// <summary> |
|
/// 执行进度状态 |
|
/// </summary> |
|
public enum EnumProgressStatus |
|
{ |
|
/// <summary> |
|
/// 开始 |
|
/// </summary> |
|
Start = 1, |
|
/// <summary> |
|
/// 停止 |
|
/// </summary> |
|
Stop = 2, |
|
/// <summary> |
|
/// 暂停 |
|
/// </summary> |
|
Pause = 3, |
|
/// <summary> |
|
/// 继续 |
|
/// </summary> |
|
Continue = 4, |
|
/// <summary> |
|
/// 关闭 |
|
/// </summary> |
|
Close = 5, |
|
/// <summary> |
|
/// 运行 |
|
/// </summary> |
|
Run = 6, |
|
/// <summary> |
|
/// 完成 |
|
/// </summary> |
|
Finish = 7, |
|
/// <summary> |
|
/// 准备 |
|
/// </summary> |
|
Ready = 8 |
|
} |
|
|
|
/// <summary> |
|
/// 图层类型枚举 |
|
/// </summary> |
|
public enum EnumLayerType |
|
{ |
|
/// <summary> |
|
/// 点 |
|
/// </summary> |
|
Point = 0, |
|
/// <summary> |
|
/// 线 |
|
/// </summary> |
|
Polyline = 1, |
|
/// <summary> |
|
/// 面 |
|
/// </summary> |
|
Polygon = 2, |
|
/// <summary> |
|
/// 注记 |
|
/// </summary> |
|
Annotation = 3, |
|
/// <summary> |
|
/// 栅格数据集 |
|
/// </summary> |
|
RasterDataset = 4, |
|
/// <summary> |
|
/// 栅格目录 |
|
/// </summary> |
|
RasterCatalog = 5, |
|
/// <summary> |
|
/// 其他类型 |
|
/// </summary> |
|
OtherType = 6, |
|
/// <summary> |
|
/// 矢量(包括点、线、面、注记,类型过滤时使用) |
|
/// </summary> |
|
Vector = 7, |
|
/// <summary> |
|
/// 栅格(包括栅格数据集、栅格目录,类型过滤时使用) |
|
/// </summary> |
|
Raster = 8, |
|
/// <summary> |
|
/// 所有类型,包括矢量和栅格 |
|
/// </summary> |
|
AllType = 9, |
|
/// <summary> |
|
/// WMS服务 |
|
/// </summary> |
|
MapServiceWMS = 10, |
|
/// <summary> |
|
/// WCS服务 |
|
/// </summary> |
|
MapServiceWCS = 11, |
|
/// <summary> |
|
/// WFS服务 |
|
/// </summary> |
|
MapServiceWFS = 12, |
|
/// <summary> |
|
/// ArcServerMapService服务 |
|
/// </summary> |
|
ArcServerMapService = 13, |
|
/// <summary> |
|
/// ArcServerImageService服务 |
|
/// </summary> |
|
ArcServerImageService = 14, |
|
/// <summary> |
|
/// ArcServerGlobeService服务 |
|
/// </summary> |
|
ArcServerGlobeService = 15, |
|
/// <summary> |
|
/// ArcServerGeoCodeService服务 |
|
/// </summary> |
|
ArcServerGeoCodeService = 16, |
|
/// <summary> |
|
/// ArcServerGeometryService服务 |
|
/// </summary> |
|
ArcServerGeometryService = 17, |
|
/// <summary> |
|
/// ArcServerGeoDataService服务 |
|
/// </summary> |
|
ArcServerGeoDataService = 18, |
|
/// <summary> |
|
/// 天地图服务 |
|
/// </summary> |
|
TianDiTu = 19, |
|
/// <summary> |
|
/// 表 |
|
/// </summary> |
|
Table = 20, |
|
/// <summary> |
|
/// 矢量和表 |
|
/// </summary> |
|
VectorAndTable = 21, |
|
/// <summary> |
|
/// 栅格和表 |
|
/// </summary> |
|
RasterAndTable = 22 |
|
} |
|
|
|
/// <summary> |
|
/// 数据提取类型:按任意空间范围提取矢量数据、按标准图幅号提取矢量数据、按选择集范围提取矢量数据、 |
|
/// 按任意空间范围提取栅格数据、按标准图幅号提取栅格数据、按选择集范围提取栅格数据 |
|
/// </summary> |
|
public enum enumDataOutputType |
|
{ |
|
/// <summary> |
|
/// 按任意空间范围提取矢量数据 |
|
/// </summary> |
|
ArbitraryExtent_VectorOutput = 1, |
|
/// <summary> |
|
/// 按标准图幅号提取矢量数据 |
|
/// </summary> |
|
Sheet_VectorOutput = 2, |
|
/// <summary> |
|
/// 按选择集范围提取矢量数据 |
|
/// </summary> |
|
SelectionExtent_VectorOutput = 3, |
|
/// <summary> |
|
/// 按选择元素范围提取矢量数据 |
|
/// </summary> |
|
SelectionElement_VectorOutput = 4, |
|
/// <summary> |
|
/// 按任意空间范围提取栅格数据 |
|
/// </summary> |
|
ArbitraryExtent_RasterOutput = 5, |
|
/// <summary> |
|
/// 按标准图幅号提取栅格数据 |
|
/// </summary> |
|
Sheet_RasterOutput = 6, |
|
/// <summary> |
|
/// 按选择集范围提取栅格数据 |
|
/// </summary> |
|
SelectionExtent_RasterOutput = 7, |
|
/// <summary> |
|
/// 按标准图幅号提取DEM数据 |
|
/// </summary> |
|
Sheet_DEMOutput = 8, |
|
/// <summary> |
|
/// 按标准图幅号提取DOM数据 |
|
/// </summary> |
|
Sheet_DOMOutput = 9 |
|
} |
|
|
|
/// <summary> |
|
/// 数据输出格式:ShapeFile、FileGDB、PersonalGDB、Coverage、Geotiff、Image、 |
|
/// </summary> |
|
public enum enumDataOutputFormat |
|
{ |
|
/// <summary> |
|
/// SHP格式 |
|
/// </summary> |
|
ShapeFile = 1, |
|
/// <summary> |
|
/// GDB文件型数据库 |
|
/// </summary> |
|
FGDB = 2, |
|
/// <summary> |
|
/// Access个人数据库 |
|
/// </summary> |
|
Access = 3, |
|
/// <summary> |
|
/// Coverage格式 |
|
/// </summary> |
|
Coverage = 4, |
|
/// <summary> |
|
/// Geotiff格式-栅格数据 |
|
/// </summary> |
|
Geotiff = 5, |
|
/// <summary> |
|
/// IMG格式-栅格数据 |
|
/// </summary> |
|
Image = 6, |
|
/// <summary> |
|
/// JPG格式-DOM数据 |
|
/// </summary> |
|
Jpg = 7, |
|
/// <summary> |
|
/// BILL格式-DEM数据 |
|
/// </summary> |
|
Bill = 8, |
|
/// <summary> |
|
/// GRID格式-DEM数据 |
|
/// </summary> |
|
Grid = 9 |
|
} |
|
|
|
/// <summary> |
|
/// 数据输出方式:跨带分别输出、跨带拼接输出、镶嵌输出、分幅输出 |
|
/// </summary> |
|
public enum enumDataOutputMethod |
|
{ |
|
/// <summary> |
|
/// 跨带分别输出 |
|
/// </summary> |
|
CrossZone_SeparateExport = 1, |
|
/// <summary> |
|
/// 跨带拼接输出 |
|
/// </summary> |
|
CrossZone_JoinExport = 2, |
|
/// <summary> |
|
/// 镶嵌输出 |
|
/// </summary> |
|
Mosaic_Export, |
|
/// <summary> |
|
/// 分幅输出 |
|
/// </summary> |
|
SingleSheet_Export |
|
} |
|
|
|
/// <summary> |
|
/// 输出图层命名方式:使用原图层物理名称、去掉原图层物理名称后缀 |
|
/// </summary> |
|
public enum enumDataOutputLayerNameMethod |
|
{ |
|
/// <summary> |
|
/// 使用原图层物理名称 |
|
/// </summary> |
|
UseOriginalLayerName = 1, |
|
/// <summary> |
|
/// 去掉原图层物理名称后缀 |
|
/// </summary> |
|
RemoveLayerPrex = 2 |
|
} |
|
|
|
/// <summary> |
|
/// 拼接空间参考 |
|
/// </summary> |
|
public enum enumDataOutputJoinSR |
|
{ |
|
/// <summary> |
|
/// 北京54坐标系 |
|
/// </summary> |
|
Beijing54_GCS = 1, |
|
/// <summary> |
|
/// 西安80坐标系 |
|
/// </summary> |
|
Xian80_GCS = 2, |
|
/// <summary> |
|
/// 国家2000坐标系 |
|
/// </summary> |
|
CGCS2000_GCS = 3 |
|
} |
|
|
|
/// <summary> |
|
/// 空间关系枚举类 |
|
/// </summary> |
|
public enum enumDataOutputSpatialRel |
|
{ |
|
/// <summary> |
|
/// 相交 |
|
/// </summary> |
|
Intersects = 1, |
|
/// <summary> |
|
/// 包含 |
|
/// </summary> |
|
Contains = 2 |
|
} |
|
/// <summary> |
|
/// 数据更新方式:图层替换更新、增量更新 |
|
/// </summary> |
|
public enum enumDataUpdateStyle |
|
{ |
|
/// <summary> |
|
/// 图层替换更新 |
|
/// </summary> |
|
LayerReplace_Update = 1, |
|
/// <summary> |
|
/// 按范围更新 |
|
/// </summary> |
|
Incremental_Update = 2, |
|
|
|
} |
|
/// <summary> |
|
/// 数据操作类型 |
|
/// </summary> |
|
public enum enumDataOperatorType |
|
{ |
|
/// <summary> |
|
/// 数据导入 |
|
/// </summary> |
|
DataInput = 1, |
|
/// <summary> |
|
/// 数据更新 |
|
/// </summary> |
|
DataUpdate = 2, |
|
/// <summary> |
|
/// 数据导出 |
|
/// </summary> |
|
DataOutput = 3, |
|
} |
|
/// <summary> |
|
/// 流程状态 |
|
/// </summary> |
|
public enum EnumFlowState |
|
{ |
|
/// <summary> |
|
/// 待办 |
|
/// </summary> |
|
DaiBan = 1, |
|
/// <summary> |
|
/// 已办 |
|
/// </summary> |
|
YiBan = 2, |
|
/// <summary> |
|
/// 已受理 |
|
/// </summary> |
|
YiShouLi = 3, |
|
/// <summary> |
|
/// 已办结 |
|
/// </summary> |
|
YiBanJie = 4 |
|
} |
|
|
|
|
|
|
|
/// <summary> |
|
/// 产品/模块类型 |
|
/// </summary> |
|
public enum enumProductType |
|
{ |
|
KAP = 1, |
|
KDB = 4, |
|
KBG = 8 |
|
} |
|
|
|
}
|
|
|