Changeset 7848 in ntrip for trunk/BNC/src
- Timestamp:
- Mar 18, 2016, 5:46:42 PM (9 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncantex.cpp
r7766 r7848 95 95 96 96 if (antName.find("NULLANTENNA") != string::npos) { 97 return QString( );97 return QString(" ------ ------ ------"); 98 98 } 99 99 100 100 QString antNameQ = antName.c_str(); 101 102 101 if (_maps.find(antNameQ) == _maps.end()) { 103 return QString( );102 return QString(" ------ ------ ------"); 104 103 } 105 104 106 105 t_antMap* map = _maps[antNameQ]; 107 106 if (map->frqMap.find(frqType) == map->frqMap.end()) { 108 return QString( );107 return QString(" ------ ------ ------"); 109 108 } 110 109 111 110 t_frqMap* frqMap = map->frqMap[frqType]; 112 111 113 return QString(" %1 %2 %3").arg(frqMap->neu[2], 6, 'f', 4) 114 .arg(frqMap->neu[0], 6, 'f', 4) 115 .arg(frqMap->neu[1], 6, 'f', 4); 112 QString u, n,e; 113 u.sprintf("%+6.4f" ,frqMap->neu[2]); if (u.mid(1,1) == "0") {u.remove(1,1);} 114 n.sprintf("%+6.4f" ,frqMap->neu[0]); if (n.mid(1,1) == "0") {n.remove(1,1);} 115 e.sprintf("%+6.4f" ,frqMap->neu[1]); if (e.mid(1,1) == "0") {e.remove(1,1);} 116 117 return QString(" %1 %2 %3").arg(u).arg(n).arg(e); 116 118 } 117 119 -
trunk/BNC/src/bncsinextro.cpp
r7789 r7848 158 158 << _antex->pcoSinexString(_opt->_antNameRover, t_frequency::G1).toStdString() 159 159 << _antex->pcoSinexString(_opt->_antNameRover, t_frequency::G2).toStdString() 160 << " ---------" 160 161 << endl; 161 162 _out << "-SITE/GPS_PHASE_CENTER" << endl << endl; … … 169 170 << _antex->pcoSinexString(_opt->_antNameRover, t_frequency::R1).toStdString() 170 171 << _antex->pcoSinexString(_opt->_antNameRover, t_frequency::R2).toStdString() 172 << " ---------" 171 173 << endl; 172 174 _out << "-SITE/GLONASS_PHASE_CENTER" << endl << endl;
Note:
See TracChangeset
for help on using the changeset viewer.