2024-06-25 07:55:46 +08:00
|
|
|
|
using Microsoft.AspNetCore.Http;
|
|
|
|
|
|
using Microsoft.AspNetCore.Mvc;
|
|
|
|
|
|
using WcsMain.ApiServe.ControllerFilter.ExceptionFilter;
|
|
|
|
|
|
using WcsMain.ApiServe.ControllerFilter;
|
|
|
|
|
|
using WcsMain.ApiServe.Service.WcsService;
|
|
|
|
|
|
using WcsMain.ApiServe.Controllers.Dto;
|
|
|
|
|
|
using WcsMain.DataBase.TableEntity;
|
2024-06-25 09:12:20 +08:00
|
|
|
|
using WcsMain.ApiServe.Controllers.Dto.WcsDto.StackerConvey;
|
2024-06-25 07:55:46 +08:00
|
|
|
|
|
|
|
|
|
|
namespace WcsMain.ApiServe.Controllers.WcsController;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 库前输送线控制器
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[Route("api/wcs/stackerConvey")]
|
|
|
|
|
|
[ApiController]
|
|
|
|
|
|
[WcsExceptionFilter]
|
|
|
|
|
|
[WcsAuthorization]
|
|
|
|
|
|
public class StackerConveyController(StackerConveyService stackerConveyService) : ControllerBase
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 查询所有库前输送线信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpGet("queryStackerConveyInfo")]
|
|
|
|
|
|
public WcsApiResponse<List<AppStackerConvey>>? QueryStackerConveyInfo() => stackerConveyService.QueryStackerConveyInfo();
|
|
|
|
|
|
|
2024-06-25 09:12:20 +08:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 查询所有库前输送线状态信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
[HttpGet("queryStackerConveyStatus")]
|
|
|
|
|
|
public WcsApiResponse<List<StackerConveyStatusResponse>>? QueryStackerConveyStatus() => stackerConveyService.QueryStackerConveyStatus();
|
2024-06-25 07:55:46 +08:00
|
|
|
|
|
|
|
|
|
|
}
|