| | |
| | | try |
| | | { |
| | | //å±è½MES |
| | | TZPassZZ(json); |
| | | if (json.Position == "EL01RB") |
| | | { |
| | | //çè£
æåæº |
| | | HZPassTZ(json); |
| | | } |
| | | else |
| | | { |
| | | ///æ¶è£
æåæº |
| | | TZPassZZ(json); |
| | | } |
| | | |
| | | var carInfo = _carBodyInfoRepository.QueryFirst(x => x.RFID == json.PVI && x.PalletCode == json.PalletCode); |
| | | |
| | |
| | | // CarType = 1, |
| | | // }; |
| | | //} |
| | | |
| | | |
| | | List<Dt_RoadWay> roadWays = new List<Dt_RoadWay>(); |
| | | if (carInfo.CarType == 1) |
| | |
| | | foreach (var item in maxGroup) |
| | | { |
| | | var number = _taskRepository.QueryData(x => x.TargetAddress == item.Key).Count(); |
| | | if (item.Count() - number <= 0) |
| | | { |
| | | continue; |
| | | } |
| | | result.Add(item.Key, item.Count() - number); |
| | | } |
| | | |
| | |
| | | TaskNum = _taskRepository.GetTaskNo().Result, |
| | | Creater = "Systeam", |
| | | PVI = json.PVI, |
| | | |
| | | CarType = carInfo.CarType |
| | | }; |
| | | _unitOfWorkManage.BeginTran(); |
| | | |