Changeset 12505
- Timestamp:
- 11/13/11 15:42:36 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/ratecontrol.cc
r12488 r12505 50 50 pair<Time, int> fStatusDim; 51 51 pair<Time, int> fStatusFTM; 52 pair<Time, int> fStatusRS; 52 53 53 54 DimStampedInfo fDim; … … 55 56 DimStampedInfo fRates; 56 57 DimStampedInfo fStatic; 58 DimStampedInfo fRateScan; 57 59 58 60 // DimDescribedService fDimData; … … 348 350 return; 349 351 } 352 if (curr==&fRateScan) 353 { 354 fStatusRS = GetNewState(fRateScan); 355 fStatusRS.second = curr->getSize()==4 ? curr->getInt() : 0; 356 return; 357 } 350 358 351 359 static vector<uint8_t> counter(160); … … 371 379 372 380 if (!fTriggerOn && !fEnabled) 381 return; 382 383 if (fStatusRS.second==5) 373 384 return; 374 385 … … 515 526 // At least one subsystem is not connected 516 527 // if (fStatusFTM.second>=FTM::kConnected) 517 return fTriggerOn && fEnabled ? kStateInProgress : kStateConnected;528 return fTriggerOn && fEnabled && fStatusRS.second!=5 ? kStateInProgress : kStateConnected; 518 529 } 519 530
Note:
See TracChangeset
for help on using the changeset viewer.