| | |
| | | { |
| | | public class StaticData |
| | | { |
| | | public static String BasePath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase; |
| | | public const int MAX_FILES = 2000; |
| | | |
| | | public static String ADMIN = "admin"; |
| | | |
| | | public readonly static String ZIP = ".zip"; |
| | | public const String ZIP = ".zip"; |
| | | |
| | | public readonly static String XLS = ".xls"; |
| | | public const String XLS = ".xls"; |
| | | |
| | | public readonly static String XLSX = ".xlsx"; |
| | | public const String XLSX = ".xlsx"; |
| | | |
| | | public readonly static String MDB = ".mdb"; |
| | | public const String MDB = ".mdb"; |
| | | |
| | | public readonly static String SHP = ".shp"; |
| | | public const String SHP = ".shp"; |
| | | |
| | | public readonly static String NGDB = "gdb"; |
| | | public const String NGDB = "gdb"; |
| | | |
| | | public readonly static String GDB = ".gdb"; |
| | | public const String GDB = ".gdb"; |
| | | |
| | | public readonly static String JPG = ".jpg"; |
| | | public const String JPG = ".jpg"; |
| | | |
| | | public readonly static String IMG = ".img"; |
| | | public const String JP2 = ".jp2"; |
| | | |
| | | public readonly static String MPT = ".mpt"; |
| | | public const String IMG = ".img"; |
| | | |
| | | public readonly static String D3DML = ".3dml"; |
| | | public const String MPT = ".mpt"; |
| | | |
| | | public readonly static String TIF = ".tif"; |
| | | public const String D3DML = ".3dml"; |
| | | |
| | | public readonly static String TIFF = ".tiff"; |
| | | public const String TIF = ".tif"; |
| | | |
| | | public readonly static String LAS = ".las"; |
| | | public const String TIFF = ".tiff"; |
| | | |
| | | public readonly static String OSGB = ".osgb"; |
| | | public const String LAS = ".las"; |
| | | |
| | | public const String OSGB = ".osgb"; |
| | | |
| | | /// <summary> |
| | | /// 栅格数据扩展名 |
| | | /// </summary> |
| | | public static readonly List<String> RASTER_EXT = new List<String> { ".img", ".tif", ".tiff", ".jpg", ".jp2" }; |
| | | |
| | | /// <summary> |
| | | /// 16进制 |
| | |
| | | /// <summary> |
| | | /// 密码正则表达式 |
| | | /// </summary> |
| | | public readonly static String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$"; |
| | | public const String PWD_REG = "^(?![a-zA-Z]+$)(?![A-Z0-9]+$)(?![A-Z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![a-z0-9]+$)(?![a-z\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)(?![0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]+$)[a-zA-Z0-9\\W!@#$%^&*`~()\\-_+=,.?;<>]{12,20}$"; |
| | | |
| | | /// <summary> |
| | | /// MPT文件扩展名 |
| | |
| | | /// <summary> |
| | | /// Mapper排除扩展名 |
| | | /// </summary> |
| | | public readonly static List<String> MAPPER_EXCLUDE_EXT = new List<String> { ".jpg.aux.xml", ".jpg.xml", ".jp2.aux.xml", ".jp2.xml", ".jp2.html", ".jp2.txt", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml" }; |
| | | public readonly static List<String> MAPPER_EXCLUDE_EXT = new List<String> { ".jpg.aux.xml", ".jpg.xml", ".jp2.aux.xml", ".jp2.xml", ".jp2.html", ".jp2.txt", ".img.aux.xml", ".img.xml", ".tif.aux.xml", ".tif.xml", ".tiff.aux.xml", ".tiff.xml", ".shp.xml", ".ecw.xml", "ecw.aux.xml" }; |
| | | |
| | | /// <summary> |
| | | /// 所有文件扩展名 |
| | | /// </summary> |
| | | public readonly static List<String> ALL_EXTENSION = new List<String> { ".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".jp2", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip" }; |
| | | public readonly static List<String> ALL_EXTENSION = new List<String> { ".txt", ".xml", ".pdf", ".xls", ".xlsx", ".doc", ".docx", ".ppt", ".pptx", ".shp", ".gdb", ".mdb", ".dwg", ".las", ".laz", ".cpt", ".mpt", ".ei.mpt", ".fly", ".efb", ".g3d", ".fbx", ".obj", ".3dm", ".3dml", ".osgb", ".rvt", ".ifc", ".jpg", ".jp2", ".png", ".img", ".tif", ".tiff", ".dem", ".bmp", ".gif", ".rmvb", ".rm", ".mp3", ".mp4", ".avi", ".wma", ".wmv", ".7z", ".rar", ".zip", ".csv" }; |
| | | } |
| | | } |