mirror of
https://github.com/PepperDash/PepperDashCore.git
synced 2026-01-11 19:44:44 +00:00
feat: adds levelControlLists to config reader merge methos
This commit is contained in:
@@ -98,6 +98,12 @@ namespace PepperDash.Core.Config
|
|||||||
merged.Add("destinationLists",
|
merged.Add("destinationLists",
|
||||||
Merge(template["destinationLists"], system["destinationLists"], "destinationLists"));
|
Merge(template["destinationLists"], system["destinationLists"], "destinationLists"));
|
||||||
|
|
||||||
|
if (system["levelControlLists"] == null)
|
||||||
|
merged.Add("levelControlLists", template["levelControlLists"]);
|
||||||
|
else
|
||||||
|
merged.Add("levelControlLists",
|
||||||
|
Merge(template["levelControlLists"], system["levelControlLists"], "levelControlLists"));
|
||||||
|
|
||||||
// Template tie lines take precedence. Config tool doesn't do them at system
|
// Template tie lines take precedence. Config tool doesn't do them at system
|
||||||
// level anyway...
|
// level anyway...
|
||||||
if (template["tieLines"] != null)
|
if (template["tieLines"] != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user