Changeset 205 in tmcsimulator for branches/FEPSimulator/FEPSim.cpp
- Timestamp:
- 11/01/2017 03:53:59 AM (9 years ago)
- File:
-
- 1 edited
-
branches/FEPSimulator/FEPSim.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/FEPSimulator/FEPSim.cpp
r202 r205 26 26 vector<STATION*> ldsMap = highwaysParser.stations; 27 27 28 28 29 // Send one reply for every FEPLine 29 30 for (int i = 0; i < lines.size(); i++) { … … 74 75 fsa.msg.message[3 + aa] = 0xff; 75 76 76 for(int l = 0; l < fsa.msg.message_len + 2; l++)77 /*for(int l = 0; l < fsa.msg.message_len + 2; l++) 77 78 { 78 79 printf("%02X", (unsigned char) fsa.msg.message[l]); 79 80 } 80 printf("\n"); 81 printf("\n");*/ 81 82 82 83 // info … … 89 90 fepReply.answers.fep_answer_list_u.shortp.answers[0] = fsa; 90 91 // send out data 91 printf("Transferring line=%d, lds_drop_no=%d...\n", lines.at(i)->lineNum, (int)ldsMap.at(index)->drop);92 //printf("Transferring line=%d, lds_drop_no=%d...\n", lines.at(i)->lineNum, (int)ldsMap.at(index)->drop); 92 93 // Make RPC Call and handle response 93 94 // printf("Handling ATMS response...\n"); … … 178 179 // zero out buffer 179 180 bzero(buffer, BUFF_SIZE); 180 181 181 182 // read XML from socket 182 183 int totBytes = 0; … … 184 185 totBytes += n; 185 186 } 187 HighwaysParser highwaysParser = HighwaysParser(buffer); 188 186 189 187 190 if (n < 0) {
Note: See TracChangeset
for help on using the changeset viewer.
