Changeset 126 in ntrip


Ignore:
Timestamp:
Sep 7, 2006, 7:19:55 PM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bnc.pro

    r120 r126  
    44DEFINES += NO_RTCM3_MAIN
    55
    6 HEADERS = bnchelp.html bncgetthread.h    bncwindow.h   bnctabledlg.h   \
     6HEADERS = bnchelp.html bncgetthread.h    bncwindow.h   bnctabledlg.h  \
    77          bnccaster.h bncrinex.h bncapp.h bncutils.h                  \
     8          bncconst.h                                                  \
    89          RTCM/format.h RTCM/GPSDecoder.h RTCM/m_data.h RTCM/RTCM.h   \
    910          RTCM3/rtcm3.h RTCM3/rtcm3torinex.h                          \
     
    1415SOURCES = bncmain.cpp bncgetthread.cpp  bncwindow.cpp bnctabledlg.cpp \
    1516          bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp          \
     17          bncconst.cpp                                                \
    1618          RTCM/m_date.cpp RTCM/RTCM.cpp                               \
    1719          RTCM3/rtcm3.cpp RTCM3/rtcm3torinex.cpp                      \
  • trunk/BNC/bncrinex.cpp

    r125 r126  
    2525#include "bncrinex.h"
    2626#include "bncutils.h"
     27#include "bncconst.h"
    2728
    2829using namespace std;
     
    206207  _out << endl;
    207208
    208   static const double const_c       = 299792458.0;
    209   static const double const_freq1   = 1575420000.0;
    210   static const double const_freq2   = 1227600000.0;
    211   static const double const_lambda1 = const_c / const_freq1;
    212   static const double const_lambda2 = const_c / const_freq2;
    213 
    214209  it.toFront();
    215210  while (it.hasNext()) {
     
    220215    _out << setw(14) << setprecision(3) << ob->C1 << lli << snr;
    221216    _out << setw(14) << setprecision(3) << ob->P2 << lli << snr;
    222     _out << setw(14) << setprecision(3) << ob->L1 / const_lambda1 << lli << snr;
    223     _out << setw(14) << setprecision(3) << ob->L2 / const_lambda2 << lli << snr;
     217    _out << setw(14) << setprecision(3) << ob->L1 / t_CST::lambda1 << lli << snr;
     218    _out << setw(14) << setprecision(3) << ob->L2 / t_CST::lambda2 << lli << snr;
    224219    _out << endl;
    225220
Note: See TracChangeset for help on using the changeset viewer.