Changeset 6579 in ntrip
- Timestamp:
- Feb 4, 2015, 1:05:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncgetthread.cpp
r6137 r6579 648 648 649 649 if ( _miscMount == _staID || _miscMount == "ALL" ) { 650 651 650 // RTCM message types 652 651 // ------------------ … … 663 662 bool allFound = true; 664 663 for (unsigned iFrq = 0; iFrq < obs._obs.size(); iFrq++) { 665 QString rnxStr(obs._obs[iFrq]->_rnxType2ch.c_str()); 666 if (rnxTypes.indexOf(rnxStr) == -1) { 667 allFound = false; 668 rnxTypes << rnxStr; 664 if (obs._obs[iFrq]->_codeValid) { 665 QString rnxStr('C'); 666 rnxStr.append(obs._obs[iFrq]->_rnxType2ch.c_str()); 667 if (rnxTypes.indexOf(rnxStr) == -1) { 668 rnxTypes.push_back(rnxStr); 669 allFound = false; 670 } 671 } 672 if (obs._obs[iFrq]->_phaseValid) { 673 QString rnxStr('L'); 674 rnxStr.append(obs._obs[iFrq]->_rnxType2ch.c_str()); 675 if (rnxTypes.indexOf(rnxStr) == -1) { 676 rnxTypes.push_back(rnxStr); 677 allFound = false; 678 } 679 } 680 if (obs._obs[iFrq]->_dopplerValid){ 681 QString rnxStr('D'); 682 rnxStr.append(obs._obs[iFrq]->_rnxType2ch.c_str()); 683 if (rnxTypes.indexOf(rnxStr) == -1) { 684 rnxTypes.push_back(rnxStr); 685 allFound = false; 686 } 687 } 688 if (obs._obs[iFrq]->_snrValid){ 689 QString rnxStr('S'); 690 rnxStr.append(obs._obs[iFrq]->_rnxType2ch.c_str()); 691 if (rnxTypes.indexOf(rnxStr) == -1) { 692 rnxTypes.push_back(rnxStr); 693 allFound = false; 694 } 669 695 } 670 696 } … … 672 698 QString msg; 673 699 QTextStream str(&msg); 674 str << obs._prn.system() << " " << rnxTypes.size() << " "; 700 QString s; 701 str << obs._prn.system() << " " << s.sprintf("%2d", rnxTypes.size()) << " "; 675 702 for (int iType = 0; iType < rnxTypes.size(); iType++) { 676 703 str << " " << rnxTypes[iType];
Note:
See TracChangeset
for help on using the changeset viewer.