| | |
| | | SystemWarningMsg._lbl_alert_DataProcess_269 = string.Empty; |
| | | try |
| | | { |
| | | if (SystemValue.isAllowRuning_DataProcess_269 && SystemValue.isStartedModel) |
| | | //if (SystemValue.isAllowRuning_DataProcess_269 && SystemValue.isStartedModel) |
| | | if (SystemValue.isStartedModel) |
| | | { |
| | | var rgvLocation = StationLocationEnum.馿¬¡æ«ç å·¥ä½.ToString(); |
| | | /* |
| | |
| | | { |
| | | SystemWarningMsg._lbl_alert_DataProcess_269 = $"{rgvLocation.ToString()},æ ¹æ®UPI:{upiCode}æ²¡ææ¾å°å¯¹è±¡ "; |
| | | continue; |
| | | //*/ |
| | | } |
| | | |
| | | //æ¨éplcè§£æå®æ |
| | | using (StationServiceClient client = new StationServiceClient()) |
| | | { |
| | | var res = await client.WriteQiTaoInfoAsync((int)EDevice.Station, rgvLocation, true); |
| | | if (!res.result) |
| | | { |
| | | SystemWarningMsg._lbl_alert_DataProcess_BZ01 = $"{rgvLocation.ToString()}- æ¨éplcè§£æå®æ 失败,WriteQiTaoInfoAsyncè¿å:{res.resMsg}"; |
| | | continue; |
| | | } |
| | | else |
| | | { |
| | | Log4NetHelper.WriteInfoLog(logType, $"{rgvLocation.ToString()}-æ¨éplcè§£æå®æ æå,WriteQiTaoInfoAsyncï¼åæ°: ç«ç¹{rgvLocation}"); |
| | | } |
| | | } |
| | | |
| | | upiObj.AreaCode = (int)AreaCodeEnum.å¾
ç¼å忣åº; |
| | | |
| | | WmsRecordUpiProcessHandler.SaveWmsRecordUpiProcess(wmsDB, upiObj, "269", "馿¬¡æ«ç "); |
| | | |
| | | wmsDB.SaveChanges(); |
| | | //*/ |
| | | } |
| | | } |
| | | } |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | |
| | | } |
| | | } |