Changeset 1143 in ntrip
- Timestamp:
- Oct 2, 2008, 4:19:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncgetthread.cpp
r1142 r1143 60 60 using namespace std; 61 61 62 // Constructor 62 // Constructor 1 63 63 //////////////////////////////////////////////////////////////////////////// 64 64 bncGetThread::bncGetThread(const QByteArray& rawInpFileName, … … 66 66 67 67 _format = format; 68 _staID = "SASS";68 _staID = rawInpFileName.left(4); 69 69 70 70 initialize(); … … 76 76 } 77 77 78 // Constructor 2 79 //////////////////////////////////////////////////////////////////////////// 78 80 bncGetThread::bncGetThread(const QUrl& mountPoint, 79 81 const QByteArray& format, … … 86 88 _mountPoint = mountPoint; 87 89 _staID = mountPoint.path().mid(1).toAscii(); 88 _staID_orig = _staID;89 90 _format = format; 90 91 _latitude = latitude; … … 96 97 } 97 98 99 // Initialization 100 //////////////////////////////////////////////////////////////////////////// 98 101 void bncGetThread::initialize() { 99 102 … … 104 107 _rawInpFile = 0; 105 108 _rawOutFile = 0; 109 _staID_orig = _staID; 106 110 107 111 // Check name conflict
Note:
See TracChangeset
for help on using the changeset viewer.