You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
817 B
26 lines
817 B
namespace leak_test_project.Models
|
|
{
|
|
public class InOutItem : System.ComponentModel.INotifyPropertyChanged
|
|
{
|
|
public string Address { get; set; }
|
|
public string Name { get; set; }
|
|
public string Description { get; set; }
|
|
|
|
private bool _value;
|
|
/// <summary>현재 값 (ON=true, OFF=false). DIO 실시간 상태 표시용.</summary>
|
|
public bool Value
|
|
{
|
|
get => _value;
|
|
set
|
|
{
|
|
if (_value != value)
|
|
{
|
|
_value = value;
|
|
PropertyChanged?.Invoke(this, new System.ComponentModel.PropertyChangedEventArgs(nameof(Value)));
|
|
}
|
|
}
|
|
}
|
|
|
|
public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
|
|
}
|
|
}
|
|
|