Changeset 9435 for trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc
- Timestamp:
- 04/29/09 13:05:42 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Cosy/tcpip/MCeCoCom.cc
r9432 r9435 42 42 bool MCeCoCom::InterpreteReport(TString &str) 43 43 { 44 if (!str.EndsWith("OVER")) 45 { 46 cout << "Communication Problem: Termination (OVER) not found." << endl; 47 fComStat = kComProblem; 48 return false; 49 } 50 44 51 int y, m, d, h, min, s, ms, len; 45 52 … … 74 81 return false; 75 82 } 83 /* 76 84 str.Remove(0, len); 77 85 … … 82 90 return false; 83 91 } 92 */ 84 93 85 94 fHumidity = hum; … … 142 151 143 152 // Send report to CC 144 const bool rc = Send(msg , strlen(msg));153 const bool rc = Send(msg.Data(), msg.Length()); 145 154 fComStat = rc ? kNoCmdReceived : kComProblem; 146 155
Note:
See TracChangeset
for help on using the changeset viewer.