| | |
| | | using WIDESEA_Core.Const; |
| | | using WIDESEA_Core.Helper; |
| | | using WIDESEA_DTO; |
| | | using WIDESEA_Model.Models; |
| | | using WIDESEA_RecordService; |
| | | using WIDESEA_StorageBasicRepository; |
| | | |
| | | namespace WIDESEA_StoragIntegrationServices |
| | |
| | | PassPointInfo passPoint = new PassPointInfo() |
| | | { |
| | | union_key = Guid.NewGuid().ToString(), |
| | | line_code = stationInfo.stationEquipMES, //todo éæ¿æ¢æç¹ä½ä¿¡æ¯æ¶å¯¹åºMESç¹ä½ |
| | | line_code = stationInfo.stationEquipMES, |
| | | message_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"), |
| | | plant_code = "1052", |
| | | pvi = json.PVI, |
| | |
| | | pass_time = DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") |
| | | }; |
| | | |
| | | //è®°å½è¯·æ±MESè¿ç¹ä¿¡æ¯ |
| | | _passPointRecordService.AddPassPointRecord(passPoint, json); |
| | | |
| | | var MESrespon = HttpHelper.PostAsync(wmsIpAddress, passPoint.ToJson(), contentType, headers).Result; |
| | | |
| | | MesResponse responseContent = JsonConvert.DeserializeObject<MesResponse>(MESrespon.ToString()); |