Enable all process layers

This commit is contained in:
Michał Zieliński
2024-12-31 17:35:33 +01:00
parent 97141d1e4c
commit 8b86d32cad
2 changed files with 8 additions and 28 deletions

View File

@@ -451,15 +451,15 @@ public class LayersController : Controller
string[] processTypes =
[
//"T3-SingleSource",
//"T3-SourceYearSummary",
//"T3-MultiSourceSummary", // AA
//"T3-MultiSourceYearSummary", // AA/13
//"T4-SingleSource",
//"T5-LastValues",
"T3-SingleSource",
"T3-SourceYearSummary",
"T3-MultiSourceSummary", // AA
"T3-MultiSourceYearSummary", // AA/13
"T4-SingleSource",
"T5-LastValues",
//"T1-R1_OLD",
//"T1-R1",
//"T4-R2",
"T1-R1",
"T4-R2",
"T1-R3"
];
@@ -481,7 +481,6 @@ public class LayersController : Controller
x.Records!.Any(y => y.Code == "Type" && y.Desc1 == "ProcessWorker") &&
x.Records!.Any(y => y.Code == "IsEnabled" && y.Desc1 == "True") &&
x.Records!.Any(y => y.Code == "ProcessType" && y.Desc1 == type)
&& x.Number == 4175
)
.OrderBy(x => x.CreatedAt)
.ToList();