Animatroller.Framework.PhysicalDevice.AnalogInput.AnalogInput C# (CSharp) Method

AnalogInput() public method

public AnalogInput ( ) : System
return System
        public AnalogInput()
        {
            Executor.Current.Register(this);

            this.Trigger = new Action<double>(x =>
                {
                    var handler = ValueChanged;
                    if (handler != null)
                        handler(this, new LogicalDevice.Event.BrightnessChangedEventArgs(x));
                });
        }