Changeset 2713 in ntrip


Ignore:
Timestamp:
Nov 18, 2010, 2:55:42 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/test_bnc_qt.cpp

    r2704 r2713  
    4646using namespace std;
    4747
    48 class t_obsInternal {
     48class t_obsOld {
    4949  public:
    5050  int    flags;
     
    143143      // Interpret a portion of buffer as observation
    144144      // --------------------------------------------
    145       t_obsInternal* obs;
    146       const int obsSize = sizeof(t_obsInternal);
     145      t_obsOld* obs;
     146      const int obsSize = sizeof(t_obsOld);
    147147
    148148
    149149      while (buffer.size() >= obsSize) {
    150150
    151         obs = (t_obsInternal*) (buffer.left(obsSize).data());
     151        obs = (t_obsOld*) (buffer.left(obsSize).data());
    152152
    153153        cout << obs->StatID                      << " "
     
    160160             << setprecision(4) << obs->P2       << " "
    161161             << setprecision(4) << obs->L1       << " "
     162             <<                    obs->slip_cnt_L1 << " "
    162163             << setprecision(4) << obs->L2       << " "
    163              <<                    obs->slip_cnt_L1 << " "
    164164             <<                    obs->slip_cnt_L2 << " "
    165165             << setprecision(4) << obs->S1       << " "
    166              << setprecision(4) << obs->S2       << " "
    167              <<                    obs->SNR1     << " "
    168              <<                    obs->SNR2     << endl;
     166             << setprecision(4) << obs->S2       << endl;
    169167
    170168        buffer.remove(0,obsSize);
Note: See TracChangeset for help on using the changeset viewer.