| | |
| | | using HH.WCS.JiaTong.dispatch; |
| | | using HH.WCS.JiaTong.process; |
| | | using HH.WCS.JiaTong.util; |
| | | using HH.WCS.JiaTong.wms; |
| | | using HH.WCS.JiaTong_DCJ.dispatch; |
| | | using HH.WCS.JiaTong_DCJ.process; |
| | | using HH.WCS.JiaTong_DCJ.util; |
| | | using HH.WCS.JiaTong_DCJ.wms; |
| | | using Newtonsoft.Json; |
| | | using System; |
| | | using System.Collections.Generic; |
| | |
| | | using System.Net.NetworkInformation; |
| | | using System.Security.Policy; |
| | | using System.Threading.Tasks; |
| | | using static HH.WCS.JiaTong.api.ApiModel; |
| | | using static HH.WCS.JiaTong.util.Settings; |
| | | using static HH.WCS.JiaTong_DCJ.api.ApiModel; |
| | | using static HH.WCS.JiaTong_DCJ.util.Settings; |
| | | |
| | | namespace HH.WCS.JiaTong.core |
| | | namespace HH.WCS.JiaTong_DCJ.core |
| | | { |
| | | internal class WCSCore |
| | | { |
| | |
| | | { |
| | | WCSHelper.AddActionRecord(model.task_no, model.state, model.forklift_no, model.ext_data); |
| | | } |
| | | |
| | | //å®å
¨è¯·æ±ç |
| | | string url = Settings.tableUrls.Find(a => a.id == 2).url; |
| | | string name = "Mes"; |
| | | string url = ""; |
| | | string name = ""; |
| | | if (TN_Task.Z_TYPE == 1) |
| | | { |
| | | url = Settings.tableUrls.Find(a => a.id == 6).url; |
| | | name = "ML"; |
| | | } |
| | | else if (TN_Task.Z_TYPE == 2) |
| | | { |
| | | url = Settings.tableUrls.Find(a => a.id == 7).url; |
| | | name = "YBK"; |
| | | } |
| | | else if (TN_Task.Z_TYPE == 5) |
| | | { |
| | | url = Settings.tableUrls.Find(a => a.id == 2).url; |
| | | name = "Mes"; |
| | | } |
| | | else |
| | | { |
| | | LogHelper.Info($"å®å
¨è¯·æ±ï¼ä»»å¡ç±»åé误,å½åä»»å¡ç±»å{TN_Task.Z_TYPE}"); |
| | | } |
| | | |
| | | if (!string.IsNullOrEmpty(url)) |
| | | { |
| | | TaskProcess.OperateReq(model, url, TN_Task, name); |