| | |
| | | LogHelper.Info("触发API:PDA满托下线入库" + JsonConvert.SerializeObject(model), "API"); |
| | | try |
| | | { |
| | | //if( model.RfId.Length < 16) |
| | | //{ |
| | | // result.resultCode = 1; |
| | | // result.resultMsg = $"输入的RFID,长度不够,要大于16位"; |
| | | // LogHelper.Info(result.resultMsg); |
| | | // return result; |
| | | //} |
| | | if (model.RfId.Length < 16) |
| | | { |
| | | result.resultCode = 1; |
| | | result.resultMsg = $"输入的RFID,长度不够,要大于16位"; |
| | | LogHelper.Info(result.resultMsg); |
| | | return result; |
| | | } |
| | | |
| | | //model.RfId = WMSHelper.ConvertHexToAscii(model.RfId); |
| | | model.RfId = WMSHelper.ConvertHexToAscii(model.RfId); |
| | | |
| | | //该产线的满托下线位置,起点 |
| | | var startPoint = Settings.ProductionLines.FirstOrDefault(a => a.PointOut == model.StartLoc); |