Changeset 14597 for trunk


Ignore:
Timestamp:
11/09/12 20:11:33 (12 years ago)
Author:
tbretz
Message:
Addd colors for ftmctrl error stats and for drivectrl Locked state.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/FactGui.h

    r14436 r14597  
    26212621                s.index==FTM::State::kIdle) // Dim connection / FTM connected
    26222622                enable = true;
     2623            if (s.index>=FTM::State::kConfigError1) // Dim connection / FTM connected
     2624                SetLedColor(fStatusFTMLed, kLedRed, time);
    26232625
    26242626            fFtmStartRun->setEnabled(!configuring && enable);
     
    27172719            if (s.index==Drive::State::kDisconnected) // Dim connection / No connection to cosy
    27182720                SetLedColor(fStatusDriveLed, kLedRed, time);
    2719             if (s.index==Drive::State::kConnected || s.index==Drive::State::kNotReady)  // Not Ready
     2721            if (s.index==Drive::State::kConnected || s.index==Drive::State::kNotReady || s.index==Drive::State::kLocked)  // Not Ready
    27202722                SetLedColor(fStatusDriveLed, kLedGreenBar, time);
    27212723            if (s.index==Drive::State::kConnected || s.index==Drive::State::kArmed)  // Connected / Armed
Note: See TracChangeset for help on using the changeset viewer.