Changeset 529 in ntrip for trunk/BNC/bncapp.cpp


Ignore:
Timestamp:
Oct 18, 2007, 3:43:24 PM (17 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncapp.cpp

    r528 r529  
    4848
    4949using namespace std;
     50
     51const int RINEX_3 = 1;
    5052
    5153struct converttimeinfo {
     
    6163  void converttime(struct converttimeinfo *c, int week, int tow);
    6264  void updatetime(int *week, int *tow, int tk, int fixnumleap);
     65  int  HandleRunBy(char *buffer, int buffersize, const char **u, int rinex3);
    6366}
    6467
     
    198201    *_ephStream << line;
    199202
     203    char buffer[100];
     204    HandleRunBy(buffer, sizeof(buffer), 0, RINEX_3);
     205    line.sprintf("%s\n%60sEND OF HEADER\n", buffer, "");
     206    *_ephStream << line;
     207
    200208    line.sprintf("%s\n%60sEND OF HEADER\n", "bnc", "");
    201209    *_ephStream << line;
     
    205213}
    206214
    207 const int RINEX_3 = 1;
    208215
    209216//
Note: See TracChangeset for help on using the changeset viewer.