| | |
| | | |
| | | Dictionary<string, OrderByType> orderBy = new Dictionary<string, OrderByType>() |
| | | { |
| | | { nameof(Dt_LocationInfo.Row),OrderByType.Asc }, |
| | | { nameof(Dt_LocationInfo.Layer),OrderByType.Asc }, |
| | | { nameof(Dt_LocationInfo.Row),OrderByType.Asc }, |
| | | { nameof(Dt_LocationInfo.Columns),OrderByType.Desc }, |
| | | }; |
| | | |
| | |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | if (ex.Message.Contains("æ°æ®åå
¥ï¼å°åï¼ã23ãï¼åå
¥çæ°æ®ï¼ã256ã") || ex.Message.Contains("æ°æ®åå
¥ï¼å°åï¼ã21ãï¼åå
¥çæ°æ®ï¼ã256ã")) |
| | | { |
| | | content.OK(); |
| | | } |
| | | else |
| | | { |
| | | content.Error(ex.Message); |
| | | } |
| | | } |
| | | return content; |
| | | } |
| | | } |
| | |
| | | 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") |
| | |
| | | /// <summary> |
| | | /// æ£éå»å/æ£é确认(å) |
| | | /// </summary> |
| | | W_PickToHode |
| | | W_PickToHode, |
| | | /// <summary> |
| | | /// å¿è·³åå
¥ |
| | | /// </summary> |
| | | WriteHeart |
| | | } |
| | | } |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | conveyorLine.SetValue(ConveyorLineDBName.WriteHeart, true, conveyorLine.DeviceCode); |
| | | } |
| | | } |
| | | catch (Exception ex) |