Ver Fonte

fixtimer

xu.lu há 3 anos atrás
pai
commit
a63f355124

+ 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}");
+                
             });
         }