From 91f8fb7a6b52f5c6ff2119e34ef1359ec79d189e Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期四, 16 四月 2026 19:11:11 +0800
Subject: [PATCH] 优化重写plc信号以及编写海康小车报警信号

---
 代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs"
index 2b93a1e..87e298c 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_TaskInfoService/TaskService.cs"
@@ -392,7 +392,7 @@
                 bool isAGV = dt_Task.TaskType == (int)TaskTypeEnum.CPInbound || dt_Task.TaskType == (int)TaskTypeEnum.CPOutbound;
 
                 //娴峰悍
-                bool isHK = dt_Task.TaskType == (int)TaskTypeEnum.F01 || dt_Task.TaskType == (int)TaskTypeEnum.RK3F || dt_Task.TaskType == (int)TaskTypeEnum.CK3F || dt_Task.TaskType == (int)TaskTypeEnum.Q1TSJ4 || dt_Task.TaskType == (int)TaskTypeEnum.STU0003 || dt_Task.TaskType == (int)TaskTypeEnum.F02 || dt_Task.TaskType == (int)TaskTypeEnum.CHUKU1 || dt_Task.TaskType == (int)TaskTypeEnum.Q3RK || dt_Task.TaskType == (int)TaskTypeEnum.Q3CK||dt_Task.TaskType == (int)TaskTypeEnum.STUPTBY;
+                bool isHK = dt_Task.TaskType == (int)TaskTypeEnum.F01 || dt_Task.TaskType == (int)TaskTypeEnum.RK3F || dt_Task.TaskType == (int)TaskTypeEnum.CK3F || dt_Task.TaskType == (int)TaskTypeEnum.Q1TSJ4 || dt_Task.TaskType == (int)TaskTypeEnum.STU0003 || dt_Task.TaskType == (int)TaskTypeEnum.F02 || dt_Task.TaskType == (int)TaskTypeEnum.CHUKU1 || dt_Task.TaskType == (int)TaskTypeEnum.Q3RK || dt_Task.TaskType == (int)TaskTypeEnum.Q3CK || dt_Task.TaskType == (int)TaskTypeEnum.STUPTBY;
                 //淇敼鍘熸湰浠诲姟浼樺厛绾�
                 dt_Task.Grade = updateTaskPriority.taskPriority;
                 #region 鍑箰澹�
@@ -523,7 +523,7 @@
                 var kls = new List<Dt_KLSLocationInfo>();
                 var hk = new List<Dt_HKLocationInfo>();
                 List<Dt_StationInfo> pk = new List<Dt_StationInfo>();
-                if (wMSUpdateLocationArea==null)
+                if (wMSUpdateLocationArea == null)
                 {
                     return content.Error("璇锋眰鍙傛暟涓嶈兘涓虹┖");
                 }
@@ -1156,7 +1156,7 @@
                             LocationStatus = item.LocationStatus,
                             EnableStatus = item.EnableStatus,
                             PalletCode = item.PalletCode,
-                            AreaCode=item.WarehouseId
+                            AreaCode = item.WarehouseId
 
                         });
                     }
@@ -1785,7 +1785,7 @@
                         var station = _stationInfo.Repository.QueryFirst(x => x.StationCode == locationCode);
                         if (station != null)
                         {
-                            station.IsOccupied = upLocationStatusDTO.EnableStatus==0?0:1;
+                            station.IsOccupied = upLocationStatusDTO.EnableStatus == 0 ? 0 : 1;
                             locationsToUpdate.Add(station);
 
                             resultList.Add(new

--
Gitblit v1.9.3