aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Stubs/StubsSettings.cs
blob: da3a41473b6de67744b9db2acd75a33b348d1fa9 (plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Settings;
using Tango.Transport.Adapters;

namespace Tango.Stubs
{
    public class StubsSettings : SettingsBase
    {
        /// <summary>
        /// Gets or sets the selected port.
        /// </summary>
        public String SelectedPort { get; set; }

        /// <summary>
        /// Gets or sets the baud rate.
        /// </summary>
        public UsbSerialBaudRates BaudRate { get; set; }

        /// <summary>
        /// Gets or sets the last tabs.
        /// </summary>
        public List<String> LastTabs { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [automatic log response].
        /// </summary>
        public bool AutoLogResponse { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="StubsUI"/> class.
        /// </summary>
        public StubsSettings()
        {
            BaudRate = UsbSerialBaudRates.BR_9600;
            LastTabs = new List<string>();
        }
    }
}