RobotApp/RobotApp.VDA5050/State/NodeState.cs
Đăng Nguyễn d6fe1d9d52 update
2025-09-26 08:48:50 +07:00

28 lines
651 B
C#

using System.ComponentModel.DataAnnotations;
namespace RobotApp.VDA5050.State;
public class NodeState
{
[Required]
public string NodeId { get; set; } = string.Empty;
[Required]
public int SequenceId { get; set; }
public string NodeDescription { get; set; } = string.Empty;
[Required]
public bool Released { get; set; }
public NodePosition NodePosition { get; set; } = new();
}
public class NodePosition
{
[Required]
public double X { get; set; }
[Required]
public double Y { get; set; }
public double Theta { get; set; }
[Required]
public string MapId { get; set; } = string.Empty;
}