| | |
| | | /// </summary> |
| | | private async Task HandleTaskSuspended(StatusCallbackRequest request) |
| | | { |
| | | _logger.LogWarning("ä»»å¡æèµ·: TaskCode={TaskCode}, ç³»ç»ä»»å¡ç ={SysTaskCode}, åå ={Message}", |
| | | request.TaskCode, request.SysTaskCode, request.Message); |
| | | _logger.LogWarning("ä»»å¡æèµ·: TaskCode={TaskCode}, ç³»ç»ä»»å¡ç ={SysTaskCode}, åå ={Message}",request.TaskCode, request.SysTaskCode, request.Message); |
| | | |
| | | // è¿éæ·»å æ¨çæèµ·å¤çé»è¾ |
| | | await Task.CompletedTask; |
| | |
| | | /// </summary> |
| | | private async Task HandleTaskAllocated(StatusCallbackRequest request) |
| | | { |
| | | _logger.LogInformation("ä»»å¡åé
: TaskCode={TaskCode}, Robot={Robot}", |
| | | request.TaskCode, request.RobotCode); |
| | | _logger.LogInformation("ä»»å¡åé
: TaskCode={TaskCode}, Robot={Robot}",request.TaskCode, request.RobotCode); |
| | | |
| | | // è¿éæ·»å æ¨çä»»å¡åé
å¤çé»è¾ |
| | | await Task.CompletedTask; |
| | |
| | | { |
| | | if (request.Status == WIDESEA_DTO.Basic.TaskStatus.success) |
| | | { |
| | | _logger.LogInformation("åç®±å®æ: Container={Container}, Location={Location}", |
| | | request.ContainerCode, request.LocationCode); |
| | | _logger.LogInformation("åç®±å®æ: Container={Container}, Location={Location}", request.ContainerCode, request.LocationCode); |
| | | |
| | | await _taskService.TaskStatusChange(request.TaskCode, WIDESEA_Common.TaskEnum.TaskStatusEnum.AGV_Pull); |
| | | } |
| | | else |
| | | { |
| | |
| | | { |
| | | if (request.Status == WIDESEA_DTO.Basic.TaskStatus.success) |
| | | { |
| | | _logger.LogInformation("æ¾ç®±å®æ: Container={Container}, Location={Location}", |
| | | request.ContainerCode, request.LocationCode); |
| | | _logger.LogInformation("æ¾ç®±å®æ: Container={Container}, Location={Location}", request.ContainerCode, request.LocationCode); |
| | | await _taskService.TaskStatusChange(request.TaskCode, WIDESEA_Common.TaskEnum.TaskStatusEnum.AGV_Puting); |
| | | } |
| | | else |
| | | { |