CShock/CShocker/Devices/Abstract/PiShockApi.cs
glax c14279fbbe Remove random Integer class.
Add check if value for intensity and duration is within accepted range.
2024-02-11 22:24:53 +01:00

12 lines
339 B
C#

using CShocker.Devices.Additional;
using CShocker.Ranges;
using Microsoft.Extensions.Logging;
namespace CShocker.Devices.Abstract;
public abstract class PiShockApi : Api
{
protected PiShockApi(DeviceApi apiType, ILogger? logger = null) : base(apiType, new IntegerRange(0, 100), new IntegerRange(1000, 15000), logger)
{
}
}