wanshenmean
2026-03-13 0dbc8273bdfbcabcc4b770546245f6b17d787de9
Code/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/CommonConveyorLineJob.cs
@@ -21,7 +21,7 @@
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using AutoMapper;
using MapsterMapper;
using OfficeOpenXml.FormulaParsing.Excel.Functions.Text;
using Quartz;
using WIDESEAWCS_Communicator;
@@ -63,11 +63,6 @@
                    List<Task> tasks = new List<Task>();
                    foreach (string childDeviceCode in childDeviceCodes)
                    {
                        int num = new Random().Next(1, 100);
                        if (num < 30)
                        {
                            throw new CommunicationException("错误测试", CommunicationErrorType.Unknown);
                        }
                        ConveyorLineTaskCommand command = conveyorLine.ReadCustomer<ConveyorLineTaskCommand>(childDeviceCode);
                        if (command != null)
                        {
@@ -213,3 +208,4 @@
        }
    }
}