| | |
| | | import com.mes.engineering.entity.Engineering; |
| | | import com.mes.engineering.service.EngineeringService; |
| | | import com.mes.largenscreen.entity.DailyProductionVO; |
| | | import com.mes.largenscreen.entity.DateRequest; |
| | | import com.mes.largenscreen.service.LargenScreenService; |
| | | import com.mes.opctask.entity.EdgStorageDeviceTaskHistory; |
| | | import com.mes.opctask.service.EdgStorageDeviceTaskHistoryService; |
| | |
| | | } |
| | | } |
| | | |
| | | @Scheduled(fixedDelay = 30000) |
| | | @Scheduled(fixedDelay = 1000) |
| | | public void querySameDayProductionTask() { |
| | | JSONObject jsonObject = new JSONObject(); |
| | | DailyProductionVO productionVO = largenScreenService.querySameDayProduction(null); |
| | | DailyProductionVO productionVO = largenScreenService.querySameDayProduction(new DateRequest()); |
| | | jsonObject.append("productionVO", productionVO); |
| | | |
| | | ArrayList<WebSocketServer> sendwServer = WebSocketServer.sessionMap.get("largenScreenProduction"); |