35 lines
1.1 KiB
C#
35 lines
1.1 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
using WcsMain.ApiServe.ControllerFilter.ExceptionFilter;
|
|
using WcsMain.ApiServe.ControllerFilter;
|
|
using WcsMain.ApiServe.Service.WcsService;
|
|
using WcsMain.DataBase.TableEntity;
|
|
using WcsMain.ApiServe.Dto;
|
|
using WcsMain.ApiServe.Dto.WcsDto.StackerConvey;
|
|
|
|
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();
|
|
|
|
/// <summary>
|
|
/// 查询所有库前输送线状态信息
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
[HttpGet("queryStackerConveyStatus")]
|
|
public WcsApiResponse<List<StackerConveyStatusResponse>> QueryStackerConveyStatus() => stackerConveyService.QueryStackerConveyStatus();
|
|
|
|
}
|