Changeset 7523 in ntrip for trunk/BNC/src/bncsinextro.cpp


Ignore:
Timestamp:
Oct 19, 2015, 3:01:57 PM (9 years ago)
Author:
stuerze
Message:

minor changes to add receiver information in sinex troposphere file header

File:
1 edited

Legend:

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

    r7521 r7523  
    8585
    8686
    87   QString numberOfEpochs = QString("%1").arg(intr/_sampl, 5, 10, QLatin1Char('0'));
     87  QString numberOfEpochs = QString("%1").arg(1, 5, 10, QLatin1Char('0'));
    8888  _out << "%=TRO 2.00 BNC " << creationTime.toStdString() << " BNC "
    8989       << startTime.toStdString() << " " << endTime.toStdString() << " P "
     
    102102  _out << "-SITE/ID" << endl << endl;
    103103
    104 
    105   _out << "+SITE/RECEIVER" << endl;
    106   _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__ FIRMWARE___" << endl;
    107   _out << " " << _opt->_roverName.substr(0,4) << "  A    1 P "
    108        << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_recNameRover << endl;
    109   _out << "-SITE/RECEIVER" << endl << endl;
    110 
     104  if (!_opt->_recNameRover.empty()) {
     105    _out << "+SITE/RECEIVER" << endl;
     106    _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__ FIRMWARE___" << endl;
     107    _out << " " << _opt->_roverName.substr(0,4) << "  A    1 P "
     108         << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_recNameRover << endl;
     109    _out << "-SITE/RECEIVER" << endl << endl;
     110  }
    111111
    112112  _out << "+SITE/ANTENNA" << endl;
Note: See TracChangeset for help on using the changeset viewer.