/// <summary> /// 将统计结果更新写入到观测文件中。 /// </summary> /// <param name="existOFilePath"></param> /// <param name="newOfilePath"></param> internal void UpdateToRinexOFileHeader(string existOFilePath, string newOfilePath) { WidthFixedParamLineBuilder manager = new WidthFixedParamLineBuilder(); manager.Params = BuildParamDics(); manager.UpdateToRinexOFileHeader(existOFilePath, newOfilePath); }
/// <summary> /// 写入文件 /// </summary> /// <param name="path"></param> public void WriteAsRinexCommentFile(string path) { var builder = new WidthFixedParamLineBuilder(); Dictionary <string, string> paramDic = BuildParamDics(); builder.Params = paramDic; var result = builder.ToMarkedLineString(); File.WriteAllText(path, result); }