| | |
| | | import org.springblade.jfpt.equipment.service.IEquipmentService; |
| | | import org.springblade.jfpt.operation.service.IOperationService; |
| | | import org.springblade.jfpt.operation.vo.OperationVO; |
| | | import org.springblade.jfpt.webscoket.service.IPushMsgService; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | |
| | | |
| | | @Autowired |
| | | private IAlarmService alarmService; |
| | | |
| | | @Autowired |
| | | private IPushMsgService pushMsgService; |
| | | |
| | | @Autowired |
| | | private IOperationService operationService; |
| | |
| | | operation.setZc("接警"); |
| | | operation.setZctime(alarm.getJjTime()); |
| | | serverHandler.operationService.save(operation); |
| | | |
| | | //通过websocket给前端接警员发送信息 |
| | | //serverHandler.pushMsgService.pushMsg(alarm.getAlarmId(), alarm.getId().toString()); |
| | | } |
| | | |
| | | outData.add("LEOK#@"); |