Changeset 6608 in ntrip for trunk/BNC/src/pppRun.cpp


Ignore:
Timestamp:
Feb 20, 2015, 3:57:46 PM (9 years ago)
Author:
stuerze
Message:

preparation for sinex tro

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/pppRun.cpp

    r6568 r6608  
    149149    _nmeaFile = new bncoutf(nmeaFileSkl, "1 day", 0);
    150150  }
    151 }
     151
     152  QString snxtroFileSkl = settings.value("PPP/snxtroFile").toString();
     153  if (snxtroFileSkl.isEmpty()) {
     154    _snxtroFile = 0;
     155  }
     156  else {
     157    if (snxtroFileSkl.indexOf("${STATION}") == -1) {
     158      snxtroFileSkl = snxtroFileSkl + "_" + roverName;
     159    }
     160    else {
     161      snxtroFileSkl.replace("${STATION}", roverName);
     162    }
     163    _snxtroFile = new bncoutf(snxtroFileSkl, "1 day", 0);
     164  }
     165}
     166
     167
    152168
    153169// Destructor
     
    156172  delete _logFile;
    157173  delete _nmeaFile;
     174  delete _snxtroFile;
    158175}
    159176
     
    274291      emit newNMEAstr(staID, rmcStr.toAscii());
    275292      emit newNMEAstr(staID, ggaStr.toAscii());
     293    }
     294
     295    if (_snxtroFile && output._epoTime.valid()) {
     296     // _snxtroFile->write(output._epoTime.gpsw(), output._epoTime.gpssec(),QString("TEST"));
    276297    }
    277298
Note: See TracChangeset for help on using the changeset viewer.