Changeset 9865 in ntrip for trunk


Ignore:
Timestamp:
Oct 31, 2022, 9:49:34 PM (2 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src
Files:
2 edited

Legend:

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

    r9854 r9865  
    796796      for (int ii = 0; ii < decoder()->_typeList.size(); ii++) {
    797797        QString type = QString("%1 ").arg(decoder()->_typeList[ii]);
    798         emit(newMessage(_staID + ": Received message type " + type.toLatin1(),
    799             true));
     798        emit(newMessage(_staID + ": Received message type " + type.toLatin1(), true));
    800799      }
    801800
     
    803802      // -----------------------
    804803      for (int ii = 0; ii < decoder()->_obsList.size(); ii++) {
    805         t_satObs& obs = decoder()->_obsList[ii];
     804        t_satObs& obs = decoder()->_obsList[ii]; 
    806805        QVector<QString>& rnxTypes = _rnxTypes[obs._prn.system()];
    807806        bool allFound = true;
  • trunk/BNC/src/orbComp/sp3Comp.cpp

    r9854 r9865  
    8484  }
    8585  if (!_log) {
    86     *_log  << "ERROR: SP3Comp requires logfile specification" << endl;
     86    *_log  << "ERROR: SP3Comp requires logfile specification" << "\n";
    8787    goto exit;
    8888  }
    8989
    9090  for (int ii = 0; ii < _sp3FileNames.size(); ii++) {
    91     *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << endl;
     91    *_log << "! SP3 File " << ii+1 << ": " << _sp3FileNames[ii] << "\n";
    9292  }
    9393  if (_sp3FileNames.size() != 2) {
    94     *_log << "ERROR: sp3Comp requires two input SP3 files" << endl;
     94    *_log << "ERROR: sp3Comp requires two input SP3 files" << "\n";
    9595    goto end;
    9696  }
     
    102102  }
    103103  catch (const string& error) {
    104     *_log << "ERROR: " << error.c_str() << endl;
     104    *_log << "ERROR: " << error.c_str() << "\n";
    105105  }
    106106  catch (const char* error) {
    107     *_log << "ERROR: " << error << endl;
     107    *_log << "ERROR: " << error << "\n";
    108108  }
    109109  catch (Exception& exc) {
    110     *_log << "ERROR: " << exc.what() << endl;
     110    *_log << "ERROR: " << exc.what() << "\n";
    111111  }
    112112  catch (std::exception& exc) {
    113     *_log << "ERROR: " << exc.what() << endl;
     113    *_log << "ERROR: " << exc.what() << "\n";
    114114  }
    115115  catch (QString error) {
    116     *_log << "ERROR: " << error << endl;
     116    *_log << "ERROR: " << error << "\n";
    117117  }
    118118  catch (...) {
    119     *_log << "ERROR: " << "unknown exception" << endl;
     119    *_log << "ERROR: " << "unknown exception" << "\n";
    120120  }
    121121
     
    347347
    348348  out.setf(ios::fixed);
    349   out << "!\n!  MJD       PRN  radial   along   out        clk    clkRed   iPRN"
    350            "\n! ----------------------------------------------------------------\n";
     349  out << "!\n!  Epoch                PRN  radial   along   out        clk    clkRed   iPRN"
     350          "\n! ----------------------------------------------------------------------------\n";
    351351  for (unsigned ii = 0; ii < epochs.size(); ii++) {
    352352    const t_epoch* epo = epochs[ii];
     
    357357      if (!excludeSat(prn)) {
    358358        const ColumnVector& rao = it->second;
    359         out << setprecision(6) << epo->_tt.mjddec() << ' ' << prn.toString() << ' '
     359        out << setprecision(6) << string(epo->_tt) << ' ' << prn.toString() << ' '
    360360            << setw(7) << setprecision(4) << rao[0] << ' '
    361361            << setw(7) << setprecision(4) << rao[1] << ' '
     
    380380          out << "  .       .    ";
    381381        }
    382         out << "    " << setw(2) << int(prn) << endl;
     382        out << "    " << setw(2) << int(prn) << "\n";
    383383      }
    384384    }
     
    421421        out << "  .       .    ";
    422422      }
    423       out << endl;
     423      out << "\n";
    424424    }
    425425  }
Note: See TracChangeset for help on using the changeset viewer.