| | |
| | | import com.ruoyi.system.service.ISysConfigService; |
| | | import com.ruoyi.utils.tube.GeoPoint; |
| | | import com.ruoyi.utils.tube.TubeTools; |
| | | import com.ruoyi.utils.websocket.util.WebSocketUtils; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.scheduling.annotation.Async; |
| | | import org.springframework.stereotype.Service; |
| | |
| | | String alarmpointName = ardAlarmRadar.getName();//兴趣点名称 |
| | | ArdAlarmpointsWell well = ardAlarmpointsWellMapper.selectArdAlarmpointsWellByWellId(alarmpointName); |
| | | if (well == null) { |
| | | Map<String, Object> map = new HashMap<>(); |
| | | map.put("80000", alarmpointName); |
| | | WebSocketUtils.sendMessageAll(map); |
| | | String filePath = ARDConfig.getDownloadPath() + "noExistWell.txt"; |
| | | writeStringToFile(alarmpointName, filePath); |
| | | continue; |