From 0939aa5f3cc12a8856456a51cf2b661b6cd780c7 Mon Sep 17 00:00:00 2001 From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com> Date: 星期四, 31 七月 2025 17:25:49 +0800 Subject: [PATCH] 1 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs" index 860137f..11a1b0c 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Tasks/ConveyorLineJob/Task/RequestInbound.cs" @@ -84,7 +84,8 @@ Creater = "System", Floor = stationManager.stationFloor, RGVName = RGVName, - SourceStation= stationManager.remark, + 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 == "") -- Gitblit v1.9.3