private void InitData()
        {
            try
            {
                string configPath = Path.Combine(Path.GetDirectoryName(path), "DataTranNewGUI.exe");

                hasConfigFile = File.Exists(configPath);
                if (!File.Exists(configPath))
                {
                    MessageBox.Show(this, "配置文件不存在");
                    return;
                }
                txtSliceCount.Text  = AppConfigurator.GetAppConfig("SliceCount", configPath);
                txtSliceTime.Text   = AppConfigurator.GetAppConfig("SliceTime", configPath);
                textServerIp.Text   = AppConfigurator.GetAppConfig("ServerIP", configPath);
                txtServerPort.Text  = AppConfigurator.GetAppConfig("ServerPort", configPath);
                txtBasePath.Text    = AppConfigurator.GetAppConfig("BasePath", configPath);
                txtMonBasePath.Text = AppConfigurator.GetAppConfig("MonBasePath", configPath);
                txtFTPHost.Text     = AppConfigurator.GetAppConfig("FTPHost", configPath);
                txtFTPPort.Text     = AppConfigurator.GetAppConfig("FTPPort", configPath);
                txtFTPUserName.Text = AppConfigurator.GetAppConfig("FTPUserName", configPath);
                txtFTPPwd.Text      = AppConfigurator.GetAppConfig("FTPPwd", configPath);
            }
            catch (Exception e)
            {
                MixLogHelper.Error(GetType().Name, "初始化Record配置文件异常", e.StackTrace);
            }
        }