Added serial port support

- complete restructure of codebase
This commit is contained in:
Felix Weiß
2023-06-30 18:39:19 +02:00
parent c332cd9f86
commit 8c2ba1f68f
37 changed files with 1135 additions and 564 deletions

View File

@@ -73,9 +73,9 @@ namespace MewtocolTests
output.WriteLine($"Testing: {plc.PLCName}");
var cycleClient = new MewtocolInterface(plc.PLCIP, plc.PLCPort);
var cycleClient = new MewtocolInterfaceShared(plc.PLCIP, plc.PLCPort);
await cycleClient.ConnectAsync();
await cycleClient.ConnectAsyncOld();
Assert.True(cycleClient.IsConnected);
@@ -94,9 +94,9 @@ namespace MewtocolTests
output.WriteLine($"Testing: {plc.PLCName}\n");
var client = new MewtocolInterface(plc.PLCIP, plc.PLCPort);
var client = new MewtocolInterfaceShared(plc.PLCIP, plc.PLCPort);
await client.ConnectAsync();
await client.ConnectAsyncOld();
output.WriteLine($"{client.PlcInfo}\n");