R3 processor

This commit is contained in:
Michał Zieliński
2024-12-21 21:35:27 +01:00
parent dc3d4c19c3
commit 1fc00ac419
6 changed files with 264 additions and 1 deletions

View File

@@ -461,6 +461,7 @@ public class LayersController : Controller
"T1-R1_OLD",
"T1-R1",
"T4-R2",
"T1-R3"
];
foreach (var type in processTypes)
@@ -632,6 +633,21 @@ public class LayersController : Controller
var processor = new T4R2Processor(_db, this, _logsController, _googleSheetValues);
processor.Process(processWorker);
_logsController.AddEntry(new LogEntry
{
Title = $"{processWorker.Name}, {processWorker.Id}",
Type = LogEntryType.Info,
LogType = LogType.Process,
Message = "Success",
CreatedAt = DateTime.UtcNow
});
return;
}
case "T1-R3":
{
var processor = new T1R3Processor(_db, this, _logsController, _googleSheetValues);
processor.Process(processWorker);
_logsController.AddEntry(new LogEntry
{
Title = $"{processWorker.Name}, {processWorker.Id}",