Beispiel #1
0
        private void ColorComponent_ColorChanged(object sender, EventArgs <SKColor> e)
        {
            // If color components are changing but those color components aren't from this particular color time point - because this one is not selected.
            if (!_slider.IsSelected)
            {
                return;
            }

            var c = e.Data;

            _photonLedControllerCommunicator.WriteColorTimePointColor(_id, new ColorTimePointColor(c.Red, c.Green, c.Blue));
            _photonLedControllerCommunicator.ReadColorTimePoints();
        }