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

29 lines
895 B
C#

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>();
}