Changeset 8910 in ntrip


Ignore:
Timestamp:
Mar 23, 2020, 11:46:21 AM (4 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/PPP
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppClient.cpp

    r8905 r8910  
    6767  }
    6868
    69   if (OPT->_refSatRequired) {
     69  if (_opt->_refSatRequired) {
    7070    for (unsigned iSys = 0; iSys < OPT->systems().size(); iSys++) {
    7171      char system = OPT->systems()[iSys];
  • trunk/BNC/src/PPP/pppFilter.cpp

    r8905 r8910  
    3838  _numSat = 0;
    3939  _obsPool = obsPool;
     40  _refPrn  = t_prn();
    4041}
    4142
     
    122123    for (unsigned iSys = 0; iSys < OPT->systems().size(); iSys++) {
    123124      char system = OPT->systems()[iSys];
    124       t_prn refPrn = (_obsPool->getRefSatMapElement(system))->prn();
     125      if (OPT->_refSatRequired) {
     126        _refPrn = (_obsPool->getRefSatMapElement(system))->prn();
     127      }
    125128      vector<t_pppSatObs*> obsVector;
    126129      for (unsigned jj = 0; jj < allObs.size(); jj++) {
     
    129132        }
    130133      }
    131       if (processSystem(OPT->LCs(system), obsVector, refPrn,
     134      if (processSystem(OPT->LCs(system), obsVector, _refPrn,
    132135                        epoch->pseudoObsIono(), preProcessing) != success) {
    133136        return failure;
     
    140143  for (unsigned iSys = 0; iSys < OPT->systems().size(); iSys++) {
    141144    char system = OPT->systems()[iSys];
    142     t_prn refPrn = (_obsPool->getRefSatMapElement(system))->prn();
     145    if (OPT->_refSatRequired) {
     146      _refPrn = (_obsPool->getRefSatMapElement(system))->prn();
     147    }
    143148    unsigned int num = 0;
    144149    vector<t_pppSatObs*> obsVector;
     
    150155    }
    151156    LOG << epoTimeStr << " SATNUM " << system << ' ' << right << setw(2) << num << endl;
    152     if (processSystem(OPT->LCs(system), obsVector, refPrn,
     157    if (processSystem(OPT->LCs(system), obsVector, _refPrn,
    153158                      epoch->pseudoObsIono(), preProcessing) != success) {
    154159      return failure;
  • trunk/BNC/src/PPP/pppFilter.h

    r8905 r8910  
    102102  bncTime         _firstEpoTime;
    103103  bncTime         _lastEpoTimeOK;
     104  t_prn           _refPrn;
    104105};
    105106
Note: See TracChangeset for help on using the changeset viewer.