Changeset 9128 in ntrip for trunk/BNC/src/upload


Ignore:
Timestamp:
Sep 22, 2020, 11:20:34 AM (4 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/upload
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r9126 r9128  
    5757
    5858  _ssrFormat = ssrFormat;
    59  
     59
    6060  _ssrCorr = 0;
    6161  if      (_ssrFormat == "IGS-SSR") {
     
    476476      QList<phaseBiasSignal> phaseBiasList;
    477477      phaseBiasesSat pbSat;
    478       bool phaseBiasInformationDecoded = false;
     478      _phaseBiasInformationDecoded = false;
    479479
    480480      while (true) {
     
    535535        }
    536536        else if (key == "YawAngle") {
    537           phaseBiasInformationDecoded = true;
     537          _phaseBiasInformationDecoded = true;
    538538          in >> numVal >> pbSat.yawAngle;
    539539          if      (pbSat.yawAngle < 0.0) {
     
    545545        }
    546546        else if (key == "YawRate") {
     547          _phaseBiasInformationDecoded = true;
    547548          in >> numVal >> pbSat.yawRate;
    548549        }
    549550        else if (key == "PhaseBias") {
    550           phaseBiasInformationDecoded = true;
     551          _phaseBiasInformationDecoded = true;
    551552          in >> numVal;
    552553          for (int ii = 0; ii < numVal; ii++) {
     
    707708      }
    708709
    709       if (phasebiasSat && phaseBiasInformationDecoded) {
     710      if (phasebiasSat && _phaseBiasInformationDecoded) {
    710711        phasebias.DispersiveBiasConsistencyIndicator = dispersiveBiasConsistenyIndicator;
    711712        phasebias.MWConsistencyIndicator = mwConsistencyIndicator;
     
    895896  // ------------
    896897  QByteArray hlpBufferPhaseBias;
    897   if (phasebias.NumberOfSat[CLOCKORBIT_SATGPS] > 0
     898  if ((phasebias.NumberOfSat[CLOCKORBIT_SATGPS] > 0
    898899      || phasebias.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0
    899900      || phasebias.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0
    900901      || phasebias.NumberOfSat[CLOCKORBIT_SATQZSS] > 0
    901902      || phasebias.NumberOfSat[CLOCKORBIT_SATSBAS] > 0
    902       || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) {
     903      || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0)  && (_phaseBiasInformationDecoded)) {
    903904    char obuffer[CLOCKORBIT_BUFFERSIZE];
    904905    int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer,
  • trunk/BNC/src/upload/bncrtnetuploadcaster.h

    r9032 r9128  
    5151  QString        _ssrFormat;
    5252  bool           _CoM;
     53  bool           _phaseBiasInformationDecoded;
    5354  int            _PID;
    5455  int            _SID;
Note: See TracChangeset for help on using the changeset viewer.