Changeset 84 in tmcsimulator for branches/FEPSimulator/NetworkReader.cpp
- Timestamp:
- 10/06/2017 11:44:52 PM (9 years ago)
- File:
-
- 1 edited
-
branches/FEPSimulator/NetworkReader.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/FEPSimulator/NetworkReader.cpp
r82 r84 15 15 TiXmlElement *subLoopElem = loopElem->FirstChildElement(); 16 16 loop->loopID = atoi(subLoopElem->GetText()); 17 cout << "LOOPID: " << subLoopElem->GetText() << endl;18 17 subLoopElem = subLoopElem->NextSiblingElement(); 19 18 loop->loop_loc = (char *) subLoopElem->GetText(); … … 40 39 TiXmlElement *stationSubElem = stationElem->FirstChildElement(); 41 40 station->lds = atol(stationSubElem->GetText()); 41 cout << "Station: " << station->lds << endl; 42 42 line->lds.push_back(station->lds); 43 43 line->ldsIndex.push_back(ldsIndex++); … … 63 63 station->loops.push_back(loop); 64 64 } 65 65 cout << "Number of Loops: " << station->loops.size() << endl; 66 66 // Data pack ATMS message 67 67 station->length = station->loops.size() * 2 + CONTROL_DATA_LEN;
Note: See TracChangeset
for help on using the changeset viewer.
