Morska.Process.D6

This commit is contained in:
Michał Zieliński
2025-06-16 20:36:48 +02:00
parent 4c48484e2f
commit bbb3f5b2bf
4 changed files with 436 additions and 3 deletions

View File

@@ -448,7 +448,8 @@ public class LayersController : Controller
"T5-LastValues",
"T1-R1",
"T4-R2",
"T1-R3"
"T1-R3",
"D6"
];
_logger.LogInformation("AutoProcess: Starting processing for {ProcessTypeCount} process types", processTypes.Length);
@@ -580,6 +581,16 @@ public class LayersController : Controller
processor.Process(processWorker);
return;
}
case "D6":
{
var processor = _pluginManager.GetProcessor(plugin);
if (processor == null)
{
throw new Exception("D6 processor not found");
}
processor.Process(processWorker);
return;
}
}
var month = processWorker.Records?.SingleOrDefault(x => x.Code == "Month")?.Desc1;