SafeDispatch/SafeMobileLIB_DLL/DeviceInfo.cs

40 lines
1.0 KiB
C#
Raw Normal View History

2024-02-22 16:43:59 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SafeMobileLib
{
public class DeviceInfo
{
public DeviceInfo(string vID, string pID, string description, string comPort)
{
this.vendorID = vID;
this.productID = pID;
this.Description = description;
this.COMPort = comPort;
}
public DeviceInfo(string vID, string pID)
{
this.vendorID = vID;
this.productID = pID;
this.Description = "";
this.COMPort = "";
}
public DeviceInfo(string vID, string pID, string comPort)
{
this.vendorID = vID;
this.productID = pID;
this.Description = "";
this.COMPort = comPort;
}
public string vendorID { get; private set; }
public string productID { get; private set; }
public string Description { get; private set; }
public string COMPort { get; set; }
}
}