Changeset 11817


Ignore:
Timestamp:
08/06/11 16:37:46 (13 years ago)
Author:
tbretz
Message:
Added command to load a DRS calibration.
File:
1 edited

Legend:

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

    r11676 r11817  
    136136        {
    137137            if (err==ba::error::eof)
    138                 Warn("Connection closed by remote host (FAD).");
     138                Warn("Connection to "+URL()+" closed by remote host (FAD).");
    139139
    140140            // 107: Transport endpoint is not connected (bs::error_code(107, bs::system_category))
     
    874874        }
    875875
     876        return T::GetCurrentState();
     877    }
     878
     879    int LoadDrsCalibration(const EventImp &evt)
     880    {
     881        EventBuilderWrapper::LoadDrsCalibration(evt.GetText());
    876882        return T::GetCurrentState();
    877883    }
     
    17831789            ("");
    17841790
     1791        T::AddEvent("LOAD_DRS_CALIBRATION", "C")
     1792            (bind(&StateMachineFAD::LoadDrsCalibration, this, placeholders::_1))
     1793            ("");
     1794
    17851795
    17861796        T::AddEvent("ADD_ADDRESS", "C", FAD::kOffline)
Note: See TracChangeset for help on using the changeset viewer.