代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
@@ -63,8 +63,6 @@ List<Task> tasks = new List<Task>(); foreach (string childDeviceCode in childDeviceCodes) { //Task task = Task.Run(() => //{ ConveyorLineTaskCommand command = conveyorLine.ReadCustomer<ConveyorLineTaskCommand>(childDeviceCode); if (command != null) { @@ -82,8 +80,7 @@ } } } //}); //tasks.Add(task); } Task.WaitAll(tasks.ToArray());