Changeset 9598 in ntrip for trunk/BNC/src/bncantex.cpp


Ignore:
Timestamp:
Jan 12, 2022, 2:14:56 PM (6 months ago)
Author:
stuerze
Message:

minor changes

File:
1 edited

Legend:

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

    r9481 r9598  
    5555////////////////////////////////////////////////////////////////////////////
    5656bncAntex::bncAntex(const char* fileName) {
    57   readFile(QString(fileName));
     57  readFile(QString(fileName));//print();
    5858}
    5959
     
    8181      itFrq.next();
    8282      const t_frqMap* frqMap = itFrq.value();
    83       cout << "    " << frqMap->neu[0] << " "
    84                      << frqMap->neu[1] << " "
    85                      << frqMap->neu[2] << endl;
    86       cout << "    " << frqMap->pattern.t();
     83      cout << t_frequency::toString(itFrq.key()) << ":\n"
     84           << frqMap->neu[0] << " "
     85           << frqMap->neu[1] << " "
     86           << frqMap->neu[2] << endl;
     87      cout << frqMap->pattern.t();
    8788    }
    8889    cout << endl;
     
    111112
    112113  QString u, n,e;
    113   u.sprintf("%+6.4f" ,frqMap->neu[2]); if (u.mid(1,1) == "0") {u.remove(1,1);}
    114   n.sprintf("%+6.4f" ,frqMap->neu[0]); if (n.mid(1,1) == "0") {n.remove(1,1);}
    115   e.sprintf("%+6.4f" ,frqMap->neu[1]); if (e.mid(1,1) == "0") {e.remove(1,1);}
     114  u.asprintf("%+6.4f" ,frqMap->neu[2]); if (u.mid(1,1) == "0") {u.remove(1,1);}
     115  n.asprintf("%+6.4f" ,frqMap->neu[0]); if (n.mid(1,1) == "0") {n.remove(1,1);}
     116  e.asprintf("%+6.4f" ,frqMap->neu[1]); if (e.mid(1,1) == "0") {e.remove(1,1);}
    116117
    117118  return QString(" %1 %2 %3").arg(u).arg(n).arg(e);
Note: See TracChangeset for help on using the changeset viewer.