Changeset 7788 in ntrip for trunk


Ignore:
Timestamp:
Feb 17, 2016, 10:28:35 AM (3 years ago)
Author:
stuerze
Message:

minor format changes in sinex tro header

File:
1 edited

Legend:

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

    r7770 r7788  
    8585  int numEpochs = ((nominalEndSec - daysec) / _sampl) +1;
    8686  QString epo  = QString("%1").arg(numEpochs, 5, 10, QLatin1Char('0'));
    87   QString ac   = QString("%1").arg(settings.value("PPP/snxtroAc").toString(),3,QLatin1Char('0'));
    88   QString sol  = QString("%1").arg(settings.value("PPP/snxtroSol").toString(),4,QLatin1Char('0'));
     87  QString ac   = QString("%1").arg(settings.value("PPP/snxtroAc").toString(),3,QLatin1Char(' '));
     88  QString sol  = QString("%1").arg(settings.value("PPP/snxtroSol").toString(),4,QLatin1Char(' '));
    8989  QString corr = settings.value("PPP/corrMount").toString();
    9090
     
    106106  double lonS, latS;
    107107  xyz2ell(_opt->_xyzAprRover.data(), recEll);
    108   recEll[0] = recEll[0] * 180.0 / M_PI;
    109   recEll[1] = recEll[1] * 180.0 / M_PI;
    110   deg2DMS(recEll[1], lonD, lonM, lonS);
    111   deg2DMS(recEll[0], latD, latM, latS);
     108  deg2DMS(recEll[0] * 180.0 / M_PI, latD, latM, latS);
     109  deg2DMS(recEll[1] * 180.0 / M_PI, lonD, lonM, lonS);
    112110  QString country;
    113111  QListIterator<QString> it(settings.value("mountPoints").toStringList());
     
    138136    _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__ FIRMWARE___" << endl;
    139137    _out << " " << _opt->_roverName.substr(0,4) << "  A "  <<  sol.toStdString() << " P "
    140          << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_recNameRover << endl;
     138         << startTime.toStdString() << " " << endTime.toStdString()
     139         << QString(" %1").arg(_opt->_antNameRover.c_str(), 20,QLatin1Char(' ')).toStdString()
     140         << " -----" << " -----------" << endl;
    141141    _out << "-SITE/RECEIVER" << endl << endl;
    142142  }
     
    145145  _out << "*SITE PT SOLN T DATA_START__ DATA_END____ DESCRIPTION_________ S/N__" << endl;
    146146  _out << " " << _opt->_roverName.substr(0,4) << "  A "  <<  sol.toStdString() << " P "
    147        << startTime.toStdString() << " " << endTime.toStdString() << " " << _opt->_antNameRover << endl;
     147       << startTime.toStdString() << " " << endTime.toStdString() << " "
     148       << _opt->_antNameRover << " -----" << endl;
    148149  _out << "-SITE/ANTENNA" << endl << endl;
    149150
Note: See TracChangeset for help on using the changeset viewer.