-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from 1-max-1/development
New features
- Loading branch information
Showing
15 changed files
with
349 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
using System.Collections.Immutable; | ||
|
||
namespace WASMSerialTerminal { | ||
internal class USBDevice { | ||
public string ID { get; private set; } | ||
public string Name { get; private set; } | ||
|
||
public USBDevice(string id, string name) { | ||
ID = id; | ||
Name = name; | ||
} | ||
} | ||
|
||
internal class USBVendor { | ||
public string ID { get; private set; } | ||
public string Name { get; private set; } | ||
public ImmutableArray<USBDevice> Devices { get; private set; } | ||
|
||
public USBVendor(string iD, string name, ImmutableArray<USBDevice> devices) { | ||
ID = iD; | ||
Name = name; | ||
Devices = devices; | ||
} | ||
} | ||
|
||
internal class USBVendorList { | ||
public ImmutableArray<USBVendor> Vendors { get; private set; } | ||
public string Version { get; private set; } | ||
public string Date { get; private set; } | ||
|
||
public USBVendorList(ImmutableArray<USBVendor> vendors, string version, string date) { | ||
Vendors = vendors; | ||
Version = version; | ||
Date = date; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.