Changeset 11691 for trunk


Ignore:
Timestamp:
07/28/11 15:04:14 (13 years ago)
Author:
tbretz
Message:
Added Light Pulser commands.
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/MainWindow.cc

    r11636 r11691  
    520520}
    521521
     522void MainWindow::on_fFadIntIntensity_valueChanged(int val)
     523{
     524    Dim::SendCommand("SET_INTENSITY_LPINT", uint16_t(val));
     525}
     526
     527void MainWindow::on_fFadExtIntensity_valueChanged(int val)
     528{
     529    Dim::SendCommand("SET_INTENSITY_LPEXT", uint16_t(val));
     530}
     531
     532void MainWindow::on_fFadLpIntGroup1_stateChanged(int b)
     533{
     534    Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPINT", uint8_t(b));
     535}
     536
     537void MainWindow::on_fFadLpExtGroup1_stateChanged(int b)
     538{
     539    Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP1_LPEXT", uint8_t(b));
     540}
     541
     542void MainWindow::on_fFadLpIntGroup2_stateChanged(int b)
     543{
     544    Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPINT", uint8_t(b));
     545}
     546
     547void MainWindow::on_fFadLpExtGroup2_stateChanged(int b)
     548{
     549    Dim::SendCommand("FTM_CONTROL/ENABLE_GROUP2_LPEXT", uint8_t(b));
     550}
     551
    522552void MainWindow::on_fChatSend_clicked()
    523553{
  • trunk/FACT++/gui/MainWindow.h

    r11685 r11691  
    141141    void on_fClockCondFreq_activated(int);
    142142
     143    void on_fFadIntIntensity_valueChanged(int);
     144    void on_fFadExtIntensity_valueChanged(int);
     145    void on_fFadLpIntGroup1_stateChanged(int);
     146    void on_fFadLpExtGroup1_stateChanged(int);
     147    void on_fFadLpIntGroup2_stateChanged(int);
     148    void on_fFadLpExtGroup2_stateChanged(int);
     149
    143150    // Tab: FTUs
    144151    void slot_fFtuLED_clicked();
Note: See TracChangeset for help on using the changeset viewer.