Changeset 4566 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Aug 28, 2012, 2:11:30 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/reqcanalyze.cpp
r4565 r4566 115 115 if (data1) { 116 116 for (int ii = 0; ii < data1->size(); ii++) { 117 double mp= data1->at(ii)->_value;118 if (maxValue < mp) {119 maxValue = mp;117 double val = data1->at(ii)->_value; 118 if (maxValue < val) { 119 maxValue = val; 120 120 } 121 121 } … … 123 123 if (data2) { 124 124 for (int ii = 0; ii < data2->size(); ii++) { 125 double mp= data2->at(ii)->_value;126 if (maxValue < mp) {127 maxValue = mp;125 double val = data2->at(ii)->_value; 126 if (maxValue < val) { 127 maxValue = val; 128 128 } 129 129 } … … 380 380 mean2 += anaObs->_MP2; 381 381 382 SNR1 = anaObs->_SNR1; 383 SNR2 = anaObs->_SNR2; 382 if ( anaObs->_SNR1 > 0 && (SNR1 == 0 || SNR1 > anaObs->_SNR1) ) { 383 SNR1 = anaObs->_SNR1; 384 } 385 if ( anaObs->_SNR2 > 0 && (SNR2 == 0 || SNR2 > anaObs->_SNR2) ) { 386 SNR2 = anaObs->_SNR2; 387 } 384 388 385 389 // Check Slip
Note:
See TracChangeset
for help on using the changeset viewer.