2 using System.Collections.Generic;
6 using System.Xml.Serialization;
17 private object ValueChangeLocker =
new object();
18 private byte _Value = 0;
27 get {
return _Value; }
31 lock (ValueChangeLocker)
36 if (OldValue!=value) OnValueChanged();
48 public int Number {
get; set; }
51 #region "ValueChanged Event"
52 protected void OnValueChanged()
57 if (ValueChanged != null)
73 public delegate
void ValueChangedEventHandler(
object sender,
OutputEventArgs e);
Abstract base class for named items. Implements the name property and the necessary events...
Common interface for outputs of any output controller. The Output class implements this interface and...
EventArgs for events of IOutput objects.
ValueChangedEventHandler ValueChanged
Event fires if the Value property of the Ouput is changed
The namespace DirectOutput.General contains classes for general use.
Basic IOutput implementation.