| | |
| | | |
| | | string paprm = JsonConvert.SerializeObject(mesRequest); |
| | | Guid guid = System.Guid.NewGuid(); |
| | | |
| | | Log4NetHelper.WriteInfoLog(_logType, $"{funName},准备参数:{paprm}"); |
| | | //模拟 |
| | | if (Form1.isvirtual) |
| | | {//模拟环境 |
| | |
| | | } |
| | | else |
| | | { |
| | | res = JsonConvert.DeserializeObject<ApiResponse<object>>(mes_api.postContentForString("T_WMS_Realtime_Data", paprm, guid)); |
| | | var resStr = mes_api.postContentForString("T_WMS_Realtime_Data", paprm, guid); |
| | | Log4NetHelper.WriteInfoLog(_logType, $"{funName},结果返回:{resStr}"); |
| | | res = JsonConvert.DeserializeObject<ApiResponse<object>>(resStr); |
| | | } |
| | | |
| | | |