namespace Sick.SafetyScanners.DataStructures;
///
/// Device status enumeration for SICK Safety Scanner
///
public enum SopasDeviceStatus : byte
{
///
/// Unknown status
///
Unknown = 0,
///
/// Start up status
///
StartUp = 1,
///
/// Service mode
///
ServiceMode = 2,
///
/// Normal operation
///
NormalOperation = 3,
///
/// Suspended operation
///
SuspendedOperation = 4,
///
/// Service recommended
///
ServiceRecommended = 5,
///
/// Service required
///
ServiceRequired = 6,
///
/// Recoverable error
///
RecoverableError = 7,
///
/// Fatal error
///
FatalError = 8
}
///
/// Contains the device status from a COLA2 variable command response
///
public sealed class DeviceStatus
{
///
/// Gets or sets the device status value
///
public SopasDeviceStatus Status { get; init; }
}