| | |
| | | return result; |
| | | } |
| | | |
| | | /// <summary> |
| | | /*/// <summary> |
| | | /// 8.WCS入库读码反馈 |
| | | /// 业务场景:WCS在执行任务时,回报任务状态 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | /*[Route("notifyTaskStatus")]*/ |
| | | *//*[Route("notifyTaskStatus")]*//* |
| | | public ReturnResult readCodeFeedback(ReadCodeFeedbackModel model) |
| | | { |
| | | LogHelper.Info("【8.WCS入库读码反馈】Request:" + JsonConvert.SerializeObject(model), "WMS"); |
| | | var result = ApiHelper.readCodeFeedback(model); |
| | | LogHelper.Info("【8.WCS入库读码反馈】response:" + JsonConvert.SerializeObject(result), "WMS"); |
| | | return result; |
| | | }*/ |
| | | |
| | | /// <summary> |
| | | /// 8.WCS反馈货位状态 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | [HttpPost] |
| | | /* [Route("notifyAlarm")]*/ |
| | | public ReturnResult locStateFeedBack(LocStateFeedBackModel model) |
| | | { |
| | | LogHelper.Info("locStateFeedBack 入参:" + JsonConvert.SerializeObject(model), "WMS"); |
| | | ReturnResult result = new ReturnResult(); |
| | | bool bo = ApiHelper.locStateFeedBack(model); |
| | | if (!bo) |
| | | { |
| | | result.ResultCode = 1; |
| | | } |
| | | LogHelper.Info("locStateFeedBack 出参:" + JsonConvert.SerializeObject(result), "WMS"); |
| | | return result; |
| | | } |
| | | |
| | | public class LocStateFeedBackModel |
| | | { |
| | | public string reqId { get; set; } |
| | | public string reqTime { get; set; } |
| | | public string loc_code { get; set; } // 站台编码 |
| | | public string type { get; set; } // 请求类型 1 允许取货 2 允许放货 |
| | | public string req_no { get; set; } // 任务号 |
| | | } |
| | | |
| | | // ----------------------------------- GT -------------------------------------------------------------- |