Initial commit
This commit is contained in:
17
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/SafetyState.cs
Normal file
17
srcs/RobotNet10/Shared/RobotNet.VDA5050/State/SafetyState.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using RobotNet.VDA5050.Type;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace RobotNet.VDA5050.State;
|
||||
|
||||
public class SafetyState
|
||||
{
|
||||
[Required]
|
||||
[JsonPropertyName("eStop")]
|
||||
[JsonConverter(typeof(JsonStringEnumConverter))]
|
||||
public EStop EStop { get; set; }
|
||||
|
||||
[Required]
|
||||
[JsonPropertyName("fieldViolation")]
|
||||
public bool FieldViolation { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user