diff --git a/src/Flyshot.ControllerClientCompat/ControllerClientCompatRobotCatalog.cs b/src/Flyshot.ControllerClientCompat/ControllerClientCompatRobotCatalog.cs index e5a4e73..30a6a4b 100644 --- a/src/Flyshot.ControllerClientCompat/ControllerClientCompatRobotCatalog.cs +++ b/src/Flyshot.ControllerClientCompat/ControllerClientCompatRobotCatalog.cs @@ -49,7 +49,7 @@ public sealed class ControllerClientCompatRobotCatalog if (!SupportedRobotModelFileMap.TryGetValue(robotName, out var modelFileName)) { - throw new InvalidOperationException($"Unsupported robot name: {robotName}"); + throw new InvalidOperationException($"不支持的机器人名称 Unsupported robot name: {robotName}"); } var modelPath = ResolveModelPath(modelFileName); diff --git a/src/Flyshot.Server.Host/appsettings.json b/src/Flyshot.Server.Host/appsettings.json index bae74e8..ebf8002 100644 --- a/src/Flyshot.Server.Host/appsettings.json +++ b/src/Flyshot.Server.Host/appsettings.json @@ -8,8 +8,8 @@ "ControllerClientCompat": { "ServerVersion": "flyshot-replacement-controller-client-compat/0.1.0", "AutoInit": { - "RobotName": "LR_Mate_200iD", - "RobotIp": "127.0.0.1" + "RobotName": "FANUC_LR_Mate_200iD_7L", + "RobotIp": "192.168.10.11" } }, "Swagger": {