Changeset 2881 in ntrip


Ignore:
Timestamp:
Jan 26, 2011, 11:07:46 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncantex.cpp

    r2880 r2881  
    5959void bncAntex::readFile(const QString& fileName) {
    6060
     61  QFile inFile(fileName);
     62  inFile.open(QIODevice::ReadOnly | QIODevice::Text);
     63
     64  QTextStream in(&inFile);
     65
     66  while ( !in.atEnd() ) {
     67    QString line = in.readLine();
     68
     69  }
    6170}
  • trunk/BNC/bncmodel.cpp

    r2874 r2881  
    5151#include "bncsettings.h"
    5252#include "bnctides.h"
     53#include "bncantex.h"
    5354
    5455using namespace std;
     
    257258    _nmeaStream->setDevice(_nmeaFile);
    258259  }
     260
     261  QString antexFileName = settings.value("pppAntex").toString();
     262  if (!antexFileName.isEmpty()) {
     263    _antex = new bncAntex();
     264    _antex->readFile(antexFileName);
     265  }
    259266}
    260267
     
    267274    delete _posAverage[ii];
    268275  }
     276  delete _antex;
    269277}
    270278
  • trunk/BNC/bncmodel.h

    r2874 r2881  
    3535class t_epoData;
    3636class t_satData;
     37class bncAntex;
    3738
    3839class bncParam {
     
    153154  double                _sigAmb0;
    154155  double                _sigClk0;
     156  bncAntex*             _antex;
    155157};
    156158
Note: See TracChangeset for help on using the changeset viewer.