Itroduce IChargerDriver
This commit is contained in:
10
TestApp/Driver/IChargerDriver.cs
Normal file
10
TestApp/Driver/IChargerDriver.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace TestApp.Driver
|
||||
{
|
||||
internal interface IChargerDriver
|
||||
{
|
||||
string HostAddress { get; set; }
|
||||
int Port { get; set; }
|
||||
|
||||
void SetLoadingCurrent(double value);
|
||||
}
|
||||
}
|
||||
@@ -3,7 +3,7 @@ using System.Net.Sockets;
|
||||
|
||||
namespace TestApp.Driver
|
||||
{
|
||||
internal class VestelEvc04
|
||||
internal class VestelEvc04 : IChargerDriver
|
||||
{
|
||||
private IModbusMaster? _Modbus;
|
||||
private bool _Running;
|
||||
|
||||
Reference in New Issue
Block a user