21 lines
646 B
C#
21 lines
646 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace CommonUsage.Protocols.VDA5050.Objects
|
|
{
|
|
public class safetyState
|
|
{
|
|
public eStopEnum eStop { get; set; } // Emergency stop status
|
|
public bool fieldViolation { get; set; } // "true" if a safety field is violated, "false" otherwise
|
|
|
|
public enum eStopEnum
|
|
{
|
|
AUTOACK, // Auto-acknowledged emergency stop (e.g., triggered by a bumper)
|
|
MANUAL, // Manually confirmed emergency stop
|
|
REMOTE, // Remote-confirmed emergency stop
|
|
NONE // No emergency stop activated
|
|
}
|
|
}
|
|
}
|