| | |
| | | var upiObj = wmsDB.mes_batchOrderUPI_new.Where(x => x.UPI == upiCode).FirstOrDefault(); |
| | | if (upiObj == null) |
| | | { |
| | | //鍐欏叆鎶ヨ淇℃伅 |
| | | await MyExtendHelper.WriteBoolPlcDataForWarning(PlcWarningGloble.Num_BZ39_2); |
| | | |
| | | SystemWarningMsg._lbl_alert_DataProcess_BZ39 = $"{rgvLocation.ToString()},鏍规嵁UPI:{upiCode}娌℃湁鎵惧埌瀵硅薄 "; |
| | | continue; |
| | | } |
| | |
| | | var stock = wmsDB.wms_stock_quan.Where(x => x.Upi == upiObj.UPI).FirstOrDefault(); |
| | | if (stock != null) |
| | | { |
| | | //鍐欏叆鎶ヨ淇℃伅 |
| | | await MyExtendHelper.WriteBoolPlcDataForWarning(PlcWarningGloble.Num_BZ39_1); |
| | | |
| | | SystemWarningMsg._lbl_alert_DataProcess_BZ39 = $"{rgvLocation.ToString()},UPI:{upiCode}宸茬粡鍦ㄧ紦瀛樺簱涓簡 "; |
| | | continue; |
| | | } |
| | |
| | | var place = StationHandlerV2.FindBestEmptyPlace(wmsDB, upiObj); |
| | | if (place == null) |
| | | { |
| | | //鍐欏叆鎶ヨ淇℃伅 |
| | | await MyExtendHelper.WriteBoolPlcDataForWarning(PlcWarningGloble.Num_BZ39_3); |
| | | |
| | | SystemWarningMsg._lbl_alert_DataProcess_BZ39 = $"{rgvLocation.ToString()},鏍规嵁UPI:{upiCode}娌℃湁鎵惧埌缂撳瓨鍖哄矝鐨勭┖搴撲綅 "; |
| | | continue; |
| | | } |