| | |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using WIDESEAWCS_Core; |
| | | using WIDESEAWCS_Core.BaseController; |
| | | using WIDESEAWCS_DTO.TaskInfo; |
| | | using WIDESEAWCS_ITaskInfoService; |
| | | using WIDESEAWCS_Model.Models; |
| | | |
| | |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | |
| | | |
| | | [HttpPost, HttpGet, Route("CreateTask"), AllowAnonymous] |
| | | public WebResponseContent CreateTask(string takePosition, string putPosition, string deviceCode, int length, int width, int height) |
| | | { |
| | | return Service.CreateTask(takePosition, putPosition, deviceCode, length, width, height); |
| | | } |
| | | |
| | | [HttpPost, HttpGet, Route("PlaceBlockTest"), AllowAnonymous] |
| | | public WebResponseContent PlaceBlockTest(int orderRowId) |
| | | { |
| | | return Service.PlaceBlockTest(orderRowId); |
| | | } |
| | | } |
| | | } |