BOB/BOB/Models/DeviceInfoModel.cs

50 lines
1.2 KiB
C#

using Model;
namespace BOB.Models
{
public class DeviceInfoModel : BindableBase
{
private string _deviceName;
public string DeviceName
{
get => _deviceName;
set => SetProperty(ref _deviceName, value);
}
private string _deviceType;
public string DeviceType
{
get => _deviceType;
set => SetProperty(ref _deviceType, value);
}
private string _remark;
public string Remark
{
get => _remark;
set => SetProperty(ref _remark, value);
}
private bool _isEnabled;
public bool IsEnabled
{
get => _isEnabled;
set => SetProperty(ref _isEnabled, value);
}
private bool _isConnected;
public bool IsConnected
{
get => _isConnected;
set => SetProperty(ref _isConnected, value);
}
private ICommunicationConfig _communicationConfig;
public ICommunicationConfig CommunicationConfig
{
get => _communicationConfig;
set => SetProperty(ref _communicationConfig, value);
}
}
}