LightChannelEventArgs.cs 540 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace TeamAAS_VP.Core.Lights
  7. {
  8. public class LightChannelEventArgs : EventArgs
  9. {
  10. public ILightChannel Channel { get; }
  11. public bool IsOn { get; }
  12. public int Brightness { get; }
  13. public LightChannelEventArgs(ILightChannel channel, bool isOn, int brightness)
  14. {
  15. Channel = channel;
  16. IsOn = isOn;
  17. Brightness = brightness;
  18. }
  19. }
  20. }