Пример #1
0
        /// <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);
        }
Пример #2
0
        /// <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);
        }