Overwrite ShockerIDs for OpenShockSerial

This commit is contained in:
glax 2024-01-20 21:16:45 +01:00
parent 1daf9a175e
commit a6040f2e5c
2 changed files with 2 additions and 1 deletions

View File

@ -7,7 +7,7 @@
<Authors>Glax</Authors>
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<Version>1.3.3</Version>
<Version>1.3.4</Version>
</PropertyGroup>
<ItemGroup>

View File

@ -8,6 +8,7 @@ namespace CShocker.Shockers.APIS;
public class OpenShockSerial : SerialShocker
{
public new List<string> ShockerIds => Model.Keys.ToList();
// ReSharper disable once MemberCanBePrivate.Global external usage
public readonly Dictionary<string, ShockerModel> Model;
private const int BaudRate = 115200;