Changeset 5742 in ntrip for trunk/BNC/src/rinex/rnxobsfile.h


Ignore:
Timestamp:
Aug 2, 2014, 4:23:36 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/rnxobsfile.h

    r5375 r5742  
    3535#include "bncconst.h"
    3636#include "bnctime.h"
    37 
    38 #define MAXPRN_GPS 32
     37#include "t_prn.h"
    3938
    4039class t_rnxObsHeader {
     
    7271  QVector<QString>              _obsTypesV2;
    7372  QMap<char, QVector<QString> > _obsTypesV3;
    74   int                           _wlFactorsL1[MAXPRN_GPS+1];
    75   int                           _wlFactorsL2[MAXPRN_GPS+1];
     73  int                           _wlFactorsL1[t_prn::MAXPRN_GPS+1];
     74  int                           _wlFactorsL2[t_prn::MAXPRN_GPS+1];
    7675  bncTime                       _startTime;
    7776};
     
    132131  t_rnxEpo* nextEpoch();
    133132  int wlFactorL1(unsigned iPrn) {
    134     return iPrn <= MAXPRN_GPS ? _header._wlFactorsL1[iPrn] : 1;
     133    return iPrn <= t_prn::MAXPRN_GPS ? _header._wlFactorsL1[iPrn] : 1;
    135134  }
    136135  int wlFactorL2(unsigned iPrn) {
    137     return iPrn <= MAXPRN_GPS ? _header._wlFactorsL2[iPrn] : 1;
     136    return iPrn <= t_prn::MAXPRN_GPS ? _header._wlFactorsL2[iPrn] : 1;
    138137  }
    139138
Note: See TracChangeset for help on using the changeset viewer.