1
huangxiaoqiang
9 天以前 0939aa5f3cc12a8856456a51cf2b661b6cd780c7
项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs
@@ -85,6 +85,7 @@
                Floor = stationManager.stationFloor,
                RGVName = RGVName,
                SourceStation= stationManager.remark,
                TargetStation = 0,
            };
            _taskRepository.AddData(task);
@@ -94,7 +95,7 @@
            if (stationManager.stationChildCode == "3002")
            {
                DeviceProDTO? devicePro = conveyorLine.DeviceProDTOs.Where(x => x.DeviceChildCode == stationManager.stationChildCode && x.DeviceProParamName == "ConveyorLineBarcode").FirstOrDefault();
                var x = conveyorLine.Communicator.Read(devicePro.DeviceProAddress, 5);
                var x = conveyorLine.Communicator.Read(devicePro.DeviceProAddress,10);
                string Barcode = Encoding.UTF8.GetString(x);
@@ -142,7 +143,7 @@
            else
            {
                DeviceProDTO? devicePro = conveyorLine.DeviceProDTOs.Where(x => x.DeviceChildCode == stationManager.stationNextChildCode && x.DeviceProParamName == "ConveyorLineBarcode").FirstOrDefault();
                var x = conveyorLine.Communicator.Read(devicePro.DeviceProAddress, 5);
                var x = conveyorLine.Communicator.Read(devicePro.DeviceProAddress, 10);
                string Barcode = Encoding.UTF8.GetString(x);
                if (Barcode == "")