Changeset 5742 in ntrip for trunk/BNC/src/rinex
- Timestamp:
- Aug 2, 2014, 4:23:36 PM (11 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/rinex/rnxobsfile.cpp ¶
r5468 r5742 59 59 _version = 0.0; 60 60 _interval = 0.0; 61 for (unsigned iPrn = 1; iPrn <= MAXPRN_GPS; iPrn++) { 61 for (unsigned iPrn = 1; iPrn <= t_prn::MAXPRN_GPS; iPrn++) { 62 62 _wlFactorsL1[iPrn] = 1; 63 63 _wlFactorsL2[iPrn] = 1; … … 125 125 in >> wlFactL1 >> wlFactL2 >> numSat; 126 126 if (numSat == 0) { 127 for (unsigned iPrn = 1; iPrn <= MAXPRN_GPS; iPrn++) { 127 for (unsigned iPrn = 1; iPrn <= t_prn::MAXPRN_GPS; iPrn++) { 128 128 _wlFactorsL1[iPrn] = wlFactL1; 129 129 _wlFactorsL2[iPrn] = wlFactL2; … … 750 750 _header._receiverVersion = header._receiverVersion; 751 751 752 for (unsigned iPrn = 1; iPrn <= MAXPRN_GPS; iPrn++) { 752 for (unsigned iPrn = 1; iPrn <= t_prn::MAXPRN_GPS; iPrn++) { 753 753 _header._wlFactorsL1[iPrn] = header._wlFactorsL1[iPrn]; 754 754 _header._wlFactorsL2[iPrn] = header._wlFactorsL2[iPrn]; -
TabularUnified trunk/BNC/src/rinex/rnxobsfile.h ¶
r5375 r5742 35 35 #include "bncconst.h" 36 36 #include "bnctime.h" 37 38 #define MAXPRN_GPS 32 37 #include "t_prn.h" 39 38 40 39 class t_rnxObsHeader { … … 72 71 QVector<QString> _obsTypesV2; 73 72 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]; 76 75 bncTime _startTime; 77 76 }; … … 132 131 t_rnxEpo* nextEpoch(); 133 132 int wlFactorL1(unsigned iPrn) { 134 return iPrn <= MAXPRN_GPS ? _header._wlFactorsL1[iPrn] : 1; 133 return iPrn <= t_prn::MAXPRN_GPS ? _header._wlFactorsL1[iPrn] : 1; 135 134 } 136 135 int wlFactorL2(unsigned iPrn) { 137 return iPrn <= MAXPRN_GPS ? _header._wlFactorsL2[iPrn] : 1; 136 return iPrn <= t_prn::MAXPRN_GPS ? _header._wlFactorsL2[iPrn] : 1; 138 137 } 139 138
Note:
See TracChangeset
for help on using the changeset viewer.