| | |
| | | //1表示是否申请绕路 |
| | | var endLoc = LocationHelper.GetLoc(wcsTask.S_END_LOC); |
| | | LogHelper.Info($"applyReroute 申请是否绕路货位参数{JsonConvert.SerializeObject(endLoc)}"); |
| | | if (endLoc.N_CURRENT_NUM == 0&& endLoc.S_LOCK_STATE=="入库锁") { |
| | | if (endLoc.N_CURRENT_NUM == 0&& endLoc.S_LOCK_STATE=="入库锁") |
| | | { |
| | | result.resultCode = 0; |
| | | result.success = true; |
| | | result.msg = "目标货位已空"; |
| | |
| | | |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 交管申请 |
| | | /// </summary> |
| | | /// <param name="model"></param> |
| | | /// <returns></returns> |
| | | public static GzResult agvTraffic(orderTraffic model) |
| | | { |
| | | GzResult result = new GzResult(); |
| | | try |
| | | { |
| | | result.resultCode = 0; |
| | | result.msg = "success"; |
| | | return result; |
| | | } |
| | | catch (Exception ex) |
| | | { |
| | | result.resultCode = 1; |
| | | result.success = false; |
| | | result.msg = $"交管申请出现错误{JsonConvert.SerializeObject(ex.Message)}"; |
| | | return result; |
| | | } |
| | | |
| | | } |
| | | |
| | | ///// <summary> |
| | | ///// 调用小米状态回报接口 |