Initial commit

This commit is contained in:
2026-07-13 09:25:40 +07:00
parent c08ff54676
commit bccfb156d7
1938 changed files with 641646 additions and 0 deletions

View File

@@ -0,0 +1,38 @@
namespace Sick.SafetyScanners.DataStructures;
/// <summary>
/// Contains the user name from a COLA2 variable command response
/// </summary>
public sealed class UserName
{
/// <summary>
/// Gets or sets the version indicator (e.g., "V" for version)
/// </summary>
public string VersionCVersion { get; init; } = string.Empty;
/// <summary>
/// Gets or sets the major version number
/// </summary>
public byte VersionMajorVersionNumber { get; init; }
/// <summary>
/// Gets or sets the minor version number
/// </summary>
public byte VersionMinorVersionNumber { get; init; }
/// <summary>
/// Gets or sets the version release number
/// </summary>
public byte VersionReleaseNumber { get; init; }
/// <summary>
/// Gets or sets the length of the user name
/// </summary>
public uint NameLength { get; init; }
/// <summary>
/// Gets or sets the user name string
/// </summary>
public string Name { get; init; } = string.Empty;
}