remove spurious Battery files

This commit is contained in:
ig 2023-02-23 16:08:33 +01:00
parent 595bcc203a
commit fc81bbe236
1 changed files with 0 additions and 33 deletions

View File

@ -1,33 +0,0 @@
using InnovEnergy.Lib.Protocols.Modbus.Clients;
using InnovEnergy.Lib.Protocols.Modbus.Connections;
namespace InnovEnergy.Lib.Battery48TL;
public static class Program
{
public static void Main(String[] args)
{
// var connection = new ModbusSerialConnection("/dev/virtualcom0",
// 115200,
// Parity.Odd,
// 8,
// StopBits.One,
// TimeSpan.FromMilliseconds(500));
var connection = new ModbusTcpConnection("10.2.2.206", 8080);
var client = new ModbusRtuClient(connection, 2);
var device = new Battery48TlDevice(client);
while (true)
{
var s = device.ReadBatteryStatus();
Console.WriteLine(s);
Thread.Sleep(2000);
}
}
}