Changeset 154 in ntrip


Ignore:
Timestamp:
Sep 9, 2006, 10:29:08 AM (18 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/RTCM/RTCM.cpp

    r142 r154  
    11// -*- C++ -*-
    22// RTCM.C
    3 // $Id: RTCM.cpp,v 1.2 2006/09/08 12:07:14 mervart Exp $
     3// $Id: RTCM.cpp,v 1.3 2006/09/08 12:14:11 mervart Exp $
    44// 2005/04/11: counter 'iPCode' for indicating CA or P Code on L1 (BKG)
    55
     
    872872    case 0:
    873873    case 2:
    874 #if 1
     874#if 0
    875875#ifdef DEBUG
    876876        fprintf(stderr, "RTCM 2.x: unknown byte type %d (%d 0x%0x)\n", b >> DATA_SHIFT,
  • trunk/BNC/bncrinex.cpp

    r153 r154  
    104104  QDate nextDate;
    105105
    106 //  //// beg test
    107 //  if (1) {
    108 //    hlpStr = datTim.toString("_hh_mm_ss");
    109 //    nextDate = datTim.date();
    110 //    nextTime = datTim.time().addSecs(10);
    111 //  } else
    112 //  //// end test
    113106  if (intStr == "15 min") {
    114107    char ch = 'A' + datTim.time().hour();
     
    192185                                "    hh    mm   ss.zzz0000").toAscii().data();
    193186        _out << "                 TIME OF FIRST OBS"    << endl;
     187        QString hlp =  "GENERATED FROM STREAM" + _mountPoint;
     188        hlp.fill(' ', 59);
     189        _out << hlp.toAscii().data() << "COMMENT" << endl;
    194190      }
    195191      else {
     
    230226                                "    hh    mm   ss.zzz0000").toAscii().data();
    231227    _out << "                 "                                      << "TIME OF FIRST OBS"    << endl;
     228    QString hlp =  "GENERATED FROM STREAM" + _mountPoint;
     229    hlp.fill(' ', 59);
     230    _out << hlp.toAscii().data() << "COMMENT" << endl;
    232231    _out << "                                                            END OF HEADER"        << endl;
    233232  }
Note: See TracChangeset for help on using the changeset viewer.