using System;
using System.Collections;
using System.Configuration;

namespace GeekDesk.Constant
{
    public class Constants
    {
        public static string APP_DIR = AppDomain.CurrentDomain.BaseDirectory.Trim();

        // 是否为开发模式
        public static bool DEV = false;

        public static string MY_NAME = DEV ? "GeekDesk-D" : "GeekDesk";

        public static string MY_UUID = "8400A17AEEF7C029";
        /// <summary>
        /// app数据文件路径
        /// </summary>
        public static string DATA_FILE_PATH = APP_DIR + "Data";  //app数据文件路径

        /// <summary>
        /// 备份文件路径
        /// </summary>
        public static string DATA_FILE_BAK_PATH = APP_DIR + "bak\\Data.bak";  //app备份数据文件路径

        public static string PW_FILE_BAK_PATH = APP_DIR + "bak\\pw.txt";  //密码文件路径

        public static string LOG_FILE_PATH = APP_DIR + "logs\\log.log"; //日志文件

        public static string ERROR_FILE_PATH = APP_DIR + "logs\\error.log"; // 错误日志

        /// <summary>
        /// 插件文件夹
        /// </summary>
        public static string PLUGINS_PATH = APP_DIR + "plugins\\";


        public static int SHADOW_WIDTH = 20;

        //系统图标
        public static Hashtable SYSTEM_ICONS = (Hashtable)ConfigurationManager.GetSection("SystemIcons");

        #region 常量
        //默认磁盘图标
        public static string DEFAULT_DISK_IMAGE_BASE64 = "[encoded data, 6484 characters]";

        //默认文件夹图标
        public static string DEFAULT_DIR_IMAGE_BASE64 = "iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAASISURBVHhe7dvPi9R1HMfx/Qu6RYfqEp1CZ8Yko0MQRNEPgnQ36FJEFyPoF/0DHbx06dSlnVkF6SgEgocOYUEG0cFWpQ476yhbQfTDslJxk+k79S1IP/NSF3f2O+7jBY/TKgvz/j5nXMUZMzMzMzMzMzMzMzMzMzMzu959023dsbSw9YGlbuchyk7v3XbP0t5tt9Yvmd3MW3r//luWu623TvbahytDrtvBQa/9xvJ85776JbWbZf359s7quCcKR2cNqjeaQ/35zgv1y2vTvOqgOy4/MDdG9abzwWC+06lfapu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IBAKBQCAQCC4e3XVJIDBG9QmyKhAY4+Li7HmBwBirx2bPCgTGOTH3g0BgHIFAIBAI6kDOXPEFoDLbn7l0bG53+YuwyS3OPTsz2oVjs3etLs49OM65T5/c9fNHj7z044cPvwrTbvQsj57p0rP+r3NfPnP733GYmZmZmZmZmZmZmZmZmZnZf5uZ+QsdP8v10G4AYgAAAABJRU5ErkJggg==";

        //默认图片图标
        public static string DEFAULT_IMG_IMAGE_BASE64 = "[encoded data, 5656 characters]";

        //默认背景图片
        public static string DEFAULT_BAC_IMAGE_BASE64 = "[encoded data, 90836 characters]";

        //默认菜单图标
        public static string DEFAULT_MENU_GEOMETRY = "M90.258176 848.52215466L933.08326402 848.52215466c46.36262401 0 84.29568 37.933056 84.29567998 84.29568s-37.933056 84.29568-84.29567999 84.29568001l-842.69337602 0c-46.36262401 0-84.29568-37.933056-84.29568-84.29568001-0.13171201-46.36262402 37.801344-84.29568 84.16396801-84.29568zM90.258176 435.86845867L928.078208 435.86845867c46.36262401 0 84.29568 37.933056 84.29568 84.29567999s-37.933056 84.29568-84.29568 84.29568l-837.820032 0c-46.36262401 0-84.29568-37.933056-84.29568-84.29568s37.933056-84.29568 84.29568-84.29567999zM90.258176 15.70717865L933.08326401 15.70717864c46.36262401 0 84.29568 37.933056 84.29567999 84.29568001s-37.933056 84.29568-84.29567999 84.29568003l-842.69337601 0c-46.36262401 0-84.29568-37.933056-84.29568001-84.29568003-0.13171201-46.36262402 37.801344-84.29568 84.16396801-84.29568z";

        //默认菜单图标颜色
        public static string DEFAULT_MENU_GEOMETRY_COLOR = "Black";

        //WeChatCode
        public static string WE_CHAT_CODE_IMG_BASE64 = "[encoded data, 182240 characters]";

        //public wechat
        public static string PUBLIC_WE_CHAT_IMG_BASE64 = "[encoded data, 42820 characters]";

        //zfb
        public static string ZFB_CODE_IMG_BASE64 = "[encoded data, 328348 characters]";

        //默认url图标
        public static string URL_ICON_IMG_BASE64 = "[encoded data, 9068 characters]";
        #endregion  常量
    }
}
