| | |
| | | using Microsoft.AspNetCore.Http; |
| | | using WIDESEA_Entity.DomainModels; |
| | | using WIDESEA_WMS.IServices; |
| | | using WIDESEA_Core.Utilities; |
| | | using WIDESEA_WMS.Services; |
| | | using Microsoft.AspNetCore.Authorization; |
| | | |
| | | namespace WIDESEA_WMS.Controllers |
| | | { |
| | |
| | | _service = service; |
| | | _httpContextAccessor = httpContextAccessor; |
| | | } |
| | | /// <summary> |
| | | /// 设置ç¼åæ¶ç¦ç¨å¯ç¨ |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("SetStationEnable")] |
| | | public WebResponseContent SetStationEnable([FromBody] object parm) |
| | | { |
| | | return dt_stationinfoService.Instance.SetStationEnable(parm); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ä¸æä»»å¡ |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Authorize, Route("SendAGVTask"),AllowAnonymous] |
| | | public WebResponseContent SendAGVTask([FromBody] SaveModel saveModel) |
| | | { |
| | | return dt_stationinfoService.Instance.SendAGVTask(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 忢æç |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Authorize, Route("Trayswitching"), AllowAnonymous] |
| | | public WebResponseContent Trayswitching([FromBody] SaveModel saveModel) |
| | | { |
| | | return dt_stationinfoService.Instance.Trayswitching(saveModel); |
| | | } |
| | | |
| | | /// <summary> |
| | | /// å±ç¤ºå¹³é¢å¾æ°æ® |
| | | /// </summary> |
| | | /// <param name="parm"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("dt_stationinfolist")] |
| | | public object dt_stationinfolist() |
| | | { |
| | | return dt_stationinfoService.Instance.dt_stationinfolist(); |
| | | } |
| | | } |
| | | } |