| | |
| | | case 4: |
| | | case 5: |
| | | case 6: |
| | | case 7: |
| | | taskNew = InboundAGVCacheArea(taskDto, StartAddress, area); |
| | | break; |
| | | default: |
| | |
| | | case 4: |
| | | case 5: |
| | | case 6: |
| | | case 7: |
| | | return OutboundAGVCacheArea(taskDto, StartAddress, area); |
| | | default: |
| | | throw new Exception("è¯·éæ©æ£ç¡®çåºåä¿¡æ¯"); |
| | |
| | | switch (location.AreaId) |
| | | { |
| | | case 2: |
| | | case 7: |
| | | locationInfos = _locationRepository.QueryData(x => x.Row == location.Row && x.Column > location.Column && x.Remark == location.Remark && x.AreaId == location.AreaId); |
| | | break; |
| | | case 5: |
| | |
| | | case 4: |
| | | case 5: |
| | | case 6: |
| | | case 7: |
| | | locationInfo = await GetAGVEmptyCacheLocation(areaInfo.AreaID, location); |
| | | break; |
| | | default: |
| | |
| | | } |
| | | } |
| | | } |
| | | else if (location.AreaId == 2) |
| | | else if (location.AreaId == 2 || location.AreaId == 7) |
| | | { |
| | | var locationLateral = _locationRepository.QueryData(x => x.Row == location.Row && x.Column > location.Column && x.Remark == location.Remark); |
| | | if (locationLateral.Count > 0) |
| | |
| | | switch (AreaId) |
| | | { |
| | | case 2: |
| | | case 7: |
| | | return await FromShallowToDeep(AreaId, loc); |
| | | case 3: |
| | | return await AGVLIKU(AreaId); |
| | |
| | | } |
| | | } |
| | | |
| | | else if (location.AreaId == 2) |
| | | else if (location.AreaId == 2 || location.AreaId == 7) |
| | | { |
| | | var locationLateral = _locationRepository.QueryData(x => x.Row == location.Row && x.Column > location.Column && x.Remark == location.Remark); |
| | | |