Initial commit
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user