Initial commit
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
namespace Sick.SafetyScanners.DataStructures;
|
||||
|
||||
/// <summary>
|
||||
/// Contains monitoring case data from a COLA2 variable command response
|
||||
/// </summary>
|
||||
public sealed class MonitoringCaseData
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets whether the monitoring case data is valid
|
||||
/// </summary>
|
||||
public bool IsValid { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the monitoring case number
|
||||
/// </summary>
|
||||
public ushort MonitoringCaseNumber { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the field indices associated with this monitoring case
|
||||
/// </summary>
|
||||
public IReadOnlyList<ushort> FieldIndices { get; init; } = Array.Empty<ushort>();
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets whether each field is configured and valid
|
||||
/// </summary>
|
||||
public IReadOnlyList<bool> FieldsValid { get; init; } = Array.Empty<bool>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user