Changeset 6241 in ntrip for trunk


Ignore:
Timestamp:
Oct 15, 2014, 6:17:22 PM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/rinex
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.cpp

    r6232 r6241  
    916916      bool    found  = false;
    917917   
    918       const QString preferredAttrib = "CWPX ?";
     918      QString preferredAttrib = signalPriorities(sys);
    919919      for (int iPref = 0; iPref < preferredAttrib.length(); iPref++) {
    920920        QMapIterator<QString, t_rnxObs> itObs(rnxSat.obs);
     
    924924          const t_rnxObs& rnxObs = itObs.value();
    925925          if ( preferredAttrib[iPref] == '?'                             ||
    926                (type.length() == 2 && preferredAttrib[iPref] == ' '    ) ||
     926               (type.length() == 2 && preferredAttrib[iPref] == '_'    ) ||
    927927               (type.length() == 3 && preferredAttrib[iPref] == type[2]) ) {
    928928            if (typeV2 == type3to2(sys, type)) {
     
    11071107}
    11081108
     1109// Tracking Mode Priorities
     1110////////////////////////////////////////////////////////////////////////////
     1111QString t_rnxObsFile::signalPriorities(char sys) {
     1112  return "CWPX ?";
     1113}
  • trunk/BNC/src/rinex/rnxobsfile.h

    r6230 r6241  
    188188  static void writeEpochV2(QTextStream* stream, const t_rnxObsHeader& header, const t_rnxEpo* epo);
    189189  static void writeEpochV3(QTextStream* stream, const t_rnxObsHeader& header, const t_rnxEpo* epo);
     190  static QString signalPriorities(char sys);
    190191  t_rnxObsFile() {};
    191192  void openRead(const QString& fileName);
Note: See TracChangeset for help on using the changeset viewer.