- Timestamp:
- Sep 7, 2006, 7:19:55 PM (18 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bnc.pro
r120 r126 4 4 DEFINES += NO_RTCM3_MAIN 5 5 6 HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h 6 HEADERS = bnchelp.html bncgetthread.h bncwindow.h bnctabledlg.h \ 7 7 bnccaster.h bncrinex.h bncapp.h bncutils.h \ 8 bncconst.h \ 8 9 RTCM/format.h RTCM/GPSDecoder.h RTCM/m_data.h RTCM/RTCM.h \ 9 10 RTCM3/rtcm3.h RTCM3/rtcm3torinex.h \ … … 14 15 SOURCES = bncmain.cpp bncgetthread.cpp bncwindow.cpp bnctabledlg.cpp \ 15 16 bnccaster.cpp bncrinex.cpp bncapp.cpp bncutils.cpp \ 17 bncconst.cpp \ 16 18 RTCM/m_date.cpp RTCM/RTCM.cpp \ 17 19 RTCM3/rtcm3.cpp RTCM3/rtcm3torinex.cpp \ -
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.