123456789101112131415161718192021222324252627282930313233343536 |
- using System.Windows;
- namespace OpenSEMI.ClientBase.IO
- {
- public class AOItem : IOItem<short>
- {
- public static readonly DependencyProperty NewValueProperty = DependencyProperty.Register("NewValue", typeof(short), typeof(AOItem), new PropertyMetadata((short)0));
- public static readonly DependencyProperty TextSavedProperty = DependencyProperty.Register("TextSaved", typeof(bool), typeof(AOItem), new PropertyMetadata(true));
- public short NewValue
- {
- get
- {
- return (short)GetValue(NewValueProperty);
- }
- set
- {
- SetValue(NewValueProperty, value);
- }
- }
- public bool TextSaved
- {
- get
- {
- return (bool)GetValue(TextSavedProperty);
- }
- set
- {
- SetValue(TextSavedProperty, value);
- }
- }
- }
- }
|