| | |
| | | |
| | | namespace HH.WCS.Mobox3.YNJT_BZP_GT.dispatch |
| | | { |
| | | internal class WMSDispatch |
| | | public class WMSDispatch |
| | | { |
| | | private static readonly HttpHelper apiHelper = new HttpHelper(); |
| | | private static readonly string baseUrl = Settings.WMSSeverUrl; |
| | |
| | | var msg = ""; |
| | | bool bo = false; |
| | | var request = JsonConvert.SerializeObject(model); |
| | | var response = apiHelper.Post(baseUrl + "/api/Wms/recordDataSynTime", request); |
| | | var response = apiHelper.Post(baseUrl + "/api/Wms/synUpdateMatlTimeConfig", request); |
| | | msg = $"[synUpdateMatlTimeConfig] request={request} response={response}"; |
| | | Console.WriteLine(msg); |
| | | LogHelper.Info(msg, "WMS"); |
| | |
| | | public class SynDataTimeRecord |
| | | { |
| | | public string S_SYN_TIME { get; set; } // 同步时间 |
| | | public int N_SYN_NUM { get; set; } // 同步数量 |
| | | public string RECORD_TABLE { get; set; } // 1.物料条码记录表 2.胚胎条码状态表 |
| | | |
| | | } |
| | |
| | | |
| | | public class SynMatlInformationModel |
| | | { |
| | | public List<MaltInformation> matlInformationList { get; set; } |
| | | public List<MatlInformation> matlInformationList { get; set; } |
| | | } |
| | | } |
| | | } |