2 using System.Collections.Generic;
15 private int _LedWizOutputNumber;
23 public int LedWizOutputNumber
27 return _LedWizOutputNumber;
31 if (_LedWizOutputNumber != value)
33 if (!value.IsBetween(1, 32))
35 throw new Exception(
"LedWiz output numbers must be in the range of 1-32. The supplied number {0} is out of range.".Build(value));
37 if (Name.IsNullOrWhiteSpace() || Name ==
"LedWizOutput {0:00}".Build(_LedWizOutputNumber))
39 Name =
"LedWizOutput {0:00}".Build(value);
41 _LedWizOutputNumber = value;
62 this.LedWizOutputNumber = LedWizOutputNumber;
64 this.Name =
string.Format(
"LedWizOutput {0:00}", LedWizOutputNumber);
Common interface for outputs of any output controller. The Output class implements this interface and...
Output class for LedWiz output controllers.
LedWizOutput(int LedWizOutputNumber)
LedWizOutput instance with the specified LedWizOutputNumber
Basic IOutput implementation.