- S7TagDefinition gets optional ElementCount; >1 marks the tag as a 1-D array. - ReadOneAsync / WriteOneAsync: one byte-range Read/WriteBytesAsync covering N × elementBytes, sliced/packed client-side via the existing big-endian scalar codecs and S7DateTimeCodec. - DiscoverAsync surfaces IsArray=true and ArrayDim=ElementCount → ValueRank=1. - Init-time validation (now ahead of TCP open) caps ElementCount at 8000 and rejects unsupported element types: STRING/WSTRING/CHAR/WCHAR (variable-width) and BOOL (packed-bit layout) — both follow-ups. - Supported element types: Byte, Int16/UInt16, Int32/UInt32, Int64/UInt64, Float32, Float64, Date, Time, TimeOfDay. Closes #290
6.2 KiB
6.2 KiB