Auto: ablegacy-7 — array contiguous block addressing

Closes #250
This commit is contained in:
Joseph Doherty
2026-04-25 23:36:01 -04:00
parent 05528bf71c
commit c689ac58b1
14 changed files with 779 additions and 15 deletions

View File

@@ -51,7 +51,8 @@ public static class AbLegacyDriverFactoryExtensions
DataType: ParseEnum<AbLegacyDataType>(t.DataType, driverInstanceId, "DataType",
tagName: t.Name),
Writable: t.Writable ?? true,
WriteIdempotent: t.WriteIdempotent ?? false))]
WriteIdempotent: t.WriteIdempotent ?? false,
ArrayLength: t.ArrayLength))]
: [],
Probe = new AbLegacyProbeOptions
{
@@ -112,6 +113,11 @@ public static class AbLegacyDriverFactoryExtensions
public string? DataType { get; init; }
public bool? Writable { get; init; }
public bool? WriteIdempotent { get; init; }
/// <summary>
/// PR 7 — optional override for the parsed array suffix. When set and &gt; 1 the
/// driver issues a single contiguous PCCC block read for N elements.
/// </summary>
public int? ArrayLength { get; init; }
}
internal sealed class AbLegacyProbeDto