| | |
| | | |
| | | namespace WIDESEA_WMSServer.Controllers; |
| | | |
| | | [Route("api/BDC")] |
| | | [Route("bdc")] |
| | | [ApiController] |
| | | public class MESController : Controller |
| | | { |
| | |
| | | /// </summary> |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("pushWorkOrderInfo"), AllowAnonymous] |
| | | [HttpPost, Route("painting/pushWorkOrderInfo"), AllowAnonymous] |
| | | public WebResponseContent pushWorkOrderInfo([FromBody] object json) |
| | | { |
| | | return _MESService.pushWorkOrderInfo(json); |
| | |
| | | /// </summary> |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("pushOrderInfo"), AllowAnonymous] |
| | | [HttpPost, Route("order/pushOrderInfo"), AllowAnonymous] |
| | | public WebResponseContent pushOrderInfo([FromBody] object json) |
| | | { |
| | | return _MESService.pushOrderInfo(json); |
| | |
| | | /// </summary> |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("removeWorkOrderInfo"), AllowAnonymous] |
| | | [HttpPost, Route("painting/removeWorkOrderInfo"), AllowAnonymous] |
| | | public WebResponseContent removeWorkOrderInfo([FromBody] object json) |
| | | { |
| | | return _MESService.removeWorkOrderInfo(json); |
| | |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("issuedCharacter"), AllowAnonymous] |
| | | public WebResponseContent issuedCharacter([FromBody] string carCode, string vin, string station) |
| | | public WebResponseContent issuedCharacter(string rfidPrint, string vin, string station,string palletCode) |
| | | { |
| | | return _MESService.issuedCharacter(carCode, vin, station); |
| | | return _MESService.issuedCharacter(rfidPrint, vin, station, palletCode); |
| | | } |
| | | |
| | | /// <summary> |
| | |
| | | /// <param name="json"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("getCharacteristic"), AllowAnonymous] |
| | | public WebResponseContent getCharacteristic([FromBody] string station, string rfid) |
| | | public WebResponseContent getCharacteristic(string station, string rfid) |
| | | { |
| | | return _MESService.getCharacteristic(station, rfid); |
| | | } |
| | |
| | | /// </summary> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("pullLock"), AllowAnonymous] |
| | | [HttpPost, Route("order/pullLock"), AllowAnonymous] |
| | | public WebResponseContent pullLock([FromBody] object json) |
| | | { |
| | | return _MESService.pullLock(json); |
| | |
| | | /// </summary> |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("syncOrderFeature"), AllowAnonymous] |
| | | [HttpPost, Route("order/syncOrderFeature"), AllowAnonymous] |
| | | public WebResponseContent syncOrderFeature([FromBody] object json) |
| | | { |
| | | return _MESService.syncOrderFeature(json); |
| | |
| | | /// <param name="stationCode"></param> |
| | | /// <returns></returns> |
| | | [HttpPost, Route("bindWorkOrder"), AllowAnonymous] |
| | | public WebResponseContent bindWorkOrder([FromBody] string station, string rfid) |
| | | public WebResponseContent bindWorkOrder(string station, string rfid) |
| | | { |
| | | return _MESService.bindWorkOrder(station, rfid); |
| | | } |