using System;
using System.Collections.Generic;
using System.Linq;
namespace DataLoader.CS
{
public class StaticData
{
public static String BasePath = System.AppDomain.CurrentDomain.SetupInformation.ApplicationBase;
public static String ADMIN = "admin";
public readonly static String ZIP = ".zip";
public readonly static String XLS = ".xls";
public readonly static String XLSX = ".xlsx";
public readonly static String MDB = ".mdb";
public readonly static String SHP = ".shp";
public readonly static String NGDB = "gdb";
public readonly static String GDB = ".gdb";
public readonly static String JPG = ".jpg";
public readonly static String IMG = ".img";
public readonly static String MPT = ".mpt";
public readonly static String D3DML = ".3dml";
public readonly static String TIF = ".tif";
public readonly static String TIFF = ".tiff";
public readonly static String LAS = ".las";
public readonly static String OSGB = ".osgb";
///
/// 16进制
///
public static readonly char[] HEX_DIGITS = { '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f' };
///
/// 密码正则表达式
///
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}$";
///
/// MPT文件扩展名
///
public readonly static List MPT_EXT = new List { ".midx", ".strmi", ".ei.midx", ".ei.mpt", ".ei.strmi" };
///
/// JPG文件扩展名
///
public readonly static List JPG_EXT = new List { ".jpg.aux.xml", ".jpg.ovr", ".jpg.xml", ".jgw", ".prj" };
///
/// JP2文件扩展名
///
public readonly static List JP2_EXT = new List { ".jp2.aux.xml", ".jp2.ovr", ".jp2.xml", ".jgw", ".prj", ".jp2.html", ".jp2.txt" };
///
/// IMG文件扩展名
///
public readonly static List IMG_EXT = new List { ".rrd", ".img.aux.xml", ".hdr", ".img.enp", ".img.xml" };
///
/// TIF文件扩展名
///
public readonly static List TIF_EXT = new List { ".prj", ".tfw", ".aux", ".tif.ovr", ".tif.aux.xml", ".tif.xml" };
///
/// TIFF文件扩展名
///
public readonly static List TIFF_EXT = new List { ".prj", ".tfw", ".aux", ".tiff.ovr", ".tiff.aux.xml", ".tiff.xml" };
///
/// SHP文件扩展名
///
public readonly static List SHP_EXT = new List { ".shx", ".dbf", ".prj", ".cpg" };
///
/// Mapper排除扩展名
///
public readonly static List MAPPER_EXCLUDE_EXT = new List { ".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 ALL_EXTENSION = new List { ".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" };
}
}