namespace Sick.SafetyScanners.DataStructures; /// /// Contains field sets data from a COLA2 variable command response /// public sealed class FieldSets { /// /// Gets or sets the version indicator (e.g., "V" for version) /// public string VersionCVersion { get; init; } = string.Empty; /// /// Gets or sets the major version number /// public byte VersionMajorVersionNumber { get; init; } /// /// Gets or sets the minor version number /// public byte VersionMinorVersionNumber { get; init; } /// /// Gets or sets the version release number /// public byte VersionReleaseNumber { get; init; } /// /// Gets or sets the length of each field name (one per field set) /// public IReadOnlyList NameLengths { get; init; } = []; /// /// Gets or sets the field names (one per field set) /// public IReadOnlyList FieldNames { get; init; } = []; /// /// Gets or sets whether each field set is defined /// public IReadOnlyList IsDefined { get; init; } = []; }