Changeset 337 in ntrip


Ignore:
Timestamp:
Nov 26, 2006, 10:58:22 AM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncrinex.cpp

    r336 r337  
    6565  _statID        = StatID;
    6666  _mountPoint    = mountPoint;
    67   _format        = format;
     67  _format        = format.left(6);
    6868  _headerWritten = false;
    6969
     
    334334                                "    hh    mm   ss.zzz0000").toAscii().data();
    335335        _out << "                 TIME OF FIRST OBS"    << endl;
    336         QString hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
    337                              .leftJustified(60, ' ', true);
     336        QString hlp = (_format + QString(" %1").arg(_mountPoint.host() +
     337                      _mountPoint.path())).leftJustified(60, ' ', true);
    338338        _out << hlp.toAscii().data() << "COMMENT" << endl;
    339339      }
     
    377377                                "    hh    mm   ss.zzz0000").toAscii().data();
    378378    _out << "                 "                                      << "TIME OF FIRST OBS"    << endl;
    379     hlp = QString("STREAM %1").arg(_mountPoint.host() + _mountPoint.path())
    380                                              .leftJustified(60, ' ', true);
     379    hlp = (_format + QString(" %1").arg(_mountPoint.host() +
     380          _mountPoint.path())).leftJustified(60, ' ', true);
    381381    _out << hlp.toAscii().data() << "COMMENT" << endl;
    382382    _out << "                                                            END OF HEADER"        << endl;
Note: See TracChangeset for help on using the changeset viewer.