| | |
| | | using MapsterMapper; |
| | | using System.Diagnostics.CodeAnalysis; |
| | | using WIDESEA_Core; |
| | | using WIDESEAWCS_Common.TaskEnum; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.Enums; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_Model.Models; |
| | | using WIDESEAWCS_QuartzJob; |
| | | using WIDESEAWCS_QuartzJob.Models; |
| | | |
| | | namespace WIDESEAWCS_TaskInfoService; |
| | | |
| | |
| | | { |
| | | case TaskTypeGroup.OutbondGroup: |
| | | return _outboundTaskFlowService.InitializeOnReceive(task, source); |
| | | |
| | | case TaskTypeGroup.InboundGroup: |
| | | return _inboundTaskFlowService.InitializeOnReceive(task, source); |
| | | |
| | | case TaskTypeGroup.RelocationGroup: |
| | | return _relocationTaskFlowService.InitializeOnReceive(task, source); |
| | | |
| | | case TaskTypeGroup.OtherGroup: |
| | | return _robotTaskFlowService.InitializeOnReceive(task, source); |
| | | |
| | | default: |
| | | return WebResponseContent.Instance.Error("WCS不存在当前任务的任务类型"); |
| | | } |