Changeset 84 in tmcsimulator for branches/FEPSimulator/NetworkReader.cpp


Ignore:
Timestamp:
10/06/2017 11:44:52 PM (9 years ago)
Author:
jtorres
Message:

FEPSimulator.cpp: FEPSimulator socket server is now receiving full messages, no more partial messages over the TCP socket. General housekeeping on FEPSim.cpp, NetworkReader?.cpp, ATMSDriver.java, NetworkLoader?.java.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/FEPSimulator/NetworkReader.cpp

    r82 r84  
    1515        TiXmlElement *subLoopElem = loopElem->FirstChildElement(); 
    1616        loop->loopID = atoi(subLoopElem->GetText()); 
    17         cout << "LOOPID: " << subLoopElem->GetText() << endl; 
    1817        subLoopElem = subLoopElem->NextSiblingElement(); 
    1918        loop->loop_loc = (char *) subLoopElem->GetText(); 
     
    4039    TiXmlElement *stationSubElem = stationElem->FirstChildElement(); 
    4140    station->lds = atol(stationSubElem->GetText()); 
     41    cout << "Station: " << station->lds << endl; 
    4242    line->lds.push_back(station->lds); 
    4343    line->ldsIndex.push_back(ldsIndex++); 
     
    6363        station->loops.push_back(loop); 
    6464    } 
    65  
     65    cout << "Number of Loops: " << station->loops.size() << endl; 
    6666    // Data pack ATMS message 
    6767    station->length = station->loops.size() * 2 + CONTROL_DATA_LEN; 
Note: See TracChangeset for help on using the changeset viewer.