Files
Artemis/src/Artemis.UI/ViewModels/Controls/Settings/RgbDeviceSettingsViewModel.cs
T
SpoinkyNL 6e23c079b1 Started layout editor implementation
Rearranged VMs/Views
Updated RGB.NET
2019-08-11 01:23:13 +02:00

25 lines
680 B
C#

using Humanizer;
using RGB.NET.Core;
namespace Artemis.UI.ViewModels.Controls.Settings
{
public class RgbDeviceSettingsViewModel
{
public IRGBDevice Device { get; }
public RgbDeviceSettingsViewModel(IRGBDevice device)
{
Device = device;
Type = Device.DeviceInfo.DeviceType.ToString().Humanize();
Name = Device.DeviceInfo.Model;
Manufacturer = Device.DeviceInfo.Manufacturer;
Enabled = true;
}
public string Type { get; set; }
public string Name { get; set; }
public string Manufacturer { get; set; }
public bool Enabled { get; set; }
}
}