Changeset 126 in ntrip for trunk/BNC/bncrinex.cpp
- Timestamp:
- Sep 7, 2006, 7:19:55 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncrinex.cpp
r125 r126 25 25 #include "bncrinex.h" 26 26 #include "bncutils.h" 27 #include "bncconst.h" 27 28 28 29 using namespace std; … … 206 207 _out << endl; 207 208 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 214 209 it.toFront(); 215 210 while (it.hasNext()) { … … 220 215 _out << setw(14) << setprecision(3) << ob->C1 << lli << snr; 221 216 _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; 224 219 _out << endl; 225 220
Note:
See TracChangeset
for help on using the changeset viewer.