Пример #1
0
 protected void OnLEDStateChange(JH_LEDs led, int state)
 {
     if (LEDStateChange != null)
     {
         LEDStateChange(this, new LEDStateChangeEventArgs(led, state));
     }
 }
Пример #2
0
 public LEDStateChangeEventArgs(JH_LEDs led, int state)
 {
     LED   = led;
     State = state;
 }