From 34f1e65179910f3c02f0ac6813dbfefb4244d4d7 Mon Sep 17 00:00:00 2001
From: wanshenmean <cathay_xy@163.com>
Date: 星期三, 15 四月 2026 19:23:24 +0800
Subject: [PATCH] feat(同步服务): 添加实例同步功能并优化更新逻辑

---
 Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs
index 52b53ba..cd86fc7 100644
--- a/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs
+++ b/Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Common/TaskEnum/TaskEnumHelper.cs
@@ -46,6 +46,10 @@
             {
                 return TaskTypeGroup.OtherGroup;
             }
+            else if(!int.TryParse(Enum.Parse<RobotTaskTypeEnum>(taskTypeStr).ToString(), out result))
+            {
+                return TaskTypeGroup.OtherGroup;
+            }
             // 濡傛灉浠ヤ笂杞崲閮戒笉鎴愬姛锛屾姏鍑篘otImplementedException寮傚父
             else
             {

--
Gitblit v1.9.3