From 6cd32f8c98ad5c9d2fdeed48ab08339adf5db4b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90=C4=83ng=20Nguy=E1=BB=85n?= Date: Sat, 20 Dec 2025 15:16:59 +0700 Subject: [PATCH] update --- RobotApp.Client/MainLayout.razor | 2 +- .../Config/RobotSimulationConfig.razor | 2 +- .../Pages/RobotConfigManager.razor | 11 +- RobotApp.VDA5050/Type/ActionType.cs | 32 +- .../Controllers/RobotConfigsController.cs | 3 +- .../Robot/Actions/RobotDockToAction.cs | 2 + .../Actions/RobotFactsheetRequestAction.cs | 1 + .../Actions/RobotMoveStraightToCoorAction.cs | 2 + .../RobotMoveStraightWithDistanceAction.cs | 2 + RobotApp/Services/Robot/RobotActionStorage.cs | 24 +- RobotApp/Services/Robot/RobotConfiguration.cs | 6 + RobotApp/Services/Robot/RobotConnection.cs | 6 +- RobotApp/Services/Robot/RobotController.cs | 7 - RobotApp/Services/Robot/RobotErrors.cs | 7 + RobotApp/Services/Robot/RobotFactsheet.cs | 366 +++++++++--------- .../Services/Robot/RobotOrderController.cs | 65 +++- RobotApp/Services/Robot/RobotStates.cs | 4 +- .../Navigation/SimulationNavigation.cs | 7 +- 18 files changed, 298 insertions(+), 251 deletions(-) diff --git a/RobotApp.Client/MainLayout.razor b/RobotApp.Client/MainLayout.razor index 1528768..0e76f9d 100644 --- a/RobotApp.Client/MainLayout.razor +++ b/RobotApp.Client/MainLayout.razor @@ -70,7 +70,7 @@ public NavModel[] Navs = [ new(){Icon = "mdi-view-dashboard", Path="/", 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-application-cog", Path="/robot-config", Label = "Config", Match = NavLinkMatch.All}, ]; diff --git a/RobotApp.Client/Pages/Components/Config/RobotSimulationConfig.razor b/RobotApp.Client/Pages/Components/Config/RobotSimulationConfig.razor index f6ca067..717f488 100644 --- a/RobotApp.Client/Pages/Components/Config/RobotSimulationConfig.razor +++ b/RobotApp.Client/Pages/Components/Config/RobotSimulationConfig.razor @@ -5,7 +5,7 @@
- +
diff --git a/RobotApp.Client/Pages/RobotConfigManager.razor b/RobotApp.Client/Pages/RobotConfigManager.razor index a214fd2..ca8fc8f 100644 --- a/RobotApp.Client/Pages/RobotConfigManager.razor +++ b/RobotApp.Client/Pages/RobotConfigManager.razor @@ -16,7 +16,7 @@