Files
BQP/srcs/RobotNet10/FleetManager/RobotNet10.FleetManager.Shared/DTOs/Robot/RobotMonitorData.cs
2026-07-13 09:25:40 +07:00

37 lines
1.3 KiB
C#

using RobotNet.VDA5050.State;
using RobotNet.VDA5050.Visualization;
namespace RobotNet10.FleetManager.Shared.DTOs.Robot;
public class RobotMonitorBoardcastData
{
public string RobotId { get; set; } = string.Empty;
public Load[] Loads { get; set; } = [];
public BatteryState Battery { get; set; } = new();
public Error[] Errors { get; set; } = [];
public Information[] Infomations { get; set; } = [];
public AgvPosition AgvPosition { get; set; } = new();
public Velocity AgvVelocity { get; set; } = new();
public NavigationPath Path { get; set; } = new();
public DateTime LastUpdateTime { get; set; }
}
public class NavigationPath
{
public string NavigationState { get; set; } = string.Empty;
public NavigationPathEdge[] RobotPath { get; set; } = [];
public NavigationPathEdge[] RobotBasePath { get; set; } = [];
}
public class NavigationPathEdge()
{
public double StartX { get; set; }
public double StartY { get; set; }
public double EndX { get; set; }
public double EndY { get; set; }
public double ControlPoint1X { get; set; }
public double ControlPoint1Y { get; set; }
public double ControlPoint2X { get; set; }
public double ControlPoint2Y { get; set; }
public int Degree { get; set; }
}