| using AutoMapper.Configuration.Annotations; | 
| using Microsoft.AspNetCore.Http; | 
| using Microsoft.AspNetCore.Mvc; | 
| using WIDESEA_Core.BaseController; | 
| using WIDESEA_DTO; | 
| using WIDESEA_IStoragIntegrationServices; | 
|   | 
| namespace WIDESEA_WMSServer.Controllers; | 
|   | 
| [Route("api/[controller]")] | 
| [ApiController] | 
| public class MCSController : Controller | 
| { | 
|     private readonly IMCSService _MCSService; | 
|     private readonly IHttpContextAccessor _httpContextAccessor; | 
|   | 
|     public MCSController(IMCSService MCSService, IHttpContextAccessor httpContextAccessor) | 
|     { | 
|         _httpContextAccessor = httpContextAccessor;  | 
|         _MCSService = MCSService; | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 分容测试完成通知 | 
|     /// </summary> | 
|     /// <param name="input"></param> | 
|     /// <returns></returns> | 
|     [HttpPost, Route("NotifyFinishTest"), AllowAnonymous] | 
|     public WebResponseContent NotifyFinishTest([FromBody] object input) | 
|     { | 
|         return _MCSService.NotifyFinishTest(input); | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 请求移库 | 
|     /// </summary> | 
|     /// <param name="input"></param> | 
|     /// <returns></returns> | 
|     [HttpPost, Route("RequestChangeLocation"), AllowAnonymous] | 
|     public WebResponseContent RequestChangeLocation([FromBody] object input) | 
|     { | 
|         return _MCSService.RequestChangeLocation(input); | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 分容库位同步 | 
|     /// </summary> | 
|     /// <param name="input"></param> | 
|     /// <returns></returns> | 
|     [HttpPost, Route("ModifyAccessStatus"), AllowAnonymous] | 
|     public WebResponseContent ModifyAccessStatus([FromBody] object input) | 
|     { | 
|         return _MCSService.ModifyAccessStatus(input); | 
|     } | 
|   | 
|     /// <summary> | 
|     /// 分容获取库位托盘 | 
|     /// </summary> | 
|     /// <param name="input"></param> | 
|     /// <returns></returns> | 
|     [HttpPost, Route("RequestCellInfo"), AllowAnonymous] | 
|     public object RequsetCellInfo([FromBody] object input) | 
|     { | 
|         return _MCSService.RequsetCellInfo(input); | 
|     } | 
| } |