Changeset 2884 in ntrip


Ignore:
Timestamp:
Jan 26, 2011, 11:50:25 AM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncantex.cpp

    r2883 r2884  
    103103      t_frqMap* newFrqMap = 0;
    104104      if      (line.indexOf("TYPE / SERIAL NO") == 60) {
    105 
     105        if (line.indexOf("BLACK I") == 0 ||
     106            line.indexOf("GLONASS") == 0) {
     107          newAntMap->antName = line.mid(20,3);
     108        }
     109        else {
     110          newAntMap->antName = line.mid(0,20);
     111        }
    106112      }
    107113      else if (line.indexOf("ZEN1 / ZEN2 / DZEN") == 60) {
    108 
     114        QTextStream inLine(&line, QIODevice::ReadOnly);
     115        inLine >> newAntMap->zen1 >> newAntMap->zen2 >> newAntMap->dZen; 
    109116      }
    110117
     
    140147
    141148      else if (newFrqMap) {
    142         if (line.indexOf("NOAZI") == 3) {
     149        if      (line.indexOf("NORTH / EAST / UP") == 3) {
     150
     151        }
     152        else if (line.indexOf("NOAZI") == 3) {
    143153
    144154        }
  • trunk/BNC/bncantex.h

    r2882 r2884  
    4141  class t_frqMap {
    4242   public:
    43     double       zen1;
    44     double       zen2;
    45     double       dZen;
     43    double       neu[3];
    4644    ColumnVector pattern;
    4745  };
     
    5856    }
    5957    QString   antName;
    60     double    phaseCenterL1[3];
    61     double    phaseCenterL2[3];
     58    double       zen1;
     59    double       zen2;
     60    double       dZen;
    6261    t_frqMap* frqMapL1;
    6362    t_frqMap* frqMapL2;
Note: See TracChangeset for help on using the changeset viewer.