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
@@ -47,6 +47,10 @@ public sealed class S7PollEngineMigrationTests
return Task.FromResult(block);
}
public Task<IReadOnlyList<global::S7.Net.Types.DataItem>> ReadMultipleVarsAsync(
List<global::S7.Net.Types.DataItem> items, CancellationToken ct)
=> throw new NotSupportedException("ConstantArrayPlc: multi-var reads not needed for the poll-engine tests");
public Task WriteAsync(string address, object value, CancellationToken ct) => Task.CompletedTask;
public Task WriteBytesAsync(S7NetDataType area, int db, int startByteAdr, byte[] value, CancellationToken ct) => Task.CompletedTask;
public Task ReadStatusAsync(CancellationToken ct) => Task.CompletedTask;