Changeset 10275 in ntrip


Ignore:
Timestamp:
Dec 6, 2023, 11:38:31 AM (3 months ago)
Author:
stuerze
Message:

minor changes to support windows operationg systems

Location:
trunk/BNC/src
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncmain.cpp

    r10251 r10275  
    233233      "   PPP/logPath     {Directory for PPP log files [character string]}\n"
    234234      "   PPP/antexFile   {ANTEX file, full path [character string]}\n"
    235 #ifdef USE_PPP     
     235#ifdef USE_PPP
    236236      "   PPP/blqFile     {BLQ file, full path [character string]}\n"
    237237      "   PPP/ionoMount   {VTEC mountpoint, [char string]}\n"
    238238      "   PPP/ionoFile    {VTEC file, full path [char string]}\n"
    239 #endif     
     239#endif
    240240      "   PPP/nmeaPath      {Directory for NMEA output files [character string]}\n"
    241241      "   PPP/snxtroPath    {Directory for SINEX troposphere output files [character string]}\n"
     
    568568    BNC_CORE->stopPPP();
    569569    BNC_CORE->stopCombination();
    570     sleep(2);
     570#ifndef WIN32
     571  sleep(2);
     572#else
     573  Sleep(2000);
     574#endif
    571575  }
    572576  if (caster) {
  • trunk/BNC/src/combination/bncbiassnx.cpp

    r10227 r10275  
    119119    else if (line.indexOf("BIAS_MODE") == 1) {
    120120       if      (line.contains("ABSOLUTE")) {
    121          _type = ABSOLUTE;
     121         _type = ABS;
    122122       }
    123123       else if (line.contains("RELATIVE")) {
    124          _type = RELATIVE;
     124         _type = REL;
    125125       }
    126126    }
     
    176176  inFile.close();
    177177
    178   if (_type == ABSOLUTE) {
     178  if (_type == ABS) {
    179179    getDsbFromOsb();
    180180  }
  • trunk/BNC/src/combination/bncbiassnx.h

    r10216 r10275  
    6565
    6666 private:
    67   enum e_type {ABSOLUTE, RELATIVE};
     67  enum e_type {ABS, REL};
    6868  void clear();
    6969  t_irc bncTimeFromSinex(QString snxStr, bncTime& time);
  • trunk/BNC/src/combination/bnccomb.cpp

    r10245 r10275  
    311311
    312312  _running = false;
     313#ifndef WIN32
    313314  sleep(2);
     315#else
     316  Sleep(2000);
     317#endif
    314318
    315319  QListIterator<cmbAC*> icAC(_ACs);
  • trunk/BNC/src/combination/bnccomb.h

    r10243 r10275  
    55#include <fstream>
    66#include <iostream>
     7#ifndef WIN32
    78#include <unistd.h>
     9#else
     10#include <windows.h>
     11#endif
    812#include <map>
    913#include <newmat.h>
Note: See TracChangeset for help on using the changeset viewer.