Changeset 126 in ntrip for trunk/BNC/bncrinex.cpp


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.