Changeset 3652 in ntrip for trunk


Ignore:
Timestamp:
Jan 24, 2012, 1:08:17 PM (13 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/rnxobsfile.cpp

    r3651 r3652  
    6666      break;
    6767    }
    68     QTextStream in(value.toAscii(), QIODevice::ReadOnly);
    69     if (key == "RINEX VERSION / TYPE") {
     68    else if (key == "RINEX VERSION / TYPE") {
     69      QTextStream in(value.toAscii(), QIODevice::ReadOnly);
    7070      in >> _version;
     71    }
     72    else if (key == "MARKER NAME") {
     73      _markerName = value;
     74    }
     75    else if (key == "ANT # / TYPE") {
     76      _antennaName = value.mid(20);
    7177    }
    7278  }
    7379
    7480  cout << "RINEX Version = " << _version << endl;
     81  cout << "Antenna Name >" << _antennaName.toAscii().data() << "<\n";
     82  cout << "Marker Name >" << _markerName.toAscii().data() << "<\n";
    7583
    7684  return success;
  • trunk/BNC/rnxobsfile.h

    r3651 r3652  
    4040    t_irc read(QTextStream* stream);
    4141   private:
    42     float _version;
     42    float   _version;
     43    QString _antennaName;
     44    QString _markerName;
    4345  };
    4446 
Note: See TracChangeset for help on using the changeset viewer.