Changeset 6608 in ntrip
- Timestamp:
- Feb 20, 2015, 3:57:46 PM (10 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/pppMain.cpp
r6046 r6608 125 125 _nmeaFile = settings.value("PPP/nmeaFile").toString(); 126 126 _nmeaPort = settings.value("PPP/nmeaPort").toInt(); 127 _snxtroFile = settings.value("PPP/snxtroFile").toString(); 127 128 128 129 _realTime = false; -
trunk/BNC/src/pppMain.h
r6046 r6608 22 22 QString _logFile; 23 23 QString _nmeaFile; 24 QString _snxtroFile; 24 25 int _nmeaPort; 25 26 bool _running; -
trunk/BNC/src/pppRun.cpp
r6568 r6608 149 149 _nmeaFile = new bncoutf(nmeaFileSkl, "1 day", 0); 150 150 } 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 152 168 153 169 // Destructor … … 156 172 delete _logFile; 157 173 delete _nmeaFile; 174 delete _snxtroFile; 158 175 } 159 176 … … 274 291 emit newNMEAstr(staID, rmcStr.toAscii()); 275 292 emit newNMEAstr(staID, ggaStr.toAscii()); 293 } 294 295 if (_snxtroFile && output._epoTime.valid()) { 296 // _snxtroFile->write(output._epoTime.gpsw(), output._epoTime.gpssec(),QString("TEST")); 276 297 } 277 298 -
trunk/BNC/src/pppRun.h
r6478 r6608 72 72 bncoutf* _logFile; 73 73 bncoutf* _nmeaFile; 74 bncoutf* _snxtroFile; 74 75 }; 75 76 -
trunk/BNC/src/pppWidgets.cpp
r6607 r6608 195 195 _nmeaFile ->setText(settings.value(_nmeaFile ->objectName()).toString()); 196 196 _nmeaPort ->setText(settings.value(_nmeaPort ->objectName()).toString()); 197 _snxtroFile ->setText(settings.value(_snxtroFile ->objectName()).toString()); 197 198 _sigmaC1 ->setText(settings.value(_sigmaC1 ->objectName()).toString()); 198 199 _sigmaL1 ->setText(settings.value(_sigmaL1 ->objectName()).toString()); … … 261 262 settings.setValue(_nmeaFile ->objectName(), _nmeaFile ->text()); 262 263 settings.setValue(_nmeaPort ->objectName(), _nmeaPort ->text()); 264 settings.setValue(_snxtroFile ->objectName(), _snxtroFile ->text()); 263 265 settings.setValue(_lcGPS ->objectName(), _lcGPS ->currentText()); 264 266 settings.setValue(_lcGLONASS ->objectName(), _lcGLONASS ->currentText());
Note:
See TracChangeset
for help on using the changeset viewer.