xu.lu 3 年之前
父節點
當前提交
a63f355124
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      Projects/永冠OPP/WCS.Service/Works/Station/一楼出库.cs

+ 6 - 2
Projects/永冠OPP/WCS.Service/Works/Station/一楼出库.cs

@@ -149,9 +149,13 @@ namespace WCS.Service.Works.Station
                         finish.Station.Data.CmdType = IstationCmdType.月台出库口任务完成;
                         finish.Station.Data.VoucherNo++;
                     }
+                    if (finishTaskList.Any())
+                    {
+                        timer.Stop();
+                        InfoLog.INFO_TIMING($"{obj.Entity.CODE}--处理请求到反馈完成信号耗时{timer.ElapsedMilliseconds}");
+                    }
                 });
-                timer.Stop();
-                InfoLog.INFO_TIMING($"{obj.Entity.CODE}--处理请求到反馈完成信号耗时{timer.ElapsedMilliseconds}");
+                
             });
         }