40 lines
1.0 KiB
C#
40 lines
1.0 KiB
C#
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; }
|
|
}
|
|
}
|