Changeset 3867 in ntrip


Ignore:
Timestamp:
Apr 13, 2012, 11:49:47 AM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3866 r3867  
    706706  epo->tt.civil_time(hour, min, sec);
    707707
    708 
    709 }
     708  QString dateStr;
     709  QTextStream(&dateStr) << QString("> %1 %2 %3 %4 %5 %6")
     710    .arg(year,  4)
     711    .arg(month, 2, 10, QChar('0'))
     712    .arg(day,   2, 10, QChar('0'))
     713    .arg(hour,  2, 10, QChar('0'))
     714    .arg(min,   2, 10, QChar('0'))
     715    .arg(sec,  11, 'f', 7);
     716
     717  int flag = 0;
     718  *_stream << dateStr
     719           << QString("%1%2\n").arg(flag, 3).arg(epo->rnxSat.size(), 3);
     720
     721}
Note: See TracChangeset for help on using the changeset viewer.