2020-04-15 01:54:07 +01:00
|
|
|
using System.Collections.ObjectModel;
|
2020-04-15 04:40:24 +01:00
|
|
|
using Aaru.Gui.ViewModels;
|
2020-04-14 22:32:47 +01:00
|
|
|
using Avalonia.Media.Imaging;
|
|
|
|
|
|
2020-04-11 04:35:38 +01:00
|
|
|
namespace Aaru.Gui.Models
|
|
|
|
|
{
|
2020-04-14 22:32:47 +01:00
|
|
|
public class DeviceModel
|
|
|
|
|
{
|
2020-04-15 01:54:07 +01:00
|
|
|
public DeviceModel() => Media = new ObservableCollection<MediaModel>();
|
|
|
|
|
|
2020-04-15 04:40:24 +01:00
|
|
|
public Bitmap Icon { get; set; }
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
public DeviceInfoViewModel ViewModel { get; set; }
|
2020-04-15 01:54:07 +01:00
|
|
|
|
|
|
|
|
public ObservableCollection<MediaModel> Media { get; }
|
2020-04-14 22:32:47 +01:00
|
|
|
}
|
2020-04-11 04:35:38 +01:00
|
|
|
}
|