Changeset 3854 in ntrip for trunk/BNC/rinex/rnxobsfile.cpp


Ignore:
Timestamp:
Apr 12, 2012, 4:36:11 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rinex/rnxobsfile.cpp

    r3853 r3854  
    605605          << "# / TYPES OF OBSERV\n";
    606606
     607  *_stream << QString("%1")
     608    .arg(_header._interval, 10, 'f', 3)
     609    .leftJustified(60)
     610           << "INTERVAL\n";
     611
     612  unsigned year, month, day, hour, min;
     613  double sec;
     614  _header._startTime.civil_date(year, month, day);
     615  _header._startTime.civil_time(hour, min, sec);
     616  *_stream << QString("%1%2%3%4%5%6%7")
     617    .arg(year, 6)
     618    .arg(month, 6)
     619    .arg(day, 6)
     620    .arg(hour, 6)
     621    .arg(min, 6)
     622    .arg(sec, 13, 'f', 7)
     623    .arg("GPS", 8)
     624    .leftJustified(60)
     625           << "TIME OF FIRST OBS\n";
     626
    607627  *_stream << QString()
    608628    .leftJustified(60)
Note: See TracChangeset for help on using the changeset viewer.