From c41a03df4496e4265b4ca496ade788c2ec4adf56 Mon Sep 17 00:00:00 2001 From: "yunxiao.zhu" Date: Tue, 30 Jun 2026 22:50:53 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(config):=20=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E9=BB=98=E8=AE=A4=E6=9C=BA=E5=99=A8=E4=BA=BA=E8=BF=9E?= =?UTF-8?q?=E6=8E=A5=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 将自动初始化默认机器人切换为现场 FANUC_LR_Mate_200iD_7L * 将默认控制器地址更新为 192.168.10.11 * 补充不支持机器人名称异常的中文提示 --- .../ControllerClientCompatRobotCatalog.cs | 2 +- src/Flyshot.Server.Host/appsettings.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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": {