Changeset 11197
- Timestamp:
- 06/27/11 15:03:32 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/fadctrl.cc
r11194 r11197 191 191 UpdateEventHeader(); 192 192 193 EventBuilderWrapper::This->debugHead(fSlot* 40, fEventHeader);193 EventBuilderWrapper::This->debugHead(fSlot*7, fEventHeader); 194 194 195 195 fBuffer.resize(fEventHeader.fPackageLength-sizeof(FAD::EventHeader)/2); … … 1052 1052 { 1053 1053 case 0: str << "1-7:not connected)"; break; 1054 case 7: str << "1-7:connected)"; break;1055 default: str << "1-7:connecting [" << (int) fStatus2[idx]<< "])"; break;1054 case 8: str << "1-7:connected)"; break; 1055 default: str << "1-7:connecting [" << (int)(fStatus2[idx]-1) << "])"; break; 1056 1056 } 1057 1057 … … 1059 1059 str << " [cmd_blocked]"; 1060 1060 1061 if (fStatus2[idx]== 7&& IsIgnored(idx))1061 if (fStatus2[idx]==8 && IsIgnored(idx)) 1062 1062 str << " [data_ignored]"; 1063 1063 … … 1135 1135 return T::GetCurrentState(); 1136 1136 1137 const bool enable = it->second->IsDisconnected() && fStatus2[slot]==0;1137 const bool enable = it->second->IsDisconnected(); 1138 1138 1139 1139 EnableConnection(it->second, enable); … … 1234 1234 1235 1235 if (IsConnecting(idx)) 1236 { 1236 1237 nconnecting2++; 1238 stat2[idx]++; 1239 } 1237 1240 1238 1241 if (IsConnected(idx)) 1242 { 1243 stat2[idx]++; 1239 1244 nconnected2++; 1245 } 1240 1246 } 1241 1247 … … 1300 1306 1301 1307 for (int i=0; i<40; i++) 1302 stat[i] = stat1[i] +stat2[i];1308 stat[i] = stat1[i]|(stat2[i]<<3); 1303 1309 1304 1310 stat[40] = thread;
Note:
See TracChangeset
for help on using the changeset viewer.