public accesstypes
This commit is contained in:
parent
6d96baabfe
commit
8398cec393
@ -7,7 +7,7 @@
|
||||
<Authors>Glax</Authors>
|
||||
<RepositoryUrl>https://github.com/C9Glax/CShocker</RepositoryUrl>
|
||||
<RepositoryType>git</RepositoryType>
|
||||
<Version>1.0.2</Version>
|
||||
<Version>1.0.3</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers.Abstract;
|
||||
|
||||
internal abstract class HttpShocker : Shocker
|
||||
public abstract class HttpShocker : Shocker
|
||||
{
|
||||
public HttpShocker(HttpShockerSettings settings, ILogger? logger = null) : base(settings, logger)
|
||||
{
|
||||
|
@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers.Abstract;
|
||||
|
||||
internal abstract class SerialShocker : Shocker
|
||||
public abstract class SerialShocker : Shocker
|
||||
{
|
||||
protected SerialShocker(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
|
||||
namespace CShocker.Shockers.Abstract
|
||||
;
|
||||
|
||||
internal abstract class Shocker
|
||||
public abstract class Shocker
|
||||
{
|
||||
protected readonly AShockerSettings ShockerSettings;
|
||||
protected readonly ILogger? Logger;
|
||||
|
@ -6,7 +6,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers;
|
||||
|
||||
internal class OpenShockHttp : HttpShocker
|
||||
public class OpenShockHttp : HttpShocker
|
||||
{
|
||||
protected override void ControlInternal(ControlAction action, string shockerId, int intensity, int duration)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers;
|
||||
|
||||
internal class OpenShockSerial : SerialShocker
|
||||
public class OpenShockSerial : SerialShocker
|
||||
{
|
||||
public OpenShockSerial(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers;
|
||||
|
||||
internal class PiShockHttp : HttpShocker
|
||||
public class PiShockHttp : HttpShocker
|
||||
{
|
||||
public PiShockHttp(HttpShockerSettings settings, ILogger? logger = null) : base(settings, logger)
|
||||
{
|
||||
|
@ -4,7 +4,7 @@ using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace CShocker.Shockers;
|
||||
|
||||
internal class PiShockSerial : SerialShocker
|
||||
public class PiShockSerial : SerialShocker
|
||||
{
|
||||
public PiShockSerial(SerialShockerSettings shockerSettings, ILogger? logger = null) : base(shockerSettings, logger)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user