19 lines
667 B
C#
19 lines
667 B
C#
|
|
namespace Extrudex.Domain.DTOs.Moonraker;
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Response DTO for Moonraker /printer/objects/query?display_status endpoint.
|
||
|
|
/// Contains progress percentage and message for the current print job.
|
||
|
|
/// Used by the SignalR hub to push real-time progress to connected clients.
|
||
|
|
/// </summary>
|
||
|
|
public class MoonrakerDisplayStatus
|
||
|
|
{
|
||
|
|
/// <summary>
|
||
|
|
/// Print progress as a decimal between 0 and 1 (0% to 100%).
|
||
|
|
/// </summary>
|
||
|
|
public decimal Progress { get; set; }
|
||
|
|
|
||
|
|
/// <summary>
|
||
|
|
/// Status message displayed on the printer LCD (e.g., "Printing...", "Heating...").
|
||
|
|
/// </summary>
|
||
|
|
public string Message { get; set; } = string.Empty;
|
||
|
|
}
|