From 88bf3ee786b15c4aef0e86d12ac84992f1749d79 Mon Sep 17 00:00:00 2001 From: TTLC198 <41226242+TTLC198@users.noreply.github.com> Date: Sat, 11 Nov 2023 19:53:53 +0300 Subject: [PATCH] Added a class to display information about devices connected to a PC with a serial port --- HSMonitor/Models/DeviceInfo.cs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 HSMonitor/Models/DeviceInfo.cs diff --git a/HSMonitor/Models/DeviceInfo.cs b/HSMonitor/Models/DeviceInfo.cs new file mode 100644 index 0000000..0b2ec34 --- /dev/null +++ b/HSMonitor/Models/DeviceInfo.cs @@ -0,0 +1,9 @@ +namespace HSMonitor.Models; + +public class DeviceInfo +{ + public string? PortName { get; set; } + public string? Description { get; set; } + public string? BusDescription { get; set; } + public bool IsHsMonitorDevice { get; set; } = false; +} \ No newline at end of file