| | |
| | | if (wmsTask.TaskType.GetTaskTypeGroup() == TaskTypeGroup.InboundGroup && !wmsTask.WorkCentreCode.IsNullOrEmpty() && wmsTask.TaskStatus == TaskStatusEnum.AGV_TakeFinish.ObjToInt()) |
| | | { |
| | | Dt_AGVStationInfo? aGVStationInfo = null; |
| | | if (wmsTask.CurrentAddress== "603" || wmsTask.CurrentAddress == "613" || wmsTask.CurrentAddress == "102" || wmsTask.CurrentAddress == "614" || wmsTask.CurrentAddress == "615" || wmsTask.CurrentAddress == "604" || wmsTask.CurrentAddress == "605") |
| | | { |
| | | aGVStationInfo = _basicRepository.AGVStationInfoRepository.QueryFirst(x=>x.AGVStationCode==wmsTask.CurrentAddress); |
| | | } |
| | | else |
| | | { |
| | | aGVStationInfo= _basicRepository.AGVStationInfoRepository.QueryFirst(x => x.MESPointCode == wmsTask.CurrentAddress); |
| | | } |
| | | |
| | | aGVStationInfo = _basicRepository.AGVStationInfoRepository.QueryFirst(x=>x.AGVStationCode==wmsTask.CurrentAddress || x.MESPointCode == wmsTask.CurrentAddress); |
| | | |
| | | MESRecepNoticeModel mESRecepNoticeModel = new MESRecepNoticeModel() |
| | | { |
| | | WorkCentreEmptyPalletNotice = new List<RecepNotice>() |
| | |
| | | } |
| | | } |
| | | }; |
| | | //æ¨éMESæ¥é©³ |
| | | //_invokeMESService.MESRecepNotice(mESRecepNoticeModel); |
| | | } |
| | | //æ¨éERPåæåå
¥åº |
| | | //if (wmsTask.TaskType>=TaskTypeEnum.WFBYLInbound.ObjToInt() && wmsTask.TaskType <= TaskTypeEnum.PrintYLInbound.ObjToInt() && wmsTask.TaskStatus==TaskStatusEnum.AGV_TakeFinish.ObjToInt()) |