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