Changeset 17320 for trunk/FACT++/src


Ignore:
Timestamp:
11/14/13 16:45:37 (11 years ago)
Author:
tbretz
Message:
Implemented missing Overcurrent state.
File:
1 edited

Legend:

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

    r16837 r17320  
    569569                     "Arduino reports both lids to have a power problem (might also be that both are at the end switches)");
    570570
     571        T::AddStateName(Lid::State::kOvercurrent, "Overcurrent",
     572                     "Arduino reports both lids to have a overcurrent (might also be that both are at the end switches)");
     573
    571574        T::AddStateName(Lid::State::kClosed, "Closed",
    572575                     "Both lids are closed");
     
    589592            ("Open the lids");
    590593
    591         T::AddEvent("CLOSE", Lid::State::kUnidentified, Lid::State::kInconsistent, Lid::State::kUnknown, Lid::State::kPowerProblem, Lid::State::kOpen)
     594        T::AddEvent("CLOSE")(Lid::State::kUnidentified)(Lid::State::kInconsistent)(Lid::State::kUnknown)(Lid::State::kOvercurrent)(Lid::State::kPowerProblem)(Lid::State::kOpen)
    592595            (bind(&StateMachineLidControl::Close, this))
    593596            ("Close the lids");
Note: See TracChangeset for help on using the changeset viewer.