🔧 chore(config): 更新默认机器人连接配置

* 将自动初始化默认机器人切换为现场 FANUC_LR_Mate_200iD_7L

* 将默认控制器地址更新为 192.168.10.11

* 补充不支持机器人名称异常的中文提示
This commit is contained in:
2026-06-30 22:50:53 +08:00
parent e0162b72b3
commit c41a03df44
2 changed files with 3 additions and 3 deletions

View File

@@ -49,7 +49,7 @@ public sealed class ControllerClientCompatRobotCatalog
if (!SupportedRobotModelFileMap.TryGetValue(robotName, out var modelFileName)) 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); var modelPath = ResolveModelPath(modelFileName);

View File

@@ -8,8 +8,8 @@
"ControllerClientCompat": { "ControllerClientCompat": {
"ServerVersion": "flyshot-replacement-controller-client-compat/0.1.0", "ServerVersion": "flyshot-replacement-controller-client-compat/0.1.0",
"AutoInit": { "AutoInit": {
"RobotName": "LR_Mate_200iD", "RobotName": "FANUC_LR_Mate_200iD_7L",
"RobotIp": "127.0.0.1" "RobotIp": "192.168.10.11"
} }
}, },
"Swagger": { "Swagger": {