Changeset 10275 in ntrip for trunk/BNC/src/combination


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

minor changes to support windows operationg systems

Location:
trunk/BNC/src/combination
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • 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.