Files
Denso/srcs/RobotNet10/RobotApp/Communication/Sick.SafetyScanners/DataStructures/ApplicationName.cs
2026-07-03 16:31:37 +07:00

39 lines
1.1 KiB
C#

namespace Sick.SafetyScanners.DataStructures;
/// <summary>
/// Contains the application name from a COLA2 variable command response
/// </summary>
public sealed class ApplicationName
{
/// <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 application name
/// </summary>
public uint NameLength { get; init; }
/// <summary>
/// Gets or sets the application name string
/// </summary>
public string Name { get; init; } = string.Empty;
}