Animatroller.Simulator.TestLight.Output C# (CSharp) Method

Output() protected method

protected Output ( ) : void
return void
        protected override void Output()
        {
            this.control.Color = GetColorFromColorBrightness();
            string ownedStatus = string.Empty;

            foreach (ILogicalDevice device in this.logicalDevices)
            {
                if (device is IOwnedDevice && ((IOwnedDevice)device).IsOwned)
                {
                    ownedStatus = "*";
                    break;
                }
            }

            this.control.Text = string.Format("{1}{0:0%}", GetMonochromeBrightnessFromColorBrightness(), ownedStatus);

            this.control.ColorGel = this.colorBrightness.Color;
            this.control.Intensity = this.colorBrightness.Brightness;

            this.control.Pan = this.pan;
            this.control.Tilt = this.tilt;
        }