| | |
| | | |
| | | // 新增一条污染线索 |
| | | fun addClue(pollutedClue: PollutedClue) { |
| | | clueList.add(pollutedClue) |
| | | // 当溯源未找到风险源时,此次溯源信息不作为线索统计项 |
| | | if (pollutedClue.pollutedSource?.sceneList?.isNotEmpty() == true) |
| | | clueList.add(pollutedClue) |
| | | // realTimeSummary() |
| | | analysisOnClueCount() |
| | | } |
| | | |
| | | // 新增一条污染线索 |
| | | fun addClueList(pollutedClues: List<PollutedClue>) { |
| | | pollutedClues.forEach { addClue(it) } |
| | | } |
| | | |
| | | // 刷新当前最新的走航监测数据 |
| | |
| | | |
| | | // 建议的走航路线 |
| | | result.direction = AMapService.directionDriving(origin, destination) |
| | | Thread.sleep(200) |
| | | } |
| | | // 线索分析完成后,移动至历史线索列表 |
| | | historyClueList.addAll(clueList) |