Changeset 3281 in ntrip


Ignore:
Timestamp:
May 1, 2011, 4:58:23 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3169 r3281  
    10201020  int irc = 0;
    10211021
    1022   // Check Glonass
    1023   // -------------
     1022  // Check GPS Code
     1023  // --------------
     1024  if (irc == 0) {
     1025    findMaxRes(vv,satDataGPS, prnCode, maxResCode, prnPhase, maxResPhase);
     1026    if (maxResCode > MAXRES_CODE_GPS) {
     1027      satDataGPS.remove(prnCode);
     1028      prnRemoved = prnCode;
     1029      maxRes     = maxResCode;
     1030      irc        = 1;
     1031    }
     1032  }
     1033
     1034  // Check Galileo Code
     1035  // ------------------
     1036  if (irc == 0) {
     1037    findMaxRes(vv,satDataGal, prnCode, maxResCode, prnPhase, maxResPhase);
     1038    if (maxResCode > MAXRES_CODE_GAL) {
     1039      satDataGal.remove(prnCode);
     1040      prnRemoved = prnCode;
     1041      maxRes     = maxResCode;
     1042      irc        = 1;
     1043    }
     1044  }
     1045
     1046  // Check Glonass Phase
     1047  // -------------------
    10241048  if (irc == 0) {
    10251049    findMaxRes(vv,satDataGlo, prnCode, maxResCode, prnPhase, maxResPhase);
     
    10321056  }
    10331057
    1034   // Check Galileo
    1035   // -------------
     1058  // Check Galileo Phase
     1059  // -------------------
    10361060  if (irc == 0) {
    10371061    findMaxRes(vv,satDataGal, prnCode, maxResCode, prnPhase, maxResPhase);
     
    10421066      irc        = 1;
    10431067    }
    1044     else if (maxResCode > MAXRES_CODE_GAL) {
    1045       satDataGal.remove(prnCode);
    1046       prnRemoved = prnCode;
    1047       maxRes     = maxResCode;
    1048       irc        = 1;
    1049     }
    1050   }
    1051 
    1052   // Check GPS
    1053   // ---------
     1068  }
     1069
     1070  // Check GPS Phase
     1071  // ---------------
    10541072  if (irc == 0) {
    10551073    findMaxRes(vv,satDataGPS, prnCode, maxResCode, prnPhase, maxResPhase);
     
    10581076      prnRemoved = prnPhase;
    10591077      maxRes     = maxResPhase;
    1060       irc        = 1;
    1061     }
    1062     else if (maxResCode > MAXRES_CODE_GPS) {
    1063       satDataGPS.remove(prnCode);
    1064       prnRemoved = prnCode;
    1065       maxRes     = maxResCode;
    10661078      irc        = 1;
    10671079    }
Note: See TracChangeset for help on using the changeset viewer.