print server with new concept

This commit is contained in:
EugeneTes
2026-01-16 12:00:24 +01:00
parent 147265358f
commit 5229cac987
30 changed files with 694 additions and 217 deletions

View File

@@ -1,13 +1,15 @@
public class PrintJob
using static Inspectron.Epson.PrintServer.JobSources.SignalRPrintJobSource;
public class PrintJob
{
public string AreaId { get; set; }
public string Document { get; set; }
// todo: change to ip address
public string IP { get; set; }
public PrintJobFromSignalR Document { get; set; }
public DateTime QueuedAt { get; set; }
public int RetryCount { get; set; }
public PrintJob()
{
AreaId = Guid.NewGuid().ToString();
QueuedAt = DateTime.UtcNow;
RetryCount = 0;
}