31 lines
716 B
C#
31 lines
716 B
C#
namespace RobotNet10.FleetManager.Services.TrafficControl.Models;
|
|
|
|
/// <summary>
|
|
/// Represents priority information for a robot
|
|
/// </summary>
|
|
public class RobotPriority
|
|
{
|
|
/// <summary>
|
|
/// Robot ID
|
|
/// </summary>
|
|
public string RobotId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Priority level (higher number = higher priority)
|
|
/// </summary>
|
|
public int PriorityLevel { get; set; }
|
|
|
|
/// <summary>
|
|
/// Reason for the priority
|
|
/// </summary>
|
|
public PriorityReason Reason { get; set; }
|
|
|
|
/// <summary>
|
|
/// Priority valid until this time (null if permanent)
|
|
/// </summary>
|
|
public DateTime? ValidUntil { get; set; }
|
|
}
|
|
|
|
|
|
|