| | |
| | | using Autofac.Core;
|
| | | using Masuit.Tools;
|
| | | using Microsoft.AspNetCore.Authorization;
|
| | | using Microsoft.AspNetCore.Mvc;
|
| | | using WIDESEAWCS_Core;
|
| | | using WIDESEAWCS_Core.BaseController;
|
| | | using WIDESEAWCS_DTO.TaskInfo;
|
| | | using WIDESEAWCS_ITaskInfoService;
|
| | | using WIDESEAWCS_Model.Models;
|
| | |
|
| | |
| | | return WebResponseContent.Instance.Error();
|
| | | }
|
| | |
|
| | |
|
| | | [HttpGet, HttpPost, Route("GetRobotTaskTotalNum"), AllowAnonymous]
|
| | | public int GetRobotTaskTotalNum( int taskType, string? palletCode)
|
| | | public int GetRobotTaskTotalNum(int taskType, string? palletCode)
|
| | | {
|
| | | return Service.GetRobotTaskTotalNum(taskType, palletCode);
|
| | | }
|
| | |
|
| | | // 手动机械手任务
|
| | | [HttpGet, HttpPost, Route("CreateRobotTaskManually"), AllowAnonymous]
|
| | | public WebResponseContent CreateRobotTaskManually([FromBody] ManualRobotTaskDto request) |
| | | public WebResponseContent CreateRobotTaskManually([FromBody] ManualRobotTaskDto request)
|
| | | {
|
| | | return Service.CreateRobotTaskManually(request);
|
| | | }
|