summaryrefslogtreecommitdiff
path: root/grapher/Models/Devices/DeviceDialogItem.cs
blob: 9ca552885912d1c2f8a977621ed29cbab8fc71b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace grapher.Models.Devices
{
    public class DeviceDialogItem
    {
        public MultiHandleDevice device;
        public DeviceSettings oldSettings;
        public DeviceConfig newConfig;
        public string newProfile;
        public bool overrideDefaultConfig;

        public override string ToString()
        {
            return string.IsNullOrWhiteSpace(device.name) ?
                device.id :
                device.name;
        }
    }
}