Changeset 10842


Ignore:
Timestamp:
05/26/11 17:10:42 (14 years ago)
Author:
tbretz
Message:
Some little fixed to the offline mode
File:
1 edited

Legend:

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

    r10835 r10842  
    812812            switch (fStatus2[i->first])
    813813            {
    814             case 0: str << "1-7:disconnected)"; break;
     814            case 0: str << "1-7:not connected)"; break;
    815815            case 1: str << "1-7:connecting [" << GetNumConnected(i->first) << "])";   break;
    816816            case 2: str << "1-7:connected)";    break;
     
    10021002
    10031003        if (nconnected1==0 && nconnected2==0)
    1004             return IsThreadRunning() ? FAD::kOffline : FAD::kDisconnected;
     1004            return IsThreadRunning() ? FAD::kDisconnected : FAD::kOffline;
    10051005
    10061006        // FIXME: Evaluate event builder status
     
    10461046
    10471047        // State names
    1048         T::AddStateName(FAD::kDisconnected, "Offline",
     1048        T::AddStateName(FAD::kOffline, "Offline",
    10491049                        "All enabled FAD boards are disconnected and the event-builer thread is not running.");
    10501050
Note: See TracChangeset for help on using the changeset viewer.