diff --git a/RobotApp.Client/MainLayout.razor b/RobotApp.Client/MainLayout.razor index 9cc0ff9..6085068 100644 --- a/RobotApp.Client/MainLayout.razor +++ b/RobotApp.Client/MainLayout.razor @@ -69,7 +69,7 @@ } public NavModel[] Navs = [ - new(){Icon = "mdi-view-dashboard", Path="/", Label = "Dashboard", Match = NavLinkMatch.All}, + new(){Icon = "mdi-view-dashboard", Path="/dashboard", Label = "Dashboard", Match = NavLinkMatch.All}, // new(){Icon = "mdi-map-legend", Path="/maps-manager", Label = "Mapping", Match = NavLinkMatch.All}, new(){Icon = "mdi-monitor", Path="/robot-monitor", Label = "Robot Monitor", Match = NavLinkMatch.All}, new(){Icon = "mdi-state-machine", Path="/robot-order", Label = "order", Match = NavLinkMatch.All}, diff --git a/RobotApp.Client/Pages/Dashboard.razor b/RobotApp.Client/Pages/Dashboard.razor index 437cca8..f906ac5 100644 --- a/RobotApp.Client/Pages/Dashboard.razor +++ b/RobotApp.Client/Pages/Dashboard.razor @@ -10,7 +10,7 @@ @inject RobotStateClient RobotStateClient @rendermode InteractiveWebAssemblyNoPrerender - +
diff --git a/RobotApp/Data/ApplicationDbExtensions.cs b/RobotApp/Data/ApplicationDbExtensions.cs index b5e2cb3..a47ddb0 100644 --- a/RobotApp/Data/ApplicationDbExtensions.cs +++ b/RobotApp/Data/ApplicationDbExtensions.cs @@ -125,7 +125,7 @@ public static class ApplicationDbExtensions { ConfigName = "Default", Description = "Default robot simulation configuration", - EnableSimulation = false, + EnableSimulation = true, SimulationMaxVelocity = 1.5, SimulationMaxAngularVelocity = 0.5, SimulationAcceleration = 2, @@ -155,6 +155,7 @@ public static class ApplicationDbExtensions VDA5050EnableTls = false, VDA5050UserName = "robotics", VDA5050Password = "robotics", + VDA5050TopicPrefix = "uagv/v2" IsActive = true, CreatedAt = DateTime.Now, UpdatedAt = DateTime.Now, diff --git a/RobotApp/Data/Migrations/20251222025151_InitApplicationDb.Designer.cs b/RobotApp/Data/Migrations/20251222091852_InitApplicationDb.Designer.cs similarity index 99% rename from RobotApp/Data/Migrations/20251222025151_InitApplicationDb.Designer.cs rename to RobotApp/Data/Migrations/20251222091852_InitApplicationDb.Designer.cs index 9ebf882..21671a7 100644 --- a/RobotApp/Data/Migrations/20251222025151_InitApplicationDb.Designer.cs +++ b/RobotApp/Data/Migrations/20251222091852_InitApplicationDb.Designer.cs @@ -11,7 +11,7 @@ using RobotApp.Data; namespace RobotApp.Data.Migrations { [DbContext(typeof(ApplicationDbContext))] - [Migration("20251222025151_InitApplicationDb")] + [Migration("20251222091852_InitApplicationDb")] partial class InitApplicationDb { /// diff --git a/RobotApp/Data/Migrations/20251222025151_InitApplicationDb.cs b/RobotApp/Data/Migrations/20251222091852_InitApplicationDb.cs similarity index 100% rename from RobotApp/Data/Migrations/20251222025151_InitApplicationDb.cs rename to RobotApp/Data/Migrations/20251222091852_InitApplicationDb.cs