FACT++  1.0
void FactGui::SetFtuLed ( int  idx,
int  counter,
const Time t 
)
inlineprivate

Definition at line 1884 of file FactGui.h.

References counter.

1885  {
1886  if (counter==0 || counter>3)
1887  counter = 3;
1888 
1889  if (counter<0)
1890  counter = 0;
1891 
1892  const LedColor_t col[4] = { kLedGray, kLedGreen, kLedOrange, kLedRed };
1893 
1894  SetLedColor(fFtuLED[idx], col[counter], t);
1895 
1896  fFtuStatus[idx] = counter;
1897  }
void SetLedColor(QPushButton *button, LedColor_t col, const Time &t)
Definition: FactGui.h:156
LedColor_t
Definition: FactGui.h:139
valarray< int8_t > fFtuStatus
Definition: FactGui.h:71
int counter
Definition: db_dim_client.c:19
QPushButton * fFtuLED[40]
Definition: MainWindow.h:23