Esempio n. 1
0
        public static void Main(string[] argvs)
        {
            Config = Properties.Create("config.txt");
            DebugUtils.SetLogAction(LogAction);
            XlsxHistory = Properties.Create("xlsx_info_record.txt#xlsx_info_record");
            DataFormatConvertUtils.ExportXlsx();
            DataFormatConvertUtils.BuildDll();
            StringBuilder sb = new StringBuilder();

            XlsxHistory.WriteString(sb, 0);
            File.WriteAllText("xlsx_info_record.txt", sb.ToString());
            Console.ReadLine();
        }
Esempio n. 2
0
        public static void Main(string[] argvs)
        {
            Config = Properties.Create("config.txt");
            DebugUtils.SetLogAction(LogAction);
            string hashFile = "xlsx_info_record.txt";
            bool   md5Hash  = Config.GetBool("md5_hash", false);

            if (!md5Hash && File.Exists(hashFile))
            {
                File.Delete(hashFile);
            }
            XlsxHistory = Properties.Create("xlsx_info_record.txt#xlsx_info_record");
            DataFormatConvertUtils.ExportXlsx();
            DataFormatConvertUtils.BuildDll();
            StringBuilder sb = new StringBuilder();

            XlsxHistory.WriteString(sb, 0);
            File.WriteAllText(hashFile, sb.ToString());
            Console.ReadLine();
        }