| | |
| | | if (stationManger.StationDeviceCode== "CL1" || stationManger.StationDeviceCode == "CL2") |
| | | { |
| | | OtherDevice commonConveyorLine = (OtherDevice)device; |
| | | byte[] bytesPick = commonConveyorLine.Communicator.Read("12", 5); |
| | | byte[] bytesPick = commonConveyorLine.Communicator.Read("2", 5); |
| | | string PickBarCode = Encoding.UTF8.GetString(bytesPick).Replace("\0", "").Replace("\\0", ""); |
| | | if (containerFlowDTO.ContainerCode != PickBarCode) throw new Exception($"浼犲叆鏂欑鐮亄containerFlowDTO.ContainerCode}锛岃緭閫佹枡绠辩爜{PickBarCode}鏁版嵁閿欒"); |
| | | if (containerFlowDTO.Direction == "100") |