Changeset 981 in ntrip
- Timestamp:
- Jul 26, 2008, 2:47:36 PM (16 years ago)
- Location:
- trunk/BNS
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNS/bns.cpp
r980 r981 397 397 } 398 398 399 if ( _outSocket&&399 if ( (_outSocket || _outFile) && 400 400 (co.NumberOfGPSSat > 0 || co.NumberOfGLONASSSat > 0) ) { 401 401 char obuffer[CLOCKORBIT_BUFFERSIZE]; 402 402 int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer)); 403 403 if (len > 0) { 404 _outSocket->write(obuffer, len); 405 _outSocket->flush(); 404 if (_outSocket) { 405 _outSocket->write(obuffer, len); 406 _outSocket->flush(); 407 } 408 if (_outFile) { 409 _outFile->write(obuffer, len); 410 _outFile->flush(); 411 } 406 412 } 407 413 } -
trunk/BNS/bnswindow.cpp
r978 r981 142 142 _clkPortLineEdit = new QLineEdit(settings.value("clkPort").toString()); 143 143 _clkPortLineEdit->setWhatsThis(tr("BNS reads Clocks & Orbits referring to the IGS system (X,Y,Z, ECEF) in plain ASCII format from an IP address. Specify the IP port e.g. of a RTNet installation providing this information.")); 144 _clkFileLineEdit = new QLineEdit(settings.value("clkFile").toString());145 _clkFileLineEdit->setWhatsThis(tr("Specify the full path to a file where incoming IGS Clocks & Orbits are saved. Beware that the size of this file can rapidly increase. Default is an empty option field meaning that incoming Clocks & Orbits corrections are not saved."));146 144 _clkPortLineEdit->setMaximumWidth(9*ww); 147 145 … … 259 257 layout_inp->addWidget(new QLabel("Server listening on Port"), 1, 1, 1, 3, Qt::AlignRight); 260 258 layout_inp->addWidget(_clkPortLineEdit, 1, 4); 261 layout_inp->addWidget(new QLabel("Save Clocks & Orbits"), 2, 0, Qt::AlignLeft); 262 layout_inp->addWidget(new QLabel("(full path)"), 2, 1, Qt::AlignRight); 263 layout_inp->addWidget(_clkFileLineEdit, 2, 2); 264 layout_inp->addWidget(new QLabel("Read broadcast ephemeris and IGS clocks and orbits."), 3, 0, 1, 6, Qt::AlignLeft); 265 layout_inp->addWidget(new QLabel(""), 4, 0); 259 layout_inp->addWidget(new QLabel("Read broadcast ephemeris and IGS clocks and orbits."), 2, 0, 1, 6, Qt::AlignLeft); 260 layout_inp->addWidget(new QLabel(""), 3, 0); 266 261 267 262 tab_inp->setLayout(layout_inp); … … 439 434 settings.setValue("ephPort", _ephPortLineEdit->text()); 440 435 settings.setValue("clkPort", _clkPortLineEdit->text()); 441 settings.setValue("clkFile", _clkFileLineEdit->text());442 436 settings.setValue("outHost", _outHostLineEdit->text()); 443 437 settings.setValue("outPort", _outPortLineEdit->text()); -
trunk/BNS/bnswindow.h
r978 r981 61 61 QLineEdit* _ephPortLineEdit; 62 62 QLineEdit* _clkPortLineEdit; 63 QLineEdit* _clkFileLineEdit;64 63 QLineEdit* _logFileLineEdit; 65 64 QLineEdit* _outHostLineEdit;
Note:
See TracChangeset
for help on using the changeset viewer.