Changeset 855 in ntrip


Ignore:
Timestamp:
Apr 25, 2008, 4:07:11 PM (16 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNS
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bnsrinex.cpp

    r854 r855  
    1616 * -----------------------------------------------------------------------*/
    1717
     18#include <math.h>
    1819#include <iomanip>
    1920
     
    3738////////////////////////////////////////////////////////////////////////////
    3839void bnsRinex::writeHeader(const QDateTime& datTim) {
    39   _out << "THIS IS A DUMMY HEADER" << endl;
     40  _out << "THIS IS A DUMMY CLOCK RINEX HEADER" << endl;
    4041}
    4142
     
    4748  if (bnsoutf::write(GPSweek, GPSweeks, prn, xx) == success) {
    4849
     50      QDateTime datTim = dateAndTimeFromGPSweek(GPSweek, GPSweeks);
     51      double sec = fmod(GPSweeks, 60.0);
     52   
     53      _out << "AS " << prn.toAscii().data()
     54           << datTim.toString("  yyyy MM dd hh mm").toAscii().data()
     55           << setw(12) << setprecision(8) << sec << "  2  "
     56           << setw(20) << setprecision(12) << xx(4)
     57           << setw(20) << setprecision(12) << 0.0 << endl;
     58
    4959    return success;
    5060  }
  • trunk/BNS/bnssp3.cpp

    r854 r855  
    5959      double sec = fmod(GPSweeks, 60.0);
    6060   
    61       _out << "*  "
    62            << datTim.toString("yyyy MM dd hh mm").toAscii().data()
     61      _out << datTim.toString("*  yyyy MM dd hh mm").toAscii().data()
    6362           << setw(12) << setprecision(8) << sec << endl;
    6463    }
  • trunk/BNS/bnswindow.cpp

    r846 r855  
    159159  _sp3SamplSpinBox = new QSpinBox;
    160160  _sp3SamplSpinBox->setMinimum(0);
    161   _sp3SamplSpinBox->setMaximum(60);
    162   _sp3SamplSpinBox->setSingleStep(5);
     161  _sp3SamplSpinBox->setMaximum(900);
     162  _sp3SamplSpinBox->setSingleStep(60);
    163163  _sp3SamplSpinBox->setMaximumWidth(9*ww);
    164164  _sp3SamplSpinBox->setValue(settings.value("sp3Sampl").toInt());
Note: See TracChangeset for help on using the changeset viewer.