Changeset 8204 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Dec 11, 2017, 3:00:40 PM (7 years ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r8199 r8204 824 824 else if ((type % 10) < 3) { 825 825 emit(newMessage(QString("%1: Block %2 contain partial data! Ignored!") 826 .arg(_staID).arg(type).to Ascii(), true));826 .arg(_staID).arg(type).toLatin1(), true)); 827 827 } 828 828 if (!syncf) { … … 1482 1482 * else. */ 1483 1483 if ((id >= 1057 && id <= 1068) || (id >= 1240 && id <= 1270)) { 1484 if (!_coDecoders.contains(_staID.to Ascii()))1485 _coDecoders[_staID.to Ascii()] = new RTCM3coDecoder(_staID);1486 RTCM3coDecoder* coDecoder = _coDecoders[_staID.to Ascii()];1484 if (!_coDecoders.contains(_staID.toLatin1())) 1485 _coDecoders[_staID.toLatin1()] = new RTCM3coDecoder(_staID); 1486 RTCM3coDecoder* coDecoder = _coDecoders[_staID.toLatin1()]; 1487 1487 if (coDecoder->Decode(reinterpret_cast<char *>(_Message), _BlockSize, 1488 1488 errmsg) == success) { … … 1500 1500 emit(newMessage( 1501 1501 QString("%1: Block %2 contain partial data! Ignored!") 1502 .arg(_staID).arg(id).to Ascii(), true));1502 .arg(_staID).arg(id).toLatin1(), true)); 1503 1503 break; /* no use decoding partial data ATM, remove break when data can be used */ 1504 1504 case 1002: … … 1511 1511 emit(newMessage( 1512 1512 QString("%1: Block %2 contain partial data! Ignored!") 1513 .arg(_staID).arg(id).to Ascii(), true));1513 .arg(_staID).arg(id).toLatin1(), true)); 1514 1514 break; /* no use decoding partial data ATM, remove break when data can be used */ 1515 1515 case 1010: -
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r8028 r8204 146 146 delete _out; 147 147 if ( Qt::CheckState(settings.value("rnxAppend").toInt()) == Qt::Checked) { 148 _out = new ofstream( _fileName.to Ascii().data(), ios_base::out | ios_base::app );148 _out = new ofstream( _fileName.toLatin1().data(), ios_base::out | ios_base::app ); 149 149 } 150 150 else { 151 _out = new ofstream( _fileName.to Ascii().data() );151 _out = new ofstream( _fileName.toLatin1().data() ); 152 152 } 153 153 } … … 560 560 561 561 if (alreadySet && different) { 562 emit newMessage("RTCM3coDecoder: Provider Changed: " + _staID.to Ascii(), true);562 emit newMessage("RTCM3coDecoder: Provider Changed: " + _staID.toLatin1(), true); 563 563 emit providerIDChanged(_staID); 564 564 }
Note:
See TracChangeset
for help on using the changeset viewer.