using RobotNet.MapShares.Dtos;

namespace RobotNet.WebApp.Robots.Components.Monitoring.Element;

public class NodeModel(NodeDto Data) : IDisposable
{
    public Guid Id => Data.Id;
    public Guid MapId => Data.MapId;
    public string Name => Data.Name;
    public double X => Data.X;
    public double Y => Data.Y;
    public double Theta => Data.Theta;
    public string Actions => Data.Actions;
    public double AllowedDeviationXy => Data.AllowedDeviationXy;
    public double AllowedDeviationTheta => Data.AllowedDeviationTheta;

    public void Dispose()
    {
        GC.SuppressFinalize(this);
    }
}
