/**
         * 解析公用数据(执行频率和删除百分比)
         * */
        private static int analysisPublicData(string[] lines)
        {
            int flag = 0, i = 0;

            for (; i < lines.Length && flag < 2; i++)
            {
                if (lines[i].Length > 3)
                {
                    switch (lines[i].Substring(0, 3))
                    {
                    case "LP:": GlobleParams.setLogPath(lines[i].Substring(3, lines[i].Length - 3)); break;

                    case "TF:": GlobleParams.setFrequency(lines[i].Substring(3, lines[i].Length - 3)); flag++; break;

                    case "DP:": GlobleParams.setDeletePercent(lines[i].Substring(3, lines[i].Length - 3)); flag++; break;

                    default: break;
                    }
                }
            }
            return(i);
        }
 private static void createGlobleParams()
 {
     GlobleParams.setFrequency(GlobleParams.getFrequency() == -60000 ? "30" : (GlobleParams.getFrequency() / 60000).ToString());
     GlobleParams.setDeletePercent(GlobleParams.getDeletePercent() == -1 ? "10" : GlobleParams.getDeletePercent().ToString());
 }