job status reporting
This commit is contained in:
@@ -100,6 +100,7 @@ public class SignalRPrintJobSource: IPrintJobSource
|
||||
_logger.LogInformation("Received print job for working area: {PrintJob}", JsonSerializer.Serialize(args));
|
||||
_printJobChannel.Writer.TryWrite(new PrintJob
|
||||
{
|
||||
JobId = args.JobId,
|
||||
IP = args.PrinterIp,
|
||||
Document = args,
|
||||
});
|
||||
@@ -112,6 +113,9 @@ public class SignalRPrintJobSource: IPrintJobSource
|
||||
|
||||
public class PrintJobFromSignalR
|
||||
{
|
||||
[JsonPropertyName("jobId")]
|
||||
public string JobId { get; set; }
|
||||
|
||||
[JsonPropertyName("printerIp")]
|
||||
public string PrinterIp { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user