Changeset 6321 in ntrip


Ignore:
Timestamp:
Nov 12, 2014, 5:16:51 PM (8 years ago)
Author:
stuerze
Message:

maxprn added for systems J,S,C

Location:
trunk/BNC/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/t_prn.cpp

    r6128 r6321  
    1818  else if (_system == 'E') {
    1919    return MAXPRN_GPS + MAXPRN_GLONASS + _number;
     20  }
     21  else if (_system == 'J') {
     22          return MAXPRN_GPS + MAXPRN_GLONASS + MAXPRN_GALILEO + _number;
     23  }
     24  else if (_system == 'S') {
     25          return MAXPRN_GPS + MAXPRN_GLONASS + MAXPRN_GALILEO + MAXPRN_QZSS + _number;
     26  }
     27  else if (_system == 'C') {
     28          return MAXPRN_GPS + MAXPRN_GLONASS + MAXPRN_GALILEO + MAXPRN_QZSS + MAXPRN_SBAS + _number;
    2029  }
    2130  return 0;
  • trunk/BNC/src/t_prn.h

    r6014 r6321  
    88  static const unsigned MAXPRN_GPS     = 32;
    99  static const unsigned MAXPRN_GLONASS = 26;
    10   static const unsigned MAXPRN_GALILEO = 30;
    11   static const unsigned MAXPRN         = MAXPRN_GPS + MAXPRN_GLONASS + MAXPRN_GALILEO;
     10  static const unsigned MAXPRN_GALILEO = 36;
     11  static const unsigned MAXPRN_QZSS    = 10;
     12  static const unsigned MAXPRN_SBAS    = 38;
     13  static const unsigned MAXPRN_BDS     = 37;
     14  static const unsigned MAXPRN         = MAXPRN_GPS  + MAXPRN_GLONASS + MAXPRN_GALILEO
     15                                               + MAXPRN_QZSS + MAXPRN_SBAS    + MAXPRN_BDS;
    1216
    1317  t_prn() : _system('G'), _number(0) {}
Note: See TracChangeset for help on using the changeset viewer.