This commit is contained in:
Đăng Nguyễn 2025-12-22 16:23:26 +07:00
parent 38858355e6
commit 7daad2dfaf
5 changed files with 5 additions and 4 deletions

View File

@ -69,7 +69,7 @@
} }
public NavModel[] Navs = [ 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-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-monitor", Path="/robot-monitor", Label = "Robot Monitor", Match = NavLinkMatch.All},
new(){Icon = "mdi-state-machine", Path="/robot-order", Label = "order", Match = NavLinkMatch.All}, new(){Icon = "mdi-state-machine", Path="/robot-order", Label = "order", Match = NavLinkMatch.All},

View File

@ -10,7 +10,7 @@
@inject RobotStateClient RobotStateClient @inject RobotStateClient RobotStateClient
@rendermode InteractiveWebAssemblyNoPrerender @rendermode InteractiveWebAssemblyNoPrerender
<MudContainer MaxWidth="MaxWidth.False" Class="pa-4"> <MudContainer MaxWidth="MaxWidth.False" Class="pa-4" Style="overflow-y:auto">
<!-- Header Dashboard --> <!-- Header Dashboard -->
<MudPaper Class="pa-6 mb-4 d-flex align-center justify-space-between" Elevation="3"> <MudPaper Class="pa-6 mb-4 d-flex align-center justify-space-between" Elevation="3">
<div> <div>

View File

@ -125,7 +125,7 @@ public static class ApplicationDbExtensions
{ {
ConfigName = "Default", ConfigName = "Default",
Description = "Default robot simulation configuration", Description = "Default robot simulation configuration",
EnableSimulation = false, EnableSimulation = true,
SimulationMaxVelocity = 1.5, SimulationMaxVelocity = 1.5,
SimulationMaxAngularVelocity = 0.5, SimulationMaxAngularVelocity = 0.5,
SimulationAcceleration = 2, SimulationAcceleration = 2,
@ -155,6 +155,7 @@ public static class ApplicationDbExtensions
VDA5050EnableTls = false, VDA5050EnableTls = false,
VDA5050UserName = "robotics", VDA5050UserName = "robotics",
VDA5050Password = "robotics", VDA5050Password = "robotics",
VDA5050TopicPrefix = "uagv/v2"
IsActive = true, IsActive = true,
CreatedAt = DateTime.Now, CreatedAt = DateTime.Now,
UpdatedAt = DateTime.Now, UpdatedAt = DateTime.Now,

View File

@ -11,7 +11,7 @@ using RobotApp.Data;
namespace RobotApp.Data.Migrations namespace RobotApp.Data.Migrations
{ {
[DbContext(typeof(ApplicationDbContext))] [DbContext(typeof(ApplicationDbContext))]
[Migration("20251222025151_InitApplicationDb")] [Migration("20251222091852_InitApplicationDb")]
partial class InitApplicationDb partial class InitApplicationDb
{ {
/// <inheritdoc /> /// <inheritdoc />