diff --git a/backend/api/Database/Context/InitDb.cs b/backend/api/Database/Context/InitDb.cs index 2ac71dff0..806155cd7 100644 --- a/backend/api/Database/Context/InitDb.cs +++ b/backend/api/Database/Context/InitDb.cs @@ -95,7 +95,7 @@ private static List GetPlants() var plant2 = new Plant { Id = Guid.NewGuid().ToString(), - Installation = installations[0], + Installation = installations[1], Name = "Kårstø", PlantCode = "Kårstø" }; @@ -154,13 +154,23 @@ private static List GetDecks() Name = "Huldra Mezzanine Deck" }; + var deckKLab = new Deck + { + Id = Guid.NewGuid().ToString(), + Plant = plants[1], + Installation = plants[1].Installation, + DefaultLocalizationPose = new DefaultLocalizationPose(), + Name = "K-Lab" + }; + return new List( [ deck1, deck2, deck3, deck4, - deckHuldraMezzanine + deckHuldraMezzanine, + deckKLab ]); } @@ -243,6 +253,17 @@ private static List GetAreas() DefaultLocalizationPose = new DefaultLocalizationPose(), }; + var areaKLab = new Area + { + Id = Guid.NewGuid().ToString(), + Deck = decks[5], + Plant = decks[5].Plant, + Installation = decks[5].Plant.Installation, + Name = "K-lab", + MapMetadata = new MapMetadata(), + DefaultLocalizationPose = new DefaultLocalizationPose(), + }; + return new List( [ area1, @@ -251,7 +272,8 @@ private static List GetAreas() area4, area5, area6, - areaHuldraHB + areaHuldraHB, + areaKLab ]); }