/// <summary> /// 返回配置类实例 /// </summary> /// <returns></returns> public static UploadConfig LoadConfig(string PhyFilePath) { M_UploadConfig = (UploadConfig)DefaultConfigFileManager.DeserializeInfo(PhyFilePath, typeof(UploadConfig)); return(M_UploadConfig); }
/// <summary> /// 重设配置类实例 /// </summary> public static UploadConfig GetConfig(string PhyFilePath) { M_UploadConfig = LoadConfig(PhyFilePath); return(M_UploadConfig); }