Changeset 16807
- Timestamp:
- 06/11/13 18:20:30 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/datalogger.cc
r16282 r16807 1135 1135 { 1136 1136 fAutoStarted = true; 1137 SetCurrentState(Start() );1137 SetCurrentState(Start(), "infoCallback"); 1138 1138 // SetCurrentState(NightlyToWaitRun()); 1139 1139 } … … 1227 1227 { 1228 1228 Error("Newly provided run number has already been used (or is still in use). Going to error state"); 1229 SetCurrentState(kSM_BadFolder );1229 SetCurrentState(kSM_BadFolder, "AddNewRunNumber"); 1230 1230 return; 1231 1231 } … … 1252 1252 1253 1253 if (newRun > 0 && GetCurrentState() == kSM_WaitingRun) 1254 SetCurrentState(kSM_Logging );1254 SetCurrentState(kSM_Logging, "AddNewRunNumber"); 1255 1255 if (newRun < 0 && GetCurrentState() == kSM_Logging) 1256 SetCurrentState(kSM_WaitingRun );1256 SetCurrentState(kSM_WaitingRun, "AddNewRunNumber"); 1257 1257 } 1258 1258 // -------------------------------------------------------------------------- … … 1392 1392 { 1393 1393 GoToReady(); 1394 SetCurrentState(kSM_BadFolder );1394 SetCurrentState(kSM_BadFolder, "Report"); 1395 1395 return; 1396 1396 } … … 1401 1401 { 1402 1402 GoToReady(); 1403 SetCurrentState(kSM_BadFolder );1403 SetCurrentState(kSM_BadFolder, "Report"); 1404 1404 return; 1405 1405 } … … 1934 1934 if ((GetCurrentState() != kSM_RunWriteError) && 1935 1935 (GetCurrentState() != kSM_DailyWriteError)) 1936 SetCurrentState(kSM_RunWriteError );1936 SetCurrentState(kSM_RunWriteError, "GoToRunWriteErrorState"); 1937 1937 } 1938 1938 // -------------------------------------------------------------------------- … … 1943 1943 { 1944 1944 if (GetCurrentState() != kSM_DailyWriteError) 1945 SetCurrentState(kSM_DailyWriteError );1945 SetCurrentState(kSM_DailyWriteError, "GoToNightlyWriteErrorState"); 1946 1946 } 1947 1947
Note:
See TracChangeset
for help on using the changeset viewer.