Changeset 14353
- Timestamp:
- 08/13/12 09:54:18 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/smartfact.cc
r14329 r14353 440 440 int32_t fControlScriptDepth; 441 441 442 uint32_t fMcpConfigurationState; // For consistency442 int32_t fMcpConfigurationState; // For consistency 443 443 int64_t fMcpConfigurationMaxTime; 444 444 int64_t fMcpConfigurationMaxEvents; … … 705 705 return GetCurrentState(); 706 706 707 cout << d.GetQoS() << ": " << d.GetText() << endl; 708 707 709 if (d.GetQoS()==90) 708 710 HandleControlMessageImp(d); … … 716 718 return; 717 719 718 if (d.GetQoS()==-2 && fDimControl.scriptdepth==0) 720 // [0] DimControl::kReady (Idle) 721 // [1] DimControl::kLoad 722 // [2] DimControl::kStarted 723 if (d.GetQoS()==1 && fDimControl.scriptdepth==0) 719 724 fControlMessageHist.clear(); 720 725 … … 722 727 // if the dimctrl is still in state -3 723 728 if (fDimControl.last.second!=DimState::kOffline && 724 d.GetQoS()== -3&& fDimControl.scriptdepth==0)729 d.GetQoS()==0 && fDimControl.scriptdepth==0) 725 730 SetAudio("ding"); 726 731 727 if (d.GetQoS()>= 0)732 if (d.GetQoS()>=2) 728 733 return; 729 734 … … 2313 2318 2314 2319 out.str(""); 2315 out << Header(now) << '\t' << (fErrorList.size()>0) << '\t' << (fDimControl.state()> -3) << '\n';2320 out << Header(now) << '\t' << (fErrorList.size()>0) << '\t' << (fDimControl.state()>0) << '\n'; 2316 2321 out << setprecision(3); 2317 2322 out << HTML::kWhite << '\t'; … … 2326 2331 2327 2332 out.str(""); 2328 out << Header(now) << '\t' << (fErrorList.size()>0) << '\t' << (fDimControl.state()> -3) << '\n';2333 out << Header(now) << '\t' << (fErrorList.size()>0) << '\t' << (fDimControl.state()>0) << '\n'; 2329 2334 out << setprecision(3); 2330 2335
Note:
See TracChangeset
for help on using the changeset viewer.