Ejemplo n.º 1
0
 /// <summary>
 /// Instantiates a DeviceInformation object.
 /// </summary>
 /// <param name="flags">Indicates device state.</param>
 /// <param name="type">Indicates the device type.</param>
 /// <param name="id">The Vendor ID and Product ID of the device.</param>
 /// <param name="locId">The physical location identifier of the device.</param>
 /// <param name="serialNumber">The device serial number.</param>
 /// <param name="description">The device description.</param>
 public FtDevice(FtFlag flags, FtDeviceType type, uint id, uint locId, string serialNumber, string description)
 {
     Flags        = flags;
     Type         = type;
     Id           = id;
     LocId        = locId;
     SerialNumber = serialNumber;
     Description  = description;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Instantiates a FT232H device object.
 /// </summary>
 /// <param name="flags">Indicates device state.</param>
 /// <param name="type">Indicates the device type.</param>
 /// <param name="id">The Vendor ID and Product ID of the device.</param>
 /// <param name="locId">The physical location identifier of the device.</param>
 /// <param name="serialNumber">The device serial number.</param>
 /// <param name="description">The device description.</param>
 public Ft232HDevice(FtFlag flags, FtDeviceType type, uint id, uint locId, string serialNumber, string description)
     : base(flags, type, id, locId, serialNumber, description)
 {
 }