- Timestamp:
- Aug 8, 2010, 6:59:40 PM (14 years ago)
- Location:
- trunk/BNC/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM3/RTCM3Decoder.cpp
r2545 r2551 109 109 bool decoded = false; 110 110 111 // If read from file, we set the mode according to staID 112 // ----------------------------------------------------- 113 if (!_staID_corrections.isEmpty() && _rawFile) { 114 if (_rawFile->staID() == _staID_corrections) { 115 _mode = corrections; 116 } 117 else { 118 _mode = observations; 119 } 120 } 121 111 122 // Try to decode Clock and Orbit Corrections 112 123 // ----------------------------------------- … … 114 125 if ( _coDecoder->Decode(buffer, bufLen, errmsg) == success ) { 115 126 decoded = true; 116 if (!_rawFile && _mode == unknown) { 117 _mode = corrections; 127 if (_mode == unknown) { 128 if (_rawFile) { 129 _staID_corrections = _rawFile->staID(); 130 } 131 else { 132 _mode = corrections; 133 } 118 134 } 119 135 } -
trunk/BNC/RTCM3/RTCM3Decoder.h
r2527 r2551 69 69 double _antXYZ[3]; 70 70 bncRawFile* _rawFile; 71 QString _staID_corrections; 71 72 }; 72 73
Note:
See TracChangeset
for help on using the changeset viewer.