vue-java-tutorials/CSharp/SerialPort/Base-2-Window/Model/SerialPortModel.cs

16 lines
345 B
C#
Raw Normal View History

2025-06-23 23:05:34 +08:00
using System.IO.Ports;
namespace Base_2_Window.Model;
public class SerialPortModel
{
public List<string>? SerialPortNames { get; set; }
2025-07-08 17:15:03 +08:00
public List<int>? BaudRates { get; set; }
2025-06-23 23:05:34 +08:00
2025-07-08 17:15:03 +08:00
public List<StopBits>? StopBitsList { get; set; }
2025-06-23 23:05:34 +08:00
2025-07-08 17:15:03 +08:00
public List<Parity>? ParityList { get; set; }
public List<int>? DataBits { get; set; }
2025-06-23 23:05:34 +08:00
}