| | |
| | | Boolean inkageEntity = s7DataZKDLPOne.getMesControl(); |
| | | jsonObject.append("inkageEntity", inkageEntity); |
| | | //进片请求 |
| | | String requestEntity = s7DataZKDLPOne.getRequestMes().toString(); |
| | | Integer requestEntity = s7DataZKDLPOne.getRequestMes(); |
| | | jsonObject.append("requestEntity", requestEntity); |
| | | //启动命令 |
| | | String mesReplyEntity = s7DataZKDLPOne.getMesReply().toString(); |
| | | Integer mesReplyEntity = s7DataZKDLPOne.getMesReply(); |
| | | jsonObject.append("mesReplyEntity", mesReplyEntity); |
| | | //出片联机 |
| | | String outInkageEntity = s7DataZKDLPTwo.getMesControl().toString(); |
| | | Boolean outInkageEntity = s7DataZKDLPTwo.getMesControl(); |
| | | jsonObject.append("outInkageEntity", outInkageEntity); |
| | | //出片请求 |
| | | String outRequestEntity = s7DataZKDLPTwo.getRequestMes().toString(); |
| | | jsonObject.append("outInkageEntity", outInkageEntity); |
| | | Integer outRequestEntity = s7DataZKDLPTwo.getRequestMes(); |
| | | jsonObject.append("outRequestEntity", outRequestEntity); |
| | | //930空闲信号 |
| | | jsonObject.append("freeOneRequestEntity", CMJ1ModbusTcp.readUInt16(42027 - offset)); |
| | | //931空闲信号 |
| | |
| | | jsonObject.append("bigStorageCageUsageSummary", bigStorageCageUsageSummary); |
| | | |
| | | //缺片详情 |
| | | List<LackDetailsDTO> lackDetailsList = hollowGlassRelationInfoService.queryLackByFlowCard(); |
| | | List<LackDetailsDTO> lackDetailsList = hollowGlassRelationInfoService.queryAllLackByFlowCard(); |
| | | jsonObject.append("lackDetailsList", lackDetailsList); |
| | | |
| | | jsonObject.append("alarmInfo", productAlarmInfoService.list(new LambdaQueryWrapper<ProductAlarmInfo>() |
| | | .eq(ProductAlarmInfo::getState, Const.LOAD_RAW_GLASS_NEW) |
| | | .eq(ProductAlarmInfo::getAlarmModule, ALARM_MODULE) |
| | | .eq(ProductAlarmInfo::getAlarmType, ALARM_TYPE) |
| | | .eq(ProductAlarmInfo::getAlarmCode, ALARM_CODE))); |
| | | .eq(ProductAlarmInfo::getAlarmType, ALARM_TYPE))); |
| | | } |
| | | |
| | | @Scheduled(fixedDelay = 1000) |