This commit is contained in:
Michał Zieliski
2024-08-13 23:50:59 +02:00
parent 88f7ea8686
commit 98f2473faa
3 changed files with 245 additions and 3 deletions

View File

@@ -353,7 +353,8 @@ public class LayersController : Controller
"T3-MultiSourceYearSummary", // AA/13
"T4-SingleSource",
"T1-R1",
"T4-R2"
"T4-R2",
"T1-R1_V2"
];
foreach (var type in processTypes)
@@ -505,6 +506,21 @@ public class LayersController : Controller
});
return;
}
case "T1-R1_V2":
{
var processor = new T1R1V2Processor(_db, _googleSheetValues, this, _logsController);
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 "T4-R2":
{
var processor = new T4R2Processor(_db, this, _logsController, _googleSheetValues);