18 lines
489 B
C#
18 lines
489 B
C#
namespace Sick.SafetyScanners.DataStructures;
|
|
|
|
/// <summary>
|
|
/// Represents a single intrusion datum
|
|
/// </summary>
|
|
public sealed class IntrusionDatum
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the size of the flag vector
|
|
/// </summary>
|
|
public int Size { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the flags vector (one flag per beam indicating intrusion)
|
|
/// </summary>
|
|
public IReadOnlyList<bool> Flags { get; init; } = Array.Empty<bool>();
|
|
}
|