protected void OnLEDStateChange(JH_LEDs led, int state) { if (LEDStateChange != null) { LEDStateChange(this, new LEDStateChangeEventArgs(led, state)); } }
public LEDStateChangeEventArgs(JH_LEDs led, int state) { LED = led; State = state; }