diff --git a/TestApp/Driver/IChargerDriver.cs b/TestApp/Driver/IChargerDriver.cs new file mode 100644 index 0000000..2269cca --- /dev/null +++ b/TestApp/Driver/IChargerDriver.cs @@ -0,0 +1,10 @@ +namespace TestApp.Driver +{ + internal interface IChargerDriver + { + string HostAddress { get; set; } + int Port { get; set; } + + void SetLoadingCurrent(double value); + } +} diff --git a/TestApp/Driver/VestelEvc04.cs b/TestApp/Driver/VestelEvc04.cs index 3af9d5e..637b797 100644 --- a/TestApp/Driver/VestelEvc04.cs +++ b/TestApp/Driver/VestelEvc04.cs @@ -3,7 +3,7 @@ using System.Net.Sockets; namespace TestApp.Driver { - internal class VestelEvc04 + internal class VestelEvc04 : IChargerDriver { private IModbusMaster? _Modbus; private bool _Running;