feat(s7): expose ReadMultipleVarsAsync through the IS7Plc seam

This commit is contained in:
Joseph Doherty
2026-08-17 03:48:15 -04:00
parent c4d8e4a200
commit 6ee553cf8f
5 changed files with 45 additions and 0 deletions
@@ -569,6 +569,10 @@ public sealed class S7DriverReconnectTests
public Task<byte[]> ReadBytesAsync(S7NetDataType area, int db, int startByteAdr, int count, CancellationToken cancellationToken) =>
throw new NotSupportedException("FakeS7Plc: block reads not needed for the reconnect tests");
public Task<IReadOnlyList<global::S7.Net.Types.DataItem>> ReadMultipleVarsAsync(
List<global::S7.Net.Types.DataItem> items, CancellationToken cancellationToken) =>
throw new NotSupportedException("FakeS7Plc: multi-var reads not needed for the reconnect tests");
public async Task WriteAsync(string address, object value, CancellationToken cancellationToken)
{
if (WriteHangsUntilCancelled)