Changeset 3595 in ntrip for trunk/BNC/bncgetthread.cpp


Ignore:
Timestamp:
Jan 21, 2012, 1:56:25 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncgetthread.cpp

    r3577 r3595  
    725725        emit(newMessage(_staID + ": " + antT + " (ITRF) Y " + ant2 + "m", true));
    726726        emit(newMessage(_staID + ": " + antT + " (ITRF) Z " + ant3 + "m", true));
     727        double hh = 0.0;
    727728        if (decoder()->_antList[ii].height_f) {
    728           QByteArray ant4 = QString("%1 ").arg(decoder()->_antList[ii].height,0,'f',4).toAscii();
     729          hh = decoder()->_antList[ii].height;
     730          QByteArray ant4 = QString("%1 ").arg(hh,0,'f',4).toAscii();
    729731          emit(newMessage(_staID + ": Antenna height above marker "  + ant4 + "m", true));
    730732        }
    731733        emit(newAntCrd(_staID, decoder()->_antList[ii].xx,
    732734                       decoder()->_antList[ii].yy, decoder()->_antList[ii].zz,
    733                        antT));
     735                       hh, antT));
    734736      }
    735737    }
     
    745747          antT = "APC";
    746748        }
     749        double hh = 0.0;
     750        if (decoder()->_antList[ii].height_f) {
     751          hh = decoder()->_antList[ii].height;
     752        }
    747753        emit(newAntCrd(_staID, decoder()->_antList[ii].xx,
    748754                       decoder()->_antList[ii].yy, decoder()->_antList[ii].zz,
    749                        antT));
     755                       hh, antT));
    750756  }
    751757
Note: See TracChangeset for help on using the changeset viewer.