Changeset 18359 for trunk


Ignore:
Timestamp:
11/07/15 17:57:58 (9 years ago)
Author:
tbretz
Message:
Updated drive states and corresponding description.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/smartfact.cc

    r18193 r18359  
    965965            return StateMachineImp::kSM_KeepState;
    966966
    967         if (last<Drive::State::kArmed && state>=Drive::State::kArmed)
    968             AddMcpConfigurationHist(d, "Drive connected");
    969 
    970         if (last>=Drive::State::kArmed && state<Drive::State::kArmed)
    971             AddMcpConfigurationHist(d, "Drive disconnected");
     967        if (last<Drive::State::kInitialized && state>=Drive::State::kInitialized)
     968            AddMcpConfigurationHist(d, "Drive ready");
     969
     970        if (last>=Drive::State::kInitialized && state<Drive::State::kInitialized)
     971            AddMcpConfigurationHist(d, "Drive not ready");
    972972
    973973        return StateMachineImp::kSM_KeepState;
Note: See TracChangeset for help on using the changeset viewer.