| | |
| | | using AutoMapper.Configuration.Annotations; |
| | | using Microsoft.AspNetCore.Http; |
| | | using Microsoft.AspNetCore.Mvc; |
| | | using OfficeOpenXml.FormulaParsing.Excel.Functions.Math; |
| | | using WIDESEA_Core.BaseController; |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_IStoragIntegrationServices; |
| | |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("PassPoint"), AllowAnonymous] |
| | | public WebResponseContent PassPoint(string stationCode, string rfid) |
| | | public WebResponseContent PassPoint([FromBody] RequestTaskDto json) |
| | | { |
| | | return _MESService.PassPoint(stationCode, rfid); |
| | | return _MESService.PassPoint(json); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("issuedCharacter"), AllowAnonymous] |
| | | public WebResponseContent issuedCharacter(string rfidPrint, string vin, string station,string palletCode) |
| | | public WebResponseContent issuedCharacter(string rfidPrint, string station, string palletCode) |
| | | { |
| | | return _MESService.issuedCharacter(rfidPrint, vin, station, palletCode); |
| | | return _MESService.issuedCharacter(rfidPrint, station, palletCode); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("getCharacteristic"), AllowAnonymous] |
| | | public WebResponseContent getCharacteristic(string station, string rfid) |
| | | public WebResponseContent getCharacteristic([FromBody] RequestTaskDto json) |
| | | { |
| | | return _MESService.getCharacteristic(station, rfid); |
| | | return _MESService.getCharacteristic(json); |
| | | } |
| | | |
| | | static object lockInfo = new object(); |
| | | /// <summary> |
| | | /// MESæå¨é车 |
| | | /// </summary> |
| | |
| | | [HttpPost, Route("order/pullLock"), AllowAnonymous] |
| | | public WebResponseContent pullLock([FromBody] object json) |
| | | { |
| | | return _MESService.pullLock(json); |
| | | lock (lockInfo) |
| | | { |
| | | return _MESService.pullLock(json); |
| | | } |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// ç´éæ¶è£
ç»å®å·¥å |
| | | /// 车身ç»å®å·¥å ç-æ¶ãæ¶-æ»å·¥åç»å® |
| | | /// </summary> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |